1
votes

I currently trying to get the issues from JIRA via REST API via this:

curl -D- -u USERNAME -X GET -H "Content-Type: application/json" \
https://issues.apache.org/jira/rest/api/2/search? jql=project%20%3D%20MNG%20AND%20fixVersion%20%3D%203.4.0 \ 
-o release.json

But unfortunately i don't get all issues. Only 50 instead of 59. I already checked if all the issues have the correct fixVersion set to 3.4.0.

But via browser:

https://issues.apache.org/jira/issues/?jql=project%20%3D%20MNG%20AND%20fixVersion%20%3D%203.4.0

I got all the issues.

Do i oversight something ? Some idea hint ?

1
Maybe default pagination applied?Aleksey L.
Hm. ? Is that active on rest api ?khmarbaise
@AlekseyL. Thanks that helped.khmarbaise

1 Answers

1
votes

50 is a default value for "maxResults" parameter. Here's API documentation https://docs.atlassian.com/jira/REST/latest/#api/2/search-search