When trying to query the users on people page a error message is displayed

XMLWordPrintable

    • 5
    • Minor
    • 1

      Issue Summary

      When attempting to query users on the People page, an error is encountered upon navigating to page 96 in projects with a large user base.

      Steps to Reproduce

      1. In a Jira project with more than 2,000 users listed on the People page
      1. Observe the error that appears when attempting to load this page "Something's gone wrong. A problem prevented the page from loading. Refresh and try again"

      Expected Results and Long-Term Solution

      All users listed under the People page should be displayed, regardless of the total number of users in the project

      Short-Term Solution

      To mitigate user confusion, improve the customer-facing error message. Instead of a generic "Something went wrong" message, the UI will advise users to apply additional filters or use the search bar to narrow down results and locate specific users or organisations.

      Actual Results

      The message below is displayed:

      The request response shows the message below:

      {"errors":[{"message":"Total actors cannot be more than 2000","locations":[{"line":2,"column":3}],"extensions":{"classification":"DataFetchingException"}}],"data":{"projectActors":null}}  

      Notes

      It's possible to see a similar result on the customer’s page. But a message stating “We can't load any more results. Use the search bar to find the customers or organizations you're looking for" is shown.

      Workaround

      1. Advise users to apply additional filters or use the search bar to narrow down results and locate specific users or organisations.
      2. Use API to list all the actors of a project rule or search for an individual user: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-roles/#api-rest-api-3-project-projectidorkey-role-id-get

              Assignee:
              Unassigned
              Reporter:
              Nataniel Rocha
              Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: