JQL Sprint = "sprint 19" returns no results even though I have 30 issues with "Sprint 19" in the sprint field.

What I am trying to do is find all the issues with Sprint 19 in the Sprint field managed by GreenHopper.

I recieve no results when doing a JQL on [ Sprint = "sprint 19" ] and I get this "This query is too complex to display in Simple mode" even though I'm in advanced search.

Any thoughts?

Thanks!

1 answer

1 accepted

That's because the Sprint field is actually numeric. The name of the sprint that you configure on the rapid board and that you see in the Agile section of each individual JIRA issue is the alphanumeric text value. But the JQL 'sprint' query parameter expects a numeric value which is the actual value stored in JIRA. To find the numeric value, you need to 'hover your mouse' over the sprint name (like on an indiviaul issue), and see the URL being generated by JIRA. Somethign like... http://xxx/secure/GHGoToBoard.jspa?sprintId=1

Then query on this ID number at the end of the URL (sprint =1). In your case, if you only have 1 board and all sprints are named sequentially, then 'Sprint 19' may in fact equal 19 numerically (so your query would become Sprint=19). But if there are other boards with their own sprints, then it may not be. The bottom line is that sprints have textual names but behind the scenes JIRA /GH stores numeric sequential numbers across ALL sprints in GreenHopper.

Thanks Joanna! That did the trick. It took me a little bit to find a sprint link. (for others with this question) I found it in the bottom right corner of a detail view under the AGILE section of an issue in a current or past sprint.

Thanks for clarifying for me. The JQL now looks like this [ sprint = 10 ]

This worked perfectly for active sprints.

What about a future sprint that hasn't started yet? I can't seem to find a sprint ID for those.

Hi Nathan,

There is a story on the backlog for that feature: GHS-5773

Thanks,
Nicholas Muldoon

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,861 views 12 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