Is there a way to block subtasks from being create under an Epic?

For hierarchical and other reasons we want Epic --> Issue (Task, Story, Bug) --> Sub-Task.  Unfortunetly new people always create Sub-tasks under an Epic, so I am looking for a way to block thar or even remove sub-tasks under Epic.

1 answer

This widget could not be displayed.

There is an open feature request for this in


There is another post about this in

Some users have taken to generating a separate workflow for the subtask issue type to start with.  This isn't enough to limit their creation, but it does separate the changes to only effect those subtasks, and not all issue types.  From that point, there is a script that could be added to prevent this, but this would require the use of the scriptrunner plugin in JIRA.  In JIRA 7 the script needed would be something like


["Task", "Bug"].contains(issue.parentObject?

You could then edit the create transition of that workflow and add a script validator (provided by scriptrunner), and enter this script.  That way you could limit which issue types can be used to create subtasks. 

Thanks, I am now following the issue.  And will look into the script.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

54 views 1 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you