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

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"); })

No such icon in the Backlog view, sorry.

Which version are you using?

0 vote

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.

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 2 hours ago in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

13 views 0 3
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