Uploaded image for project: 'SR Platform'
  1. SR Platform
  2. SRPLAT-931

Code editor doesn't show method deprecation warnings for SAL

    XMLWordPrintableJSON

Details

    • Story
    • Status: Done
    • High
    • Resolution: Done
    • None
    • 5.7.2
    • 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

      Attachments

        Activity

          People

            krana Kyran Rana [X] (Inactive)
            jyamdogo Josh Yamdogo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: