Output not showing all the results that are fetched using JQL query

Hi All,

My requirement is to get all the jira tickets for a period of particular time for all jira users of our project using java code. I have used com.atlassian.jira.rest.client.api.JiraRestClient for this and it worked well but the only arises now is that all the jira tickets are not displayed only the ones that can fit in a page are displayed ie: only 50 but rest are displayed although the query is giving around 133 tickets. Please help .

Kind regards,

1 answer

1 accepted

This widget could not be displayed.

hi Kaushnik, JIRA REST API services usually uses pagination by 50 by default. You can handle pagination. Check documentation and the section Pagination.


Hi Martin ,

Thanks for your active reply.
Can you please let me know what would be the java code to increase the default pagination .

My Code :
Promise<User> promise = client.getUserClient().getUser(JIRA_ADMIN_USERNAME);
            User user = promise.claim();

Promise<SearchResult> searchJqlPromise = client.getSearchClient().searchJql("project = Testproject)");

for (Issue issue : searchJqlPromise.claim().getIssues()) {

Kind regards,

Thanks working fine

you're welcome, can you accept the answer, please?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

528 views 23 15
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