Need JQL to identify issues that were closed at the end of a sprint and reopened in the next sprint

Lorinda Quesenberry June 10, 2022

Is there a JQL that can identify stories that were closed at the end of  a sprint and reopened the following sprint??

1 answer

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 10, 2022

Maybe this gets you there. It ignores the sprint bit but displaying the sprint field might be sufficient.

status was done and status != done

now if you need to find situations where the issue is now closed (again), that is you want to find issues that are "reopened" but currently closed, then I suggest you add a label "reopened" using Automation. This will allow you to more precisely query for your needs. 

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 10, 2022

Hi @Lorinda Quesenberry 

Yes, and...to Jack's answer...

The difficult part of your use case is "following sprint", as I do not believe that is possible with out-of-the-box JQL.

If you only check if issues were done, re-opened, and in an unfinished sprint, this could work:

project = myProjectName 
AND status WAS Done
AND status != Done
AND (sprint IN openSprints()
OR sprint IN futureSprints())

Kind regards,
Bill

Like Lorinda Quesenberry likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events