- 
    Bug 
- 
    Resolution: Fixed
- 
    Low 
- 
    7.2.2, 7.3.1, 7.5.2, 7.6.9, 7.12.3
- 
        7.02
- 
        8
- 
        Severity 3 - Minor
- 
        6
- 
        
Steps to Reproduce:
- With JIRA installed, create more than 1000 users.
- To do so, we could use the plugins below:
- Then, search user using GET REST call below:
- For example:
http://10.60.2.88:8722/jira722/rest/api/2/user/search?startAt=0&maxResults=1000&username=""
- 1000 users will result from the call.
- Then, search for the rest of 1000 users (1000~2000), let us not use maxResults so the default number of result "50" is set.
http://10.60.2.88:8722/jira722/rest/api/2/user/search?startAt=1000&username=""
Expected Result:
- The response will show with user 1000~1050
Actual Result:
- Nothing is shown beside []
Notes:
- Try running the REST call like below and there will be only 1 user being shown where we expect another 50 more
http://10.60.2.88:8722/jira722/rest/api/2/user/search?startAt=999&username=""
Workaround
Crowd's REST API:
Documentation
- The end point is: <JIRA_URL>/rest/usermanagement/1/search?entity-type=user&start-index=0&max-results=100&expand=user
- Documentation: https://docs.atlassian.com/atlassian-crowd/3.3.0/REST/?_ga=2.127108104.420787522.1539346027-1959143659.1535621273#usermanagement/1/search-search
- Allowing connections to JIRA for user management
Steps
- Got to Cog icon > User management > Jira user server;
- Click the button + Add application;
- Enter the application name and password;
- Enter the IP address of the application;
- Click save;
- Use the following URL to pull the records
	- <JIRA_URL>/rest/usermanagement/1/search?entity-type=user&start-index=0&max-results=100&expand=user
 
- duplicates
- 
                    JRASERVER-65089 User search startAt parameter is not working -         
- Closed
 
-         
- relates to
- 
                    JSWSERVER-21156 API: Limited results with API GET request(1000 or 100) -         
- Closed
 
-         
- is mentioned by
- 
                    PSR-190 Loading... 
- mentioned in
- 
                    Page Loading...