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

cannot use code completion features with @WithPlugin for some plugins

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Trivial
    • Resolution: Done
    • None
    • 5.6.2
    • None
    • None
    • Sprint 57, Sprint 58
    • 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

            merdmann Marcin Erdmann [X] (Inactive)
            jechlin Jamie Echlin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: