The "rest/api/search/user" API doesn't return any value above 9999 count

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • Component/s: User - API
    • None
    • 6
    • Severity 3 - Minor
    • 1

      Issue Summary

      When using the REST API endpoint to get the users on the Confluence site, it doesn't return any value above 9998 count

      Steps to Reproduce

      1. Have a site that has more than 9999 users
      2. Execute the below GET endpoint
        https://site.atlassian.net/wiki/rest/api/search/user?cql=type=user&start=9999&limit=100
        

      Expected Results

      The user/s (from the starting index of 9999) returned by the API.

      Actual Results

      The result after executing the endpoint:

      {
          "statusCode": 500,
          "data": {
              "authorized": true,
              "valid": true,
              "errors": [],
              "successful": true
          },
          "message": "com.atlassian.confluence.api.service.exceptions.ServiceException: Exception executing cql as async search: "
      }
      

      Workaround

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

            Assignee:
            Unassigned
            Reporter:
            Joshua T (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: