I am trying to achieve Hide create subtask under more options only for Epic Issue Type, I have used script runner fragments and under the script I write following code:
issue.parentObject?.issueType.name in 'Epic'
But it seems not working, It hides create subtask for all the issue types like bug, story, etc.
Will really appreciate your assistance. Thanks