Hello,
I'm trying to get records through REST API from parameter "startAt=999&maxResults=1500" like this.
But when I change to "startAt=0&maxResults=1000", I'm getting only 1000 records, it not searching beyond 1000 when increase maxResult value. Because in our JIRA we have more than 1000 users exist, so we want all the users record.
Does any one know that what is the maximum indexing search limit through above mention parameters or its a JIRA indexing limit.
Thanks.
Manu.
Hi Manu,
You can fetch maximum 1000 records from JIRA at a time in most of the APIs and not more than that. Consider this API, which returns 50 by default but maximum 1000, so, even if you supply value > 1000 you will get 1000 only.
You have to call service multiple times to fetch all the data,
For example, if you have 2560 users,
Basically, if you get result less than 1000 you must be on last page or you don't need to call this API again. There are some other REST services are also there which returns total count in first page which can be used to decide number of calls to be performed to get all items.
Hope this helps.
Thanks.
Thanks Aakash for the information, we got your point, but our way of looking to get the records through a single time, looks like it's not possible, so any way let me see what other method is feasible for us.
Thanks once again!
- Manu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.