Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Jira Cloud Rest API - Search Method - maxResult issue

Roberto Arconada September 19, 2017

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

Comment

Log in or Sign up to comment
Roberto Arconada September 19, 2017

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 :(

TAGS
AUG Leaders

Atlassian Community Events