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,
After some experiments i have found a workaround for setting the security level of the linked issue. The script is the following:
If you do not want to set any security level to your linked issue do not put an id between the brackets.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot