Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-2088

STC error when importing a class in a file script.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 4.1.3.21, 4.3.12
    • Fix Version/s: None
    • Component/s: Script Editor
    • Labels:
      None
    • Critical Points:
      0

      Description

      Following the example in the documentation script roots
      getting the following STC error from the script console

      Script7.groovy:3
      unable to resolve class myExampleScripts.jira.util.Bollo
       @ line 3, column 1.
      

      This error does not affect the functionality
      Also we should make clear in the documentation that importing in an inline script a class under your script roots is not going to work
      see SRJIRA-458

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              tbatagiannis Thanos Batagiannis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: