Forums

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

Delete Completed Sprints from Epics

Antonio Patron April 22, 2022

Hello. Wondering if there is a way to delete epics from completed sprints. 

Example: I have the Epic in two closed sprints and want to be able to clear them. Cant seem to find a way here. 

Screenshot 2022-04-22 112409.png

1 answer

1 accepted

1 vote
Answer accepted
Alex Koxaras _Relational_
Community Champion
April 22, 2022

Hi @Antonio Patron and welcome to the community!

If your task is to remove ONLY closed sprints from epics, then I'm sorry to be the bearer of bad news, but this can't be done with out of the box functionalities.

What Jira offers, and you can actually do is clear all values from the sprint field. To do that you have to create on the epic workflow a self transition. Within this self transition you will include a post function to clear the sprints field.

Then search for all epics in closed sprints:

issuetype = epic and sprint in closedSprints()

and transition them to this self transition.

Or, if you have an app installed like scriptrunner, or JMWE you can achieve removing the closed sprints by writing a few lines of groovy code (or jira expression).

Hope that helps.

Antonio Patron April 25, 2022

Thank you very much Alex! 

Sucks this cant be done without out of the box functionalities.

I appreciate your help. 

Alex Koxaras _Relational_
Community Champion
April 25, 2022

Anytime @Antonio Patron and again sorry for not giving you the answer you were waiting for :/

Suggest an answer

Log in or Sign up to answer