Is it possible to get a count of JIRA issues while bypassing the 1,000 records query limit? Edited

In a particular Project, we have 2K+ JIRA tickets.

I know I can retrieve those in batches of 1,000 max; but is it possible to get the total count in a sigle API call?

I searched previous threads but couldn't find anything related to this.

Thanks a lot!

EDIT

Just to clarify: I'm OK retrieving tickets from the JIRA API in batches (in fact, I think that's the way one should do it).

The problem is there is no way to find out beforehand how many total tickets I will need to retrieve in said batches.

There are ways to ensure minimal number of API calls, but without knowing the total beforehand, it's not pretty.

1 answer

0 vote

Hi David,

This limitation is explained in Changing maxResults Parameter for JIRA REST API:

By default, both JIRA issue navigator and REST API cannot return more than a maximum of 1000 search results (regardless the value passed for the maxResults field in case of REST API calls).

There was a feature request for this behavior that you can find at JRACLOUD-45639.  Pleas vote on JRACLOUD-45639 and add your use case to the comments for impact.

Cheers,

Branden

Thanks Branden!

My question/problem is slightly different though (see my edit for more specific details).

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

187 views 1 17
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you