JIRA Software: How to search for a Sprint using JQL

Still need help?

The Atlassian Community is here for you.

Ask the community

How to search for issues in a Sprint using JQL

As of JIRA Agile v. 6.1.3 (now JIRA Software) you can search for a Sprint by name using JQL: Sprint = "MySprintName".

In versions prior to that you must search by Sprint ID number. More details on valid search syntax in JQL can be found here - Advanced searching.

Follow these steps to retrieve the Sprint number that a given issue is in:

  1. Go to an issue that has been assigned to the sprint and highlight over the Active Sprint: <sprint name>
  2. Look at the link that pops up in the lower left hand of the screen (Firefox) and the sprint number is the sprintID at the end of the string.
  3. Then in JQL use: Sprint=<sprintID>

Alternatively, to get the Sprint ID copy and paste the following in to the browser's developer tools console while you're on the Work mode of a Rapid Board:

javascript:alert("Sprint ID is " + jQuery("DD[data-sprint-id]").attr("data-sprint-id"))

(info) Use JavaScript below for earlier releases of JIRA Software:

javascript:alert("Sprint ID is " + jQuery("SPAN[data-sprint-id]").attr("data-sprint-id"))
Last modified on Feb 19, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.