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

This widget could not be displayed.

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
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 Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

146 views 2 0
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