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

Setting REST endpoint package to scan to empty value does not work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Triage
    • Priority: L3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: REST Endpoint
    • Labels:
      None
    • Critical Points:
      2.2

      Description

      Our documentation says that you must set the following JVM system property to enable scanning of REST endpoints in script plugins:

      https://scriptrunner.adaptavist.com/latest/jira/rest-endpoints.html#_script_root_scanning
       

      -Dplugin.rest.scripts.package=
      

      In current versions this does not work, what appears to happen is that Groovy source picked up from the SR Jar gets pulled in and attempted to be used as REST endpoints, causing all sorts of exceptions about classes not being found etc.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rlander Reece Lander
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: