maxResults not working in REST API

I set maxResults=1000 in myrequest:

requests.get('' % (jql, start_issue), auth=('user', 'password'))

but it always returns 50 issues no matter what I set it to. Any ideas why it's not working? When I do a search in the Jira gui when you start typing a keyword a popup appears with suggestions based on what you typed so far but nothing ever shows up for maxResults. does that mean that keyword is not available in my Jira instance?

1 answer

The maximum allowable value is dictated by the JIRA property ''. If you specify a value that is higher than this number, your search results will be truncated.

This can be set in the '' file.

My Jira admin told me he set = -1 too "get rid of search limit according to documentation". I don't see that anywhere in docs. Is that a legit value to set it to?

Hi rich,


Did setting to -1 worked?



Sarath S

HI, is it same for vba coding by just adding -1 then it will exceed the limit?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

155 views 0 6
Read article

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