Forums

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

How to pull board ID for Kanban board in API?

Kelly_Barrantes
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!
July 1, 2024
Here are the approaches we have pursued to establish a linkage between Jira Issues and Kanban Boards:
1. Analyzing Jira Ticket Data:
   - We analyzed the Jira issue data to identify any information that could be used to link issues to Kanban boards. Unfortunately, we did not find any relevant information that could establish this relationship.
2. Using Board ID to Retrieve Related Issues:
   - We attempted to use the board ID of a Kanban board to retrieve all related issues. However, this approach resulted in fetching all tickets of a project, rather than just those related to the specific Kanban board.
Here's the API we utilized:
3. Exploring a Bridging Dataset:
   - We explored the possibility of finding a dataset that could serve as a bridge between issues and Kanban boards. Unfortunately, we were unable to identify such a dataset.
Despite our efforts, we have not yet established a programmatic method to link Jira issues with Kanban boards. We would greatly appreciate any insights or solutions you may have to help address this challenge. If there are any specific APIs, configurations, or data points that we might be overlooking, please do not hesitate to inform us.

1 answer

0 votes
Rebekka Heilmann (viadee)
Community Champion
July 1, 2024

Hi @Kelly_Barrantes and welcome to the Community!

Could you explain what exactly you are trying to achieve here?

Jira issues are not linked to a Kanban Board. Boards have a Board Filter and will show any issue that is returned by that filter. So in order to make an issue available on a board, you will either have to edit the Board's filter or the issue so it becomes part of the filter result.

Vivek Vadadoriya July 1, 2024

Hi @Rebekka Heilmann _viadee_,

Thanks for the quick response.

Our goal is to link Jira Issue Data with its associated board. We have three types of boards: Scrum, Kanban, and Simple.

We can link issues to Scrum board data via sprint data. For instance, if an issue is associated with a sprint, we obtain the sprint data, which includes the board ID of the Scrum board. This allows us to join the datasets.

However, for Kanban, we are unable to link issues with their related boards. We do not receive any relevant information in the issue data, nor can we find a bridge to connect these two datasets.

We attempted to fetch related issues of a Kanban board by passing the board ID, but instead of receiving related issues, we retrieved all issues of the project.

Is there a way to programmatically join issue data with Kanban board data?

Vivek Vadadoriya July 1, 2024
Is there a JQL query we can use to filter issues based on board number or name?
 
For example, we use:
project = "DCS", in the JQL query box to get all issues of the DCS project.
Rebekka Heilmann (viadee)
Community Champion
July 2, 2024

"However, for Kanban, we are unable to link issues with their related boards. We do not receive any relevant information in the issue data, nor can we find a bridge to connect these two datasets."

Correct. Like I said. There is no "connection" between the two other than the issues being returned by the filter. One issue can be shown on multiple Boards or none at all.


You can the Filter of the Board by pulling the Config: The Jira Software Cloud REST API (atlassian.com)

With the Filter ID you can access the Filter's JQL and with that find the issues:

The Jira Cloud platform REST API (atlassian.com)

The Jira Cloud platform REST API (atlassian.com)

 

However, there are also Requests that can pull any issue from a specific board with / without an Epic. That should give you the whole list also: The Jira Software Cloud REST API (atlassian.com)


Not sure what else you would need?

Vivek Vadadoriya July 2, 2024
 
I passed the board ID in the "Get configuration" endpoint and retrieved the filter ID. Then, I passed this filter ID in the "Get filter" endpoint and obtained the JQL. The final JQL for one board I got is "jql": "project = SASS ORDER BY Rank ASC"
 
This JQL is not helpful as it fetches all the issues of the project SASS. Is there any other way to get the related issues of a board?
Rebekka Heilmann (viadee)
Community Champion
July 2, 2024

These ARE the issues shown in that board! You obviously don't filter any further. The only thing that might be configured is that old issues are not shown, but they still are part of the Board nonetheless.

Honestly - you can ask another five times, the answer stays the same. Sorry ;) 

Like jeff.swerens likes this

Suggest an answer

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

Atlassian Community Events