Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

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

@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:

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
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

55 views 0 3
Read article

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