Hi,
I am calling REST api to get all Issues for a particular projects .
Here is the result
You can see here i used maxResults = -1 to get the maximum number of issues but it returned only 100 but the total issues are showing as 20000 approx .
Now i changed maxResults = 1000
Still it is returning 100 in first result set.
Now i can use startAt and then call the api multiple times by giving startAt =100 and maxResults = 100 but since total issues are more than 20000 then to get all issues i have to call the api 200 times which is very difficult .
Is there any administrator settings for the maxResults so that i could set it for the maximum value.
Any suggestion will be appreciated .
Thanks
Hello @aagnihotri
The question about the 100 item limit for the Jira Cloud REST API's Issue search endpoint has been asked many, many, many times. A quick Google search for 'jira cloud rest api issue search 100 limit' will provide you with all the answers on the topic here in this forum and elsewhere.
The search results from Google will also provide references to JRACLOUD-67570 that explains Atlassian's decision on setting the limit, which in turn leads to JRACLOUD-67722 that is tracking interest on the request to increase the limit without resorting to paginating the results.
PS. Please don't paste screen grabs of code into your questions. They are images and can't be parsed and indexed for searching. Paste the actual code and format it as such.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.