I want to use script fragments to hide "Clone" option from "More" menu for an issue type (epic).
What syntax should i use?
I tried :
issue.issueType?.name != 'Epic'
and also:
issue.getIssueType().name.toString() != 'Epic'
Please advise.
Thanks!
Community moderators have prevented the ability to post new answers.
Hey Paz,
log.debug "---> Issue type is ${issue.issueType.name}" issue.issueType.name != "Epic"
should do the trick.
I would say stick a debug message in order to see what the issue type is (click more and then check the logs )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's no different from the first thing you tried (or the second). Do you know what else changed to make it work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Thanos Batagiannis [Adaptavist]
Hii Thanos, you helped my once with script fragments syntax. maybe you can help at this one too? Thanks!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.