Hi Team,
We would like to disable 'Create sub-task' option from menu drop down on particular main issue type. I have applied this on sub task workflow and added a 'simple scripted validator' on the subtask workflow create transition with the following script runner script, but it seems not working, not blocking the "Create sub-task" option for parent issue types of " Order Performance and Order Visibility Request " .
issue.getParentObject().getIssueType().getName() != 'Order Performance and Order Visibility Request'