Forums

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

Prevent story to be linked with Epic Done

Joseph Hani
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.
November 22, 2022

Hello Everyone, 

I'm looking for a way to prevent user to choose and add a Story / Bug to a closed (status : Done or Discarded) Epic. 

We have JMWE (Jira Misc Worklow Extensions) -- I have find multiple comment about it but it seems that I can't make it work with the Linked Issues Status Validator.

So if anyone has another solution to block this link ? 

I have added inside my workflow properties : 

 jira.permission.create.denied - value : denied 

But it only remove the Add and + button on the Epic but when creating an Epic i'm still able to find the Epic inside the Epic Link. 

 

Thanks you for your help

Have a nice day 

1 answer

1 accepted

0 votes
Answer accepted
David Fischer
Community Champion
November 22, 2022

Hi @Joseph Hani ,

this is actually a fairly complicated problem. You can use a Linked Issues Status Validator on the Create transition of the workflow for stories to prevent the creation of a story when the user has selected a closed Epic as the parent Epic. Something like this:

image.png

However, this will not prevent users from changing the parent Epic of an existing story to a closed Epic. The only thing you can do for that is create an Event-based action to revert the parent Epic value and display an error message. Something similar to https://innovalog.com/jira-blog/videos-jmwe-jira-cloud/241-validate-jira-cloud-field-changes

Suggest an answer

Log in or Sign up to answer