Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-3006

'Change dashboard or filter ownership' conflates user names and user keys

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Minor
    • Resolution: Fixed
    • 5.4.28
    • 5.4.38
    • Built-in Scripts
    • None
    • 1.3

    Description

      To reproduce:

      • Create a user and then change their username.
      • Create a dashboard/filter under that user's ownership.
      • Go to the 'Change dashboard or filter ownership' built-in script and select the user as the 'From' user.

      Expected: The dashboards/filters list(s) will populate.

      Actual: Nothing is populated and there is a 500 error from the script's /params endpoint.

      The problem arises because the user select dropdown produces the user's key as its value, but the back-end script looks up user information by username. Usually these are the same but when they aren't it causes the error.

      Attachments

        Activity

          People

            jechlin Jamie Echlin
            jchoules Joanna Choules
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: