The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL ideas: tasks that has been in more than one sprint

Gonzalo Fernández Durán
Contributor
September 8, 2020

Hi community,

 

i would be very thankful if somebody could help me with some ideas about a JQL filtre that i am trying to build. I need issues that has been in more than one sprint. i am using the sprint default value, but probably i´d need to create a custom field in order to count sprints...

 

Thanks a lot!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Ste Wright
Community Champion
September 8, 2020

Hi @Gonzalo Fernández Durán 

It depends on the need.

----------------

If you're looking for open issues which were in a closed sprint - and are in an open or future sprint, you can do this via JQL:

Sprint in closedSprints() AND (Sprint in openSprints() OR Sprint in futureSprints())

----------------

If you're just looking for any issues which are or were in more than one sprint, I'd advise using a scripting app - such as Scriptrunner - to created a scripted field, to count the number of sprints an issue has listed against it.

You could then use JQL to search against the counter, to see issues in >1 sprints.

Ste