Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,259
Community Members
 
Community Events
168
Community Groups

how can i get the specific issue belongs to which board using API

I have a list of issues which i got by calling the search API, how can i get the link b/w these issues and boards in a particular Jira Project.

2 answers

0 votes

@Ravi Gupta I believe since you can search an issue, you can get the sprint name, sprint id and boardid from the response. Then you can use that data gotten to extract more info on which boards those issue belong to by using the get issues for board endpoint, since you can identify a board id.

0 votes

You need to think slightly differently to what you've said there.  Issues do not belong to a board.  They are selected by a board.  The difference is important because you need to understand that boards are not issues containers (projects contain issues), they are views of a selection of issues.

It is hard to ask "what board is an issue shown on" because the issue is not part of a board, and has no data to say "I am on boards x, y and z".

You can easily go the other way though, and ask "what issues are on a board", as the board knows what it is selecting for. 

I'm not sure which of these might be best for you:

https://developer.atlassian.com/cloud/jira/software/rest/api-group-board/#api-agile-1-0-board-boardid-backlog-get

https://developer.atlassian.com/cloud/jira/software/rest/api-group-board/#api-agile-1-0-board-boardid-epic-epicid-issue-get

https://developer.atlassian.com/cloud/jira/software/rest/api-group-board/#api-agile-1-0-board-boardid-sprint-sprintid-issue-get

You'll see they're all on the same page of the docs and there are more calls that might help explained on the left.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

190 views 1 6
Read article

Atlassian Community Events