Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-77437

Show user full name for user picker feedback on screens

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • 8.22.6, 9.4.10, 9.13.1, 9.12.4
    • Issue - Fields
    • None

    Description

      For a specific scenario, where customers have multi-users selected in a multi-select user picker and some of them are not valid anymore, it can be hard for them to find which specific users are not valid.

      For example, when customers use IDs as usernames, the system will show it in the warning right below the affected field:

      One of the users is not valid anymore as now they are inactive. However, we cannot tell which one is not valid as it shows the username instead of the full name, and they don't match.

       

      Steps to reproduce:

      1. Create a user for testing proposes.
      2. Create a multi-user picker custom field.
      3. Apply this custom field to all projects and screens, to make it easier.
      4. Create a new issue and select this user in that multi-user picker field.
      5. Go to the project workflow, and add the resolution screen to the transition that leads to 'Done'.
      6. Inactivate this user.
      7. Transition the issue to Done, that will open the Resolution screen, with the multi-user custom field. 
      8. Try and set this case as Done, the transition will fail with the screen below:

      Please note Jira is referencing the affected user by its username, if you have multiple users, that can be hard to find which is which. Let me know if that makes sense.

      Workaround 1

      1. Access your user management page and search for the affected username. (required admin access)

      Workaround 2

      1. Open the developer console in your web browser
      2. Go to the network tab
      3. Select the Fetch/XHR filter
      4. Take action which leads to the error
      5. Search for the input with the name https:// jira_home/secure/CommentAssignIssue.jspa?atl_token=some_token in th developer console
      6. Go to the response tab
      7. Search for the error message in the response, for example "is not valid for this user picker."
      8. Right above you will have listed all the options for this custom field in the following form: "<option value="test1" selected="selected">test1 test1</option>" where the value="..." is the username and what's between the <option>...</option> tags is the user full name. 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              3645502bbf60 Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: