It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

REST API for Jira issue for specific stage

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 Community Leader Jun 30, 2020

Hi @Baharul 

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 

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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you