I would like block creating sub-tasks under the epic (More -> Create sub-task) but keep this functionality in stories/tasks. Is such configuration possible?
Pretty old question
Not supported out of box - https://jira.atlassian.com/browse/JRASERVER-7990
Using script runner plugin you can put an condition in the "validation" phase of the create transition
Script runner seems to be acceptible since I want to use it for other purpose anyway but I guess that this will work post factum. So "Create sub-task" will be in "More" menu but after clicking it script will block it?
Is this JS hack possible within the Jira?
Using script runner plugin, the script will be part of "validate" phase of the "create" transition thus, validation will execute after pressing the "create" button.
If you want a client side solution (though JS solutions arent always the cleanest) you can look into "behaviour module" of the scriptrunner plugin
Please accept/upvote answer if it works for you. Thanks.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot