How do I know the sprint ID number of a CURRENT sprint?

Is there anywhere that this is actually visible? I need the ID to fit into Filter search criteria.

 

I just need a report other than the Active Sprint columns, where I get an easily read list of all the tasks in a specific Sprint.

4 answers

This widget could not be displayed.

There might exist multiple active sprints. Try

sprint in openSprints()

See https://confluence.atlassian.com/jira/advanced-searching-functions-338363497.html#AdvancedSearchingFunctions-openSprints()

You can also write

sprint in (56)

or

sprint in (55,56)

where 55 and 56 are Sprint IDs. To get to know the ID of a sprint, you have two options:

  • Since Sprint ID is just a hidden custom field, you can export an issue that you know it belongs to the Sprint you need and export it as XML, then look for <customfield id="customfield_xxxxx" key="com.pyxis.greenhopper.jira:gh-sprint"> in the XML. The Sprint ID will be stored here.
  • When you are in JIRA Agile Backlog view, open up your browser's console (press F12 in Chrome or Firefox) and run this code in the Console tab:

    $=AJS.$;$.map($(".ghx-sprint-group &gt; div"), function(sprint) { return $(sprint).find(".ghx-name").text() + " -&gt; ID=" + $(sprint).data("sprint-id"); })



    If you only need the active sprints, run this:

    $=AJS.$;$.map($(".ghx-sprint-group &gt; div.ghx-sprint-active"), function(sprint) { return $(sprint).find(".ghx-name").text() + " -&gt; ID=" + $(sprint).data("sprint-id"); })
This widget could not be displayed.

No such icon in the Backlog view, sorry.

Which version are you using?

This widget could not be displayed.

In the "Backlog" view, you will find an option to "View in Issue Navigator" along side the sprint name. It is a small icon with 3 small dashes and a rectangle.

When you click on it, it takes you to the issue navigator and the query will have the correct sprint id in it.

This widget could not be displayed.

Gabor,

 

I need the sprint ID number.

Please look at my edited answer above. If you need more info, please add it as a comment to that post.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

218 views 1 3
Join discussion

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