jql query for issues in sprint


I'm trying to figure out the query to get the issues in a sprint on a date

I tried sprint = 14 AND status was not EMPTY on "2015/07/03" ORDER BY key ASC



But it doesn't return issues that were in the sprint on that date.

Is there another field I can use that supports history?  It doesn't work with the sprint field.

Screen Shot 2015-07-29 at 11.18.59 AM.png

Note we are trying to build a burn down chart with multiple status so we can see the stories that verified

Our work flow is to do => in progress => verified (on staging) => deployed (to prod)

Screen Shot 2015-07-29 at 11.44.32 AM.png

So our burn down tends to have the cliff at the end of the sprint.




3 answers

This widget could not be displayed.

I'm afraid not, the "was" function only works on a handful of fields, and sprint is not (yet) one of them.

Maybe I could try pulling the history for each issue to see when it got added and removed from a sprint? That seems kind of "heavy handed" but I guess that would work?

This widget could not be displayed.

As Nic mentioned this, unfortunately, can't be done.

Perhaps using Script runner or something similar it would be possible to get this information, but since none of this add-ons can be installed, or are available to JIRA Cloud, there's no way to get the results you want.

Hope this helps!


I guess we could run a query every day to grab a "snapshot" and total the points?

This widget could not be displayed.

A new status, call it Never-Use, could be created.


The query becomes

sprint=14 and status was not Never-Use on "2015/07/03ORDER BY key ASC

This should work.

Update: This query, like EMPTY, always returns 118 stories regardless of the date. Looks like 'NOT' does not behave as expected here.  Looked good in theory.

sprint=14 and status was not Backlog on "2015/07/03"


Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 14 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

41 views 1 0
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