Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-73290

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              mknox@atlassian.com Matthew 𝓭𝓻𝓴𝓷𝓸 Knox (Inactive)
              cfraga Caio
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: