-
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
- Step1: Make over 1000 users in Jira
- Step2: Make a request with REST API - Find users: GET /rest/user/search
- Step3: Check the response
Expected Results
- It returns 1000 results
Actual 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.