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

Code editor doesn't show method deprecation warnings for SAL

    Details

    • Type: Story
    • Status: Done
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.7.2
    • Component/s: None
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved: