In "REST API - Find users", the result will return only 100 records in spite of specifying "maxResults=1000".

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 8.20.3, 8.21.0
    • Component/s: REST API
    • None
    • 8.2
    • 2
    • Severity 3 - Minor
    • 1

      Issue Summary

      In "REST API - Find users", the result will return only 100 records in spite of you specifying "maxResults=1000".
      The REST API doc says The maximum value of "maxResults" is 1000.

      Find users: GET /rest/user/search
      > maxResults
      > the maximum number of users to return (defaults to 50). The maximum allowed value is 1000. If you specify a value that is higher than this number, your search results will be truncated.

      1000 records will return in Jira 8.17.1, but only 100 records will return in Jira 8.21.0.

      This is reproducible on Data Center: yes

      Steps to Reproduce

      Expected Results

      • It returns 1000 results

      Actual Results

      • It returns only 100 results in Jira 8.21.0
      • In Jira 8.17.1, you can get 1000 results

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Note

      If any restriction added in Jira 8.21.0, the REST API doc should be fixed.

      Find users: GET /rest/user/search
      > maxResults
      > the maximum number of users to return (defaults to 50). The maximum allowed value is 1000. If you specify a value that is higher than this number, your search results will be truncated.

        1. jira-8171-result.png
          536 kB
          Ryoji Takata
        2. jira-8210-result.png
          563 kB
          Ryoji Takata

            Assignee:
            Unassigned
            Reporter:
            Ryoji Takata (Inactive)
            Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: