Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,295
Community Members
 
Community Events
165
Community Groups

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

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

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,959 views 38 49
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you