Jira Cloud Rest API - Search Method - maxResult issue Edited

What

From today when we call to search method (issues) in Cloud Rest API and we set maxResults=1000 (or other value greater than 100), system is always returning 100 issues.

Endpoint example

https://xxx.atlassian.net/rest/api/2/search?maxResults=1000&jql=project="YYY"+order+by+updated+asc

Response example

{
"expand": "schema,names",
"startAt": 0,
"maxResults": 100,
"total": 428,
"issues": [{...}]

}

Question

Is this a Jira REST API bug? or is a no documented change?

 

Thanks in advance!

1 comment

Jira Support answer: 

this change of behaviour is actually intended since calling searches with maxResults set to 1000 in some cases it was causing OOM errors and it was bringing down JIRA.

 

I don't understand how they can do something like that without any advise :(

Comment

Log in or Join to comment
Community showcase
Emilee Spencer
Published Friday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

67 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot