How can I Prevent creating sub-tasks if the parent issue is closed/resolved?
I am aware that we can hide the sub-task from below two ways but I am looking for a script runner script to achieve this.
- Hide the Create-Subtask UI element using one of the built-in Script Fragments. OR
- We can add workflow transition, property jira.permission.edit=false