I am trying to analyze the processes in a project and want to get all the issues in it with Java.
Since the maximum amount of issues that is possible to get retrieved with a JQL is 1000 I am trying to write a loop to get them all.
Is there a way to get the number of issues in a project as an integer value? In the JIRA GUI, I can see this value, so it must be somewhere saved. If so I can use the Java REST API to retrieve it.
If not I will do it with a while-loop.
Found the answer I was looking for.
final SearchResult searchResult = restClient.getSearchClient().searchJql(...);
searchResult variable there is a property named total, so with a
I got the value I was looking for and will use it in a Do-While Loop.
Yes, in the response you can see parameters, like limit, start and isLast, and total of number issues.
You can play it by python.
Also, you can from your browser the result of pagination
hope it helps
Learn how to use two new reports for next-gen projects in Jira Cloud: Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events