I am using JIRA version 7.2.9 and Script Runner version 5.0.4.
I want to set the Security Level for the current issue object in Behaviour. But I am not able to get the current issue object.
Can someone please help ?
In actual script you can use 'issue' for current issue object.
For testing in script console you can use following,
def issueManager = ComponentAccessor.getIssueManager()
def issue = issueManager.getIssueObject("ABC-123")
Remember that time you realized it was possible to refresh your Jira data in Google sheets with just one click? What if we told you that you can now get the latest data with no clicks at all?! Zero! ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events