-
Bug
-
Resolution: Fixed
-
Low
-
None
-
2
-
Severity 3 - Minor
-
Issue Summary
Currently, if you have a high number of users and try to query them using the /rest/api/3/users with pagination, you may find that some users appear to be duplicated or missing.
The reason for this behavior is lack of ordering in the output, for each page the database is free to return results in any order, and then return the page, which may cause the behavior described.
Steps to Reproduce
- Suppose you have 200 users and you want to find User A
- Query users with the /rest/api/3/users endpoint while setting maxResults to a number that could give you at least two or three pages of results
Expected Results
User A will appear exactly one time on one of the pages
Actual Results
- Possible Result #1: User A will not appear on any of the pages
- Possible Result #2: User A will appear exactly one time on more than one pages
- Possible Result #3: User A will appear exactly one time on one of the pages
Workaround
User a higher number of maxResults in order to eliminate the need for pagination. (This may not be possible in some cases)
- relates to
-
JRACLOUD-77939 Users rest endpoint returns more results than the user management
- Closed
-
GORDIAN-894 Loading...