I need advice about searching for issues in multiple sprints

I want to search for issues assigned to specific sprint (let's say sprint1), that are also assigned to any other sprints.

In JQL, sprint = sprint1 gives me the first part, but I can't seem to figure out any clever way to get the second.  Using sprint != sprint1 will just filter out all issues I wanted in the first place.  I know that if I specified which other sprints I wanted to see, it would work (sprint in (sprint1,sprint2,sprint3)), but I want to know if anyone has a method that would allow me to get the results without having to type out every possible other sprint?

I could see this also being useful for other fields like labels, but my current focus is on sprints.  Any tips or ideas would be greatly appreciated!

2 answers

This widget could not be displayed.

If you are looking for a generic query, something like this could work.

sprint in openSprints()

closedSprints or futureSprints can also be used in place of openSprints.

You can also use

sprint is not EMPTY

and club it with other JQL clauses.

Thanks for the reply! I tried using the open/closed/future before but found that I still don't quite get the solution I'm looking for in all cases.

If I want to find issues that are in sprint1 (a closed sprint) and also any open or future sprints, something like this will get the job done.

sprint = sprint1 AND sprint in (opensprints(),futuresprints())

 However, if  I want to find issues that are in sprint1 (a closed sprint) and also any other closed sprints in addition so sprint1,

sprint = sprint1 AND sprint in closedsprints()

 yeilds the same result as.

sprint = sprint1

 I think I can use excel on some exported information to get my answer, I was just hoping to find a clever way to do it in JIRA.

Sorry, I am confused. Do you mean the following?

sprint = Sprint1 OR sprint in closedSprints()

This widget could not be displayed.

How can an issue be in multiple sprints? That is not possible according to the documentation.

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

99 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