Details
-
Story
-
Status: Done
-
High
-
Resolution: Done
-
None
-
None
-
None
Description
The above script is using UserManager's isAdmin method. According to the docs https://docs.atlassian.com/sal-api/3.1.0/sal-api/apidocs/com/atlassian/sal/api/user/UserManager.html, this method has been deprecated since 2.10. As for the Jira API, the deprecated method should be underlined in yellow and the user should be told what they should be using instead.
https://scriptrunner.adaptavist.com/latest/jira/#_deprecations