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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
This widget could not be displayed.
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you