JQL to return stories and the latest spring they are in

We have many stories that were carried over between sprints. I wonder if there is an option how to get only the latest sprint a story was in? I mean, if the story was in A, B and C, I would need the query to return only C.

1 answer

Are you using JIRA Server or Cloud?

If you are using JIRA server you could add a SIL calculated field (https://confluence.kepler-rominfo.com/display/KCF/SIL+Script+Custom+Field) and filter the values from the sprint field in a loop checking if they are active and/or for the latest end date (https://confluence.kepler-rominfo.com/display/JJUPIN/sprintEndDate).

Do you know the JQL "sprint in openSprints()" to return only issues which are in a currently active sprint?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

181 views 1 17
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