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

This widget could not be displayed.

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 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 Wednesday 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...

137 views 2 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