API to get the board for an issue

Tejas Shah March 26, 2018

Hi

 

I am trying to get the board id of the board for an issue. I have the issue key. How can query the jira rest api to get the board id for the issue.

 

Regards

Tejas

1 answer

1 accepted

0 votes
Answer accepted
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 26, 2018

The problem is that issue is not connected to a board. It is the board, which connects the issue by a JQL filter.

You can user Jira Software Api to iterate over all boards and then get issues for each board and search for the required issue

GET /rest/agile/1.0/board

GET /rest/agile/1.0/board/{boardId}/issue

Tejas Shah March 27, 2018

Thanks Alexey. I was hoping for an easier way to get this than to iterate the boards but I guess its the only option :)

Suggest an answer

Log in or Sign up to answer