Hi everybody,
i'm using "Clones an issue and links" and i want to set a different security level for the linked issue.
I'm using the following code:
issue.securityLevel?.name = "Restricted to Reporter"
But the security level of the issue that is created after the execution of post function inherits the security level of the original issue.
Any ideas on that?
Thanks in advance,
Cheers,
Kostas
After some experiments i have found a workaround for setting the security level of the linked issue. The script is the following:
issue.setSecurityLevelId(securitylevel_id)
If you do not want to set any security level to your linked issue do not put an id between the brackets.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.