Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-12216

In Assets/Insight automation the Execute Groovy script action does not recognize Windows path

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 4.21.0, (19)
      4.22.0, 4.21.1, 4.22.1, 5.0.0, 4.22.2, 4.22.3, 5.1.0, 4.22.4, 4.22.6, 5.1.1, 5.2.0, 5.3.0, 4.20.14, 5.4.0, 4.20.15, 5.3.1, Insight 8.10.13, 4.20.16, Assets 8.10.15
    • Assets - Automation
    • None

      Issue Summary

      In Assets/Insight automation the Execute Groovy script action does not recognize Windows path. 

      This bug affects Jira Service Management Data Center installations with the bundled Assets/Insight since the Jira Service Management 4.20.14+.  

      This bug also affects the installations which do not come with the bundled Insight/Asset add-on, any Assets/Insight 8.10.13+ from the add-on marketplace listing.

      Steps to Reproduce

      1. Install Jira Service Management 4.20.14 (or any other affected version listed above) on a Windows machine. 
      2. Create an Assets/Insight schema;
      3. On this schema configure an Assets/Insight automation with the Execute Groovy script action;
      4. Enter the absolute Groovy script location in the File path field;
        Example:
        C:\Program Files\Atlassian\Aplication Data\Jira\scripts\somefile.groovy
        
      5. Save.

      Expected Results

      Automation will successfully save without any error.

       

      Actual Results

      We see the following error on the UI:

      Script file path must be absolute
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            [JSDSERVER-12216] In Assets/Insight automation the Execute Groovy script action does not recognize Windows path

            There are no comments yet on this issue.

              Unassigned Unassigned
              7d74d3b1a350 Rodrigo Jose Zaparoli
              Affected customers:
              2 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: