JQL - Specifying a sprint

I'm trying to write a query for an Agile board and want to specify that an issue needs to NOT be in a current sprint that has a certain name. It can have been in a closed sprint that had that name, but not a current sprint.

But if I use something like this:

sprint not in (sprint_name) AND sprint not in OpenSprints()

it doesn't work - it seems to treat that as:

any of the sprints the ticket has ever been in not in (sprint_name) and any of the sprints the ticket has ever been in not in OpenSprints()

which is not what I want. What I want is:

there is no sprint in which this ticket was that is both in (sprint_name) and in OpenSprints()

Any suggestions?

1 answer

0 vote

Create a filter like this:

sprint in (sprint_name) AND sprint in OpenSprints()

And then search like this:

filter != filter_that_you_created

Unfortunately that didn't work - it still excluded the ticket based on its previous sprint.

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,267 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