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

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

XMLWordPrintable

      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 100 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?maxResults=200&query' \
          --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.

              Unassigned Unassigned
              grahimi Yahya (Inactive)
              Votes:
              25 Vote for this issue
              Watchers:
              30 Start watching this issue

                Created:
                Updated:
                Resolved: