^ The above will work - it removes the ability to add sub-tasks, along with a suite of other edit functions. To add this to your workflow:
If this is too restrictive for you as it prevents editing also - you'll need to consider doing this via scripting using an add-on. This answer details how to restrict sub-task creation using ScriptRunner.
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