Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,666
Community Members
 
Community Events
165
Community Groups

How do I prevent User Stories from being added to a closed Epic?

My team keeps adding new user stories and associated them to closed Epics (which shouldn't be done unless I am aware and can document why).  We have already told the customer these Epics are closed and we either need to associate the user story with a different Epic or consciously reopen the Epic.  Is there a way to prevent users from adding issues to a closed Epic? 

4 answers

Finally, I have found a way to do it.

Just by setting workflow properties in the Done status of the Epic workflow hides both the button ("Add Issues to Epic" and "+" button)

 

Jira workflow property key - jira.permission.create.denied

Jira workflow property value - denied

 

For more reference - 

https://community.atlassian.com/t5/Jira-questions/Can-we-restrict-child-creation-under-an-Epic-when-the-Epic-is-in/qaq-p/1744336

nice, but still able to create subtask under the epic though... :-(

Setting the jira.issue.editable property 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.

Per this post

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

...there is an addon that might help. I haven't looked at the details of the addon yet.

https://marketplace.atlassian.com/apps/292/jira-misc-workflow-extensions?hosting=datacenter&tab=overview

Hi @Christina Olson,

Have a look at the advanced workflow properties.

https://confluence.atlassian.com/adminjiraserver073/workflow-properties-861253674.html

You need to use the jira.issue.editable property

Adding a property like this will prevent closed issues being edited. It will affect all issues unless you give epics their own workflow.

Regards,

Gary

@Gary Pasquale I m looking for a solution to the exact same problem. Can you please help me with where to add the above mentioned workflow property (which transition). Also, what group should be selected for the property. Thank you 

Looking for the same

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you