Forums

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

List Branches of Active Sprint

Stefan Poschenrieder
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!
March 12, 2024

Is there a jql query which gives me the list of branches which are used in the current sprint

I got this to get all stories with branches, but how do I get the branch itself?

<jira>/rest/api/2/search?jql=sprint=479 AND issuetype=Story AND development[branches].all > 0

1 answer

1 vote
Mikael Sandberg
Community Champion
March 12, 2024

Hi @Stefan Poschenrieder,

Welcome to Atlassian Community!

You cannot get this information from within Jira since it does not store the branch information within the issue, you would have to use the Bitbucket API, or whatever repository manager you are using, to get branches associated with your issues in the sprint. 

In a previous life I created a web app that did this search for me and created a report based on input data. 

Suggest an answer

Log in or Sign up to answer