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 Sign up to comment
Community showcase
Published yesterday in Opsgenie

Getting the Most out of Atlassian and Opsgenie Together

We’re excited to invite you to this action-packed webinar where we will demonstrate how to integrate Opsgenie’s powerful alerting and on-call management tools with your entire Atlassian stack. Mar...

29 views 0 0
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