How do I filter out Running Tickets and Future Sprints from an Issue Query?

I inherited an Excel application that accepts as input an HTML file downloaded from a JIRA Issues Query.  When the previous owner would run this process, one of the first things they did was to filter the Sprint column for Running Tickets and Future Sprints, delete those records, remove the filter, and move on.  The first thing I thought when I saw that was "Why can't we do that in the query?" ... so I tried it and added additional criteria to the query: ... and sprint not in ( <running tickets sprint #>, <future sprints sprint #>).  What I got was a really, really small subset of the ticktets that had passed through the rest of the criteria.


What I found out was that when I added the sprint numbers for Future Sprints and Running Tickets, the query excluded all tickets where the sprint was null - in addiiton to excluding all of the tickets that were assigned to a Future Sprint or were Running Tickets.


Can anyone explain why this is happening?  Does a ticket with no sprint automatically fit the definition of a Future Sprint, even if there is no sprint number associated with that ticket?


Many thanks.

0 answers

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

143 views 0 3
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