Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.