Hi All,
Do we have an option or any condition to be set, to delete all issues linked to an Epic whilst deleting an EPIC.
To delete an Epic, I simply access the EPIC screen and go to More > Delete. But this doesn't deletes issues associated to it
Please advise.
Regards,
Mohamed.
Hello,
Use the bulk delete feature.
First query all issues belonging to the epic with a query like this:
"Epic Link" = YOUR EPIC KEY
Then bulk delete all the issues:
Then you can delete the Epic.
Otherwise you would need an app like Power Scripts, ScriptRunner, Automation for JIra to do it automatically.
If you want to use the Power Scripts app, then you could create a listener on the Delete Issue event with a code like this:
string keys = selectIssues("\"Epic Link\" = " + k);
for (string k in keys) {
deleteIssue(k);
}
In this case if you delete an Epic. all issues in the epic will be deleted automatically.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mohamed Ghayasuddin Welcome to the community!
A variation on what @Alexey Matveev is suggesting is to filter for the linked issues and epic at one time, and then use bulk edit to delete them. A query to select them would be:
project = YOUR-PROJECT
AND "Epic Link" = YOUR-EPIC-KEY
OR Key = YOUR-EPIC-KEY
ORDER BY Key
With bulk operations, verify you see what you expect before confirming the operation...especially delete.
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You don't really need to craft a query or filter for this. Just view the epic and then click the "..." menu above child issues and select bulk edit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.