Forums

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

How can i restrict users to not create child issues when the epic is closed

Sunilkumar k
Contributor
August 28, 2023

Hi,

I don't want to allow users to create a child issues for the epic when the epic is closed.

 

Please help me in achieving this.

Thanks in advance !

 

2 answers

0 votes
Trudy Claspill
Community Champion
August 28, 2023

Hello @Sunilkumar k 

Denying the Edit permission via workflow properties for the Epic issue, as suggested by @Ralf Fehling , is not enough.

That will prevent you from seeing the option to add a child story to the epic when you are viewing the epic. However, when creating or editing an issue you can still set the Epic Link field to an Epic that is closed.

You could set up an Automation Rule to detect that a child issue has been added to a closed Epic, and remove it from the epic or send an email alert or both.

Per this post

https://community.atlassian.com/t5/Jira-Core-questions/Don-t-allow-choosing-closed-epics/qaq-p/813959

...there is an add-on that might help if you used Jira Server/DC. The add-on is supported for Jira Cloud but I haven't dug into the suggested solution to see if it would work in Jira Cloud.

Ralf Fehling
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.
August 29, 2023

 

https://confluence.atlassian.com/jirasoftwareserver0904/working-with-epic-statuses-1188765619.html

Marking an epic as Done
Epic status isn't an automatic custom field, and you can set the value manually. If you set the Epic to Done, it will disappear from the agile board and you will not be able to find it in the Epic Link field. It will also disappear from the Epics panel.

You can mark your epic as done by going to Backlog, opening the Epics panel and selecting Mark as Done for your epic.

Trudy Claspill
Community Champion
August 29, 2023

@Ralf Fehling 

Using the Mark As Done option on the Epic is also not enough.

That just removes the Epic from display in the Epics panel. It doesn't prevent the addition of the done Epic as the parent for an issue.

Like Ralf Fehling likes this
0 votes
Ralf Fehling
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.
August 28, 2023

https://jira.atlassian.com/browse/JRASERVER-26208

You could try to remove the edit permition via workflow property. 

Regards Ralf 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events