You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi @[deleted] , Welcome to the Atlassian Community!
Have a look at this thread: https://community.atlassian.com/t5/Jira-questions/How-to-prevent-epic-linking-issues-to-epics-of-a-particular/qaq-p/936417
A similar question appears to have been asked already it seems.
Generally speaking you can achieve this by setting up a workflow condition that prevents the linking of issues to closed epics.
There are some limitations on Jira Cloud as you'll later find in the thread.
Hope this helps.
Kind Regards,
Ash
thanks, but preferably if we could prevent it while the link is performed and not after. that will reduce allot of errors, like permissions on edit for the EPIC.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @[deleted]
try the below automation.
How it works: when a ticket is updated it checks if it has a parent Epic and if that Epic is in statuscategory=Done or "Epic Status"=Done (I'm using Related issues condition, with Related issues: Epic, and condition: Matches specified JQL, with Matching JQL: statuscategory=Done or "Epic Status"=Done), and if the ticket is not Done (statuscategory!=Done) then it deletes the Epic Link and notifies the initiator through an email with this content:
Hi,
ticket <b><a href="{{Issue.toUrl}}">{{Issue.key}}</a></b> was added to or is linked to <b><a href="https://your-instance-goes-here.atlassian.net/browse/{{issue.epic.key}}">{{issue.epic.key}}</a></b> which is a <b>{{issue.epic.status.name}}</b> Epic.Please check it as adding <b>open</b> stories to already <b>closed</b> Epics should be avoided as it is not a good practice (as alternative please open a new epic and move the open stories to the new created epic).
<b>Be aware that the Epic link field was cleared.</b>
Thanks.
Regards,
Lucian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.