Search user REST API (/rest/api/3/user/search) does not return more than 100 users

XMLWordPrintable

    • 3
    • Severity 3 - Minor

      Issue Summary

      Using maxResults parameter in search user REST API does not extend the results to more than 100 users. The default is 50 and maxResults works for up to 1000 results.

      Steps to Reproduce

      1. Have more than 100 users in the instance
      2. Run the following cURL command:
        curl --request GET \
          --url 'https://<instance-name>.atlassian.net/rest/api/3/user/search?username=&startAt=0&maxResults=1000' \
          --header 'Authorization: Bearer <access_token>' \
          --header 'Accept: application/json'
        

      Expected Results

      Get more than 100 users

      Actual Results

      Only the first 100 users are returned.

      Workaround

      Currently, there is no workaround for this. We update the ticket once we have more information.

            Assignee:
            Matthew 𝓭𝓻𝓴𝓷𝓸 Knox (Inactive)
            Reporter:
            Caio (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: