Display 'Issues Not Completed' for a sprint

Within the issue query window, is it possible to display issues that were in a sprint but not completed?

You can see a distinction between what was and wasn't completed within a sprint report (in Greenhopper), but I was wondering whether there is a way to get hold of this distinction in JQL?

4 answers

1 accepted

The reason I required the JQL to do this, was to feed the results back to my project pages with Confluence via the JIRA Issues Macro.

Instead, I am just linking to the relevant Sprint Report in Greenhopper now (from Confluence), as this gives me the information I need.

0 vote
Richie Gee Atlassian Team Apr 17, 2013

Hi there,

If you are able to get hold of the sprint number that the issues are in, you can actually run the JQL something like the one shown below to get the results you required.

project = TEST AND sprint = 2 AND status != Closed

The sprint number can be viewed from the issue viewing screen under the Agile Tab, highlight the link of the Sprint name and you will noticed something like the address below:

http://localhost:8528/secure/GHGoToBoard.jspa?sprintId=2

So for this case, the ID will be 2.

Hope this helps :)

The JQL you suggest would work at the moment, however if I was to look back at the project (in a number of months) the JQL would be inaccurate as the issues may well be closed now, but not have been closed during that sprint.

Sure enough there was one: https://jira.atlassian.com/browse/GHS-5773.

And good news is it seems to be coming in 6 months. Nice!

We have the same issue as mentioned above by Steve, down to the need to report in Confluence. What is needed is jql function similar to 'earliestunreleasedversion()' for sprints.

Something like 'earliestopensprints()' would work (following suit from the currently available opensprints() function). Will check jira.atlassian.com and see if there is a feature request for this and vote it up :)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

773 views 2 19
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