I am trying to fetch all the issues using JIRA cloud REST API using JQL Query. I have set the field "maxResults" to 500. There are more than 500 issues in the jira. But it is always fetching max 100 issues.
docuemntation url: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-post
rest api : /rest/api/3/search
maxResults: 500
startAt:0..
But I am getting 100 results only always
Hi,
You can increase the maximum results beyond the default by adjusting the "maxResults" parameter, but it can't be set to an excessively high number. The maximum value appears to be 100, so you'll need to utilize pagination here.
Unfortunately, the only options are either to make multiple calls to the REST API or to create a script that iterates through all the chunks and merges them into a single result.
Pagination is necessary for improving performance and reducing load on servers by delivering the data in manageable smaller chunks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.