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

Accessing the "Users and roles" page from a project can bring inconsistent results for roles with 50+ users

    XMLWordPrintable

Details

    Description

      Closed as a duplicate of (JRASERVER-76085) On "Users and roles" screen, the data of roles may be missing in some pages in search results.

      Issue Summary

      When accessing the "Users and roles" page from a project that contains at least one role with more than 50 users, Jira may not display all the roles from specific users. This appears to be happening because the following REST API call is executed when accessing a sample project:

      • /rest/projectconfig/latest/roles/TW?pageNumber=1&pageSize=50&query=

      It returns the first 50 users, in alphabetical order, from each role of the project. In this case, if a user is returned in the first 50 users from a specific role (Administrators, for example) but isn't returned in the first 50 users from another role (Developers, for example), that user will only appear as a member of the "Administrators" role.

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Create a sample project
      2. Add a single user to the "Administrators" role
      3. Add more than 50 users to the "Developers" role, including the single user that was added to the "Administrators" role, making sure that at least 50 users will be returned first in an alphabetical order
      4. Refresh the "Users and Roles" page

      Expected Results

      The related user will be displayed as a member of both "Administrators" and "Developers" roles.

      Actual Results

      The related user will be displayed as a member of the "Administrators" role:

      Workaround

      Restricting the search in the "Users and roles" page to return less than 50 users (searching directly for the affected users, for example) will ensure that all roles are correctly displayed:

      Attachments

        1. actual_results.png
          actual_results.png
          202 kB
        2. workaround.png
          workaround.png
          176 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rrosa@atlassian.com Rodrigo Rosa
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: