Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Filter Issues by Board with JQL

Nick Treskin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 20, 2021

Hello, i'm developnig a mobile application for our company Jira and i have a problem in getting issues by desc.

Case: i want to get all issues for a specific board with specific status. I tried to use something like this - {address}/rest/api/2/search?jql=status="To Do" AND boardId=123

But Issue don't have fields like 'board' or 'boardId'.

It works for project instead of board just fine though.

I also tried to use REST method - {address}/rest/agile/1.0/board/123/issue but i can't figure out how to add status filter to this (if this possible).

So i want to know is there any possible way to get issues of specific status for specific board? It seems so simple, but i must be missing something.

1 answer

0 votes
Trudy Claspill
Community Champion
May 20, 2021

Hello @Nick Treskin 

Welcome to the community.

What I would suggest is that you get the filter used by the board, and use that as part of the filter for retrieving the issues. Add to that filter the additional criteria you want to apply for Status.

Issues can, in fact, appear on multiple boards. Boards are just a method to visualize and manipulate the data. And the filter for a board can change at any time, which would change the issues that appear on the board. Trying to create and maintain direct links between issues and boards would be problematic at best.

Suggest an answer

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

Atlassian Community Events