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 votes

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
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

418 views 7 5
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