Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

List of issues from a specific board with a specific status

Hi 
I am I'm a bit new to JIRA and I want to get a list of all the Issues in a specific JIRA board with a specific status( To do, In Progress, or both) using an API
I've tried some of the APIs and found one to get the issues but I haven't been able to get issues with a specific status.

https://<domain-name>.atlassian.net/rest/agile/1.0/board/<board-id>/issue?jql=ORDER%20BY%20Created&maxResults=100&name=To Do

Does anyone know how I can get issues with a specific status?

Thanks in advance✌

1 answer

The easiest way is to build your query first in JQL using the web UI then switch to using REST once the query is good.  Go to the "Filters" bar at the top and click "Advanced issue search" (last option on the drop down).  To make it even easier, you can click "Switch to basic" on the right of the search bar, which will then let you construct a filter by project/status/etc.  When it's looking ok then click the "Switch to JQL" (right of search again) and you'll see the query.  

Quick JQL primer:-

You can either filter on a field by using =, != (not equals), etc or you can select a list of states you care about by saying something like "status in (To do, Ready for Dev)" or "type not in (Epic, Sub-task)".  You can use AND and OR.  There's also useful things like openSprints() so you can say something like:

type not in (epic, bug) AND sprint in openSprints() order by created DESC

(so we're interested in anything that isn't a bug or epic, that is in an active sprint, and then we order the response by the created date in descending order).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events