Can you please suggest a way to curl for Jira cards with a specific status?
Hello Vamsee and welcome to the Community!
Using cURL to get data from Jira is straight forward. If you want to get an issue(s) within a set status you just have to apply some JQL to your URL. Here is an example:
Request data from Jira
Project is STUFF
Status of (New, Doing, Done)
https://Jira.Something.Com/rest/api/2/search?jql=project=STUFF+AND+(status=New+OR+status=Doing+OR+status=Done)
The full cURL syntax will look like this
curl -u user:token -X GET https://Jira.Something.Com/rest/api/2/search?jql=project=STUFF+AND+(status=New+OR+status=Doing+OR+status=Done)
Here is further information on Jira JQL, Advanced searching.
I hope this information proves helpful and you're able to get to the data you need.
Regards,
Stephen Sifers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.