How to search issues from specific Sprint

Hi,

we use jira + GH (new Scrum Boards).

How do I search for issue (in jira) for all issues under a specific Sprint?

Thanks,

Janiv

6 answers

1 accepted

Hi Janiv,

to find issues from a specific sprint, you have to add one of the following to your JQL query:

sprint = ID
For this you have to know the ID (not name) of your sprint.
In order to find the Sprint ID you could either view an issue of that sprint in XML view (where all fields are displayed, SRINTID is just a hidden field) or hoover (not click) your mouse over the displayed sprint in the view issue screen, section "Agile", Value "Active Sprint".

Thanks, how do I know the sprint number?

as pointed out above. I edited the post to highlight possible ways.

Thanks and sorry (I did not notice the edit as I read from the mail notification),

janiv.

you're welcome, allways glad to help :)

See Bills answer for an easy general way of discovering sprintid.

8 votes
Eddie Webb Community Champion Nov 02, 2012

You can always find issues in the current sprint by using the dynamic value "sprint in openSprints() " or find previous sprints with "sprint in closedSprints()" Use a "project in (....)" based on the filter used for your scrum board to get the perfect match. (I suggest just modifying the filter used for the scrum baord, adding the "sprint in openSprints()" and saving as a new filter.

sprint in openSprints()

To find issues in a particular sprint that is not active, just view the sprint report and follow the link "view <SPRINT FOO> in Issue Navigator"

Hi

If I want to use the method "closedSprint()" but I want to see the last 3 closedSprints can I use closedSprints(-3) ?

Another way is to start typing. The drop down will show the title. Choose one and the correct sprintid is inserted...

becomes...

This would make a nice confluence macro (or enhancement).

Thank you for this! The other ways of discovering sprintid are just plain silly compared to this.

It appears that there's a bug that now "Sprint in (opensprints()) isn't working? I'm using JIRA 5.1.1 and GH 6.1.3.1

0 vote
Eddie Webb Community Champion Feb 08, 2013

I understand your frustration, but this is not an answer. Please comment on the original question or answer instead.

Make sure you are using proper case for the function openSprints()

What Eddie says is partially right and very relevant, given the recommendation to use the openSprints() function in the answer. There is an existing bug https://jira.atlassian.com/browse/GHS-7659 related to the openSprints function throwing an error for non-admin users.

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 ...

3,307 views 14 20
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