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

cannot use code completion features with @WithPlugin for some plugins

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Trivial
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.6.2
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 57, Sprint 58
    • Critical Points:
      0.8

      Description

      Possibly only works for jira-software, and only because the @WithPlugin is not actually required for that.

      Example I am using from the other ticket:

      import com.atlassian.servicedesk.api.field.FieldInputValue
      import com.onresolve.scriptrunner.runner.customisers.WithPlugin
      
      @WithPlugin("com.atlassian.servicedesk")
      
      def val = FieldInputValue.withValue(10)
      log.debug "Value : ${val.value()}"
      

      STC works OK.

        Attachments

          Activity

            People

            Assignee:
            merdmann Marcin Erdmann
            Reporter:
            jechlin Jamie Echlin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: