Get boards associated with issue using REST API or jira-python


Is there any way of retrieving on which boards an issue appears using either the REST API or jira-python? Basically we need to replicate the "View on board" functionality.

We are doing this because we need to retrieve the Sprint info for Sprints that the issue was removed from. For this, we are parsing the history log which only provides the Sprint name and id.

We need to retrieve the other Sprint info (endDate, closedDate, startDate) and for this we need the id of the board that the Sprint belongs to. I could retrieve all the boards from JIRA and for each of them check if they contain my Sprint but this would consume a lot of resources. If i knew only the boards associated with my current issue I could search for the sprint only in those boards.

Is this possible or should I think of a different approach?

If you have other suggestions for this use case, any suggestion is greatly appreaciated. Basically, givenm the issue and sprint id, can I retrieve all the sprint info without searching through all the boards in JIRA?

Thank you!

1 answer

1 accepted

0 votes
Accepted answer
Warren Levy Community Champion Jul 26, 2017

Hi Cristina

If I understand your question correctly, you know the sprint ID and want further info about the sprint?

The API call GET /rest/agile/1.0/sprint/{sprintId} will return all info about the sprint, given the sprint ID. See for further details.

Thank you, this was exactly what i needed

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

937 views 3 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you