I am using Jira REST API to get all the Issues in Jira for a specific Project. I don't want to have maxResults=50
, which is the default. I just want to retrieve all issues for the project. Here is my command:
{ my $result = `curl -D- -u $usernameData:$passwordData -X GET -H "Content-Type: application/json" "http://jira.alm.mentorg.com:8080/rest/api/2/search?jql=project=HDS&maxResults=1000&fields=summary"`;}
I set maxResults=1000
and if I remove it, it will be set by default to 50! I just want to get all the Issues without having to worry about the maxResults. Can anyone help me with that?
Select Search in the navigation bar (or press / on your keyboard). Choose from recent items or type to search. Optionally, filter the search results by choosing a project or issue assignee. Select an item or continue to Advanced issue search (press enter on your keyboard).
Search for issues For more complex searches across multiple projects, use the issue search function. In this example, we'll search for all unresolved issues assigned to you. Select Filters and click a filter or choose Advanced issue search. The search results refresh when you select new criteria.
http://jira.alm.mentorg.com:8080/rest/api/2/search?jql=project=HDS&maxResults=0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With