Hi all,
I am trying to get only "To Do" issues in Jira. I am using below REST API command.
url ="https://domain_name.atlassian.net/rest/api/2/search?jql=project=JiraRest&status=TODO&maxResults=1000"
Unfortunately, it is giving all the jira issues,
Can anyone help me with this please?
Thanks in advance
Hi @kumar and welcome to the community,
You can '&status=To+do' in your query
Which should give you the output you requested.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this is the one I am using
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you enter the URL in your browser you should get the proper response.
E.g. this:
https://rudy.atlassian.net/rest/api/latest/search?jql=project=alpha&status=To+do&maxResults=100
Is working for me (I've limited to 100 results for speed).
{
"expand": "schema,names",
"startAt": 0,
"maxResults": 100,
"total": 93,
"issues": [{
...
}]
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.