Details
-
Type:
Story
-
Status: Done
-
Priority:
High
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 5.7.2
-
Component/s: None
-
Labels:None
-
Epic Link:
-
Critical Points:0
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