REST API for Jira issue for specific stage

Deleted user June 30, 2020

Hi All,

In Jira do we have any REST API to get all Issue for a specific project which are in particular status .

Currently we are using like  https://<orgname>.atlassian.net/rest/agile/latest/board/\${JIRA_BOARD_ID}/issue which is extracting all issue for that particular project and then filtering for specific status like "Pending". This returning issue list is getting bigger day by day , so instead of getting all list can we apply that filter in API itself something like https://<orgname>.atlassian.net/rest/agile/latest/board/\${JIRA_BOARD_ID}/issue?status="Pending" ?

 

Please help if anyone have any workaround on this.

 

Thanks in advance.

 

1 answer

1 accepted

1 vote
Answer accepted
Warren
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 30, 2020

Hi @[deleted] 

Yes it is quite easy to do what you're after. Try

https://orgname.atlassian.net/rest/api/3/search?jql=project=ABC AND status=Pending

As you can see, you can use any JQL query that would normally work within Jira.

Just for completeness, here is the latest API documentation 

Deleted user June 30, 2020

Thanks @Warren , its perfectly works on my requirements.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events