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

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.

No such icon in the Backlog view, sorry.

Which version are you using?

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,783 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot