How to increase the number of filter results use the jira-python REST client

Greg Warner April 14, 2014

I'm using the jira-python client to retrieve issues. The project I query has 12600 issues.

when I do

search_results = jira.search_issues('project = xxx AND status in (Resolved)')

I get back exactly 50 results, but when using JIRA, I get 1000's more. So to me would be some sort of limit set somewhere for REST queries. How can I increase that limit?

thanks

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Shun Hirayanagi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 14, 2014

The jira-python document says that maxResults=50 as default. Please try specifying maxResult=1000.

http://jira-python.readthedocs.org/en/latest/#jira.client.JIRA.search_issues

Greg Warner April 21, 2014

How did I miss that. Thanks!

TAGS
AUG Leaders

Atlassian Community Events