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

          Form Name

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

            Rodrigo Jose Zaparoli made changes -
            Resolution New: Duplicate [ 3 ]
            Status Original: Needs Triage [ 10030 ] New: Closed [ 6 ]
            Rodrigo Jose Zaparoli made changes -
            Link New: This issue duplicates JSDSERVER-12219 [ JSDSERVER-12219 ]
            Rodrigo Jose Zaparoli made changes -
            Attachment Original: image-2022-12-06-13-57-13-236.png [ 431612 ]
            Rodrigo Jose Zaparoli made changes -
            Description Original: h3. Issue Summary

            In *Assets/Insight automation* the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action does not recognize *Windows* path. 

            (i) This bug affects Jira Service Management Data Center installations *with the bundled* Assets/Insight since the {*}Jira Service Management 4.20.14+{*}.  

            (i) 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|https://marketplace.atlassian.com/apps/1212137/insight-asset-management/version-history].
            h3. Steps to Reproduce
             # Install *Jira Service Management 4.20.14* (or any other affected version listed above) on a *Windows* machine. 
             # Create an Assets/Insight schema;
             # On this schema configure an Assets/Insight automation with the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action;
             # Enter the absolute Groovy script location in the File path field;
            Example:
            {code:java}
            C:\Program Files\Atlassian\Aplication Data\Jira\scripts\somefile.groovy
            {code}
             # Save;

            h3. Expected Results

            Automation will successfully save without any error.

             
            h3. Actual Results

            We see the following error on the UI:

            !image-2022-12-06-13-57-51-865.png|width=519,height=280!
            {code:java}
            Script file path must be absolute
            {code}
            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            New: h3. Issue Summary

            In *Assets/Insight automation* the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action does not recognize *Windows* path. 

            (i) This bug affects Jira Service Management Data Center installations *with the bundled* Assets/Insight since the {*}Jira Service Management 4.20.14+{*}.  

            (i) 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|https://marketplace.atlassian.com/apps/1212137/insight-asset-management/version-history].
            h3. Steps to Reproduce
             # Install *Jira Service Management 4.20.14* (or any other affected version listed above) on a *Windows* machine. 
             # Create an Assets/Insight schema;
             # On this schema configure an Assets/Insight automation with the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action;
             # Enter the absolute Groovy script location in the File path field;
            Example:
            {code:java}
            C:\Program Files\Atlassian\Aplication Data\Jira\scripts\somefile.groovy
            {code}
             # Save.

            h3. Expected Results

            Automation will successfully save without any error.

             
            h3. Actual Results

            We see the following error on the UI:

            !image-2022-12-06-13-57-51-865.png|width=519,height=280!
            {code:java}
            Script file path must be absolute
            {code}
            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            Rodrigo Jose Zaparoli made changes -
            Description Original: h3. Issue Summary

            In *Assets/Insight automation* the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action does not recognize *Windows* path. 

            (i) This bug affects Jira Service Management Data Center installations *with the bundled* Assets/Insight since the {*}Jira Service Management 4.20.14+{*}.  

            (i) 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|https://marketplace.atlassian.com/apps/1212137/insight-asset-management/version-history].
            h3. Steps to Reproduce
             # Install *Jira Service Management 4.20.14* (or any other affected version listed above) on a *Windows* machine. 
             # Create an Assets/Insight schema;
             # On this schema configure an Assets/Insight automation with the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action;
             # Enter the absolute Groovy script location in the File path field;
            Example:
            {code:java}
            C:\Program Files\Atlassian\Aplication Data\Jira\scripts\somefile.groovy
            {code}

             # Save;

            h3. Expected Results

            Automation will successfully save without any error.

             
            h3. Actual Results

            We see the following error on the UI:

            !image-2022-12-06-13-57-51-865.png|width=519,height=280!
            {code:java}
            Script file path must be absolute
            {code}
            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            New: h3. Issue Summary

            In *Assets/Insight automation* the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action does not recognize *Windows* path. 

            (i) This bug affects Jira Service Management Data Center installations *with the bundled* Assets/Insight since the {*}Jira Service Management 4.20.14+{*}.  

            (i) 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|https://marketplace.atlassian.com/apps/1212137/insight-asset-management/version-history].
            h3. Steps to Reproduce
             # Install *Jira Service Management 4.20.14* (or any other affected version listed above) on a *Windows* machine. 
             # Create an Assets/Insight schema;
             # On this schema configure an Assets/Insight automation with the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action;
             # Enter the absolute Groovy script location in the File path field;
            Example:
            {code:java}
            C:\Program Files\Atlassian\Aplication Data\Jira\scripts\somefile.groovy
            {code}
             # Save;

            h3. Expected Results

            Automation will successfully save without any error.

             
            h3. Actual Results

            We see the following error on the UI:

            !image-2022-12-06-13-57-51-865.png|width=519,height=280!
            {code:java}
            Script file path must be absolute
            {code}
            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            Rodrigo Jose Zaparoli made changes -
            Description Original: h3. Issue Summary

            In *Assets/Insight automation* the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action does not recognize *Windows* path. 

            (i) This bug affects Jira Service Management Data Center installations *with the bundled* Assets/Insight since the {*}Jira Service Management 4.20.14+{*}.  

            (i) 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|https://marketplace.atlassian.com/apps/1212137/insight-asset-management/version-history].
            h3. Steps to Reproduce
             # Install *Jira Service Management 4.20.14* (or any other affected version listed above) on a *Windows* machine. 
             # Create an Assets/Insight schema;
             # On this schema configure an Assets/Insight automation with the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action;
             # Enter the absolute Groovy script location in the File path field;
            Example:
            {code}
            C:\Program Files\Atlassian\Aplication Data\Jira\scripts\somefile.groovy
            {code}
             # Hit add;

            h3. Expected Results

            Automation will successfully save without any error.

             
            h3. Actual Results

            We see the following error on the UI:

            !image-2022-12-06-13-57-51-865.png|width=519,height=280!
            {code:java}
            Script file path must be absolute
            {code}
            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            New: h3. Issue Summary

            In *Assets/Insight automation* the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action does not recognize *Windows* path. 

            (i) This bug affects Jira Service Management Data Center installations *with the bundled* Assets/Insight since the {*}Jira Service Management 4.20.14+{*}.  

            (i) 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|https://marketplace.atlassian.com/apps/1212137/insight-asset-management/version-history].
            h3. Steps to Reproduce
             # Install *Jira Service Management 4.20.14* (or any other affected version listed above) on a *Windows* machine. 
             # Create an Assets/Insight schema;
             # On this schema configure an Assets/Insight automation with the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action;
             # Enter the absolute Groovy script location in the File path field;
            Example:
            {code:java}
            C:\Program Files\Atlassian\Aplication Data\Jira\scripts\somefile.groovy
            {code}

             # Save;

            h3. Expected Results

            Automation will successfully save without any error.

             
            h3. Actual Results

            We see the following error on the UI:

            !image-2022-12-06-13-57-51-865.png|width=519,height=280!
            {code:java}
            Script file path must be absolute
            {code}
            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            Rodrigo Jose Zaparoli made changes -
            Description Original: h3. Issue Summary

            In *Assets/Insight automation* the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action does not recognize *Windows* path. 

            (i) This bug affects Jira Service Management Data Center installations *with the bundled* Assets/Insight since the {*}Jira Service Management 4.20.14+{*}.  

            (i) 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|https://marketplace.atlassian.com/apps/1212137/insight-asset-management/version-history].
            h3. Steps to Reproduce
             # Install *Jira Service Management 4.20.14* (or any other affected version listed above) on a *Windows* machine. 
             # Create an Assets/Insight schema;
             # On this schema configure an Assets/Insight automation with the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action;
             # Enter the absolute Groovy script location in the File path field;
             # Hit add;

            h3. Expected Results

            Automation will successfully save without any error.

             
            h3. Actual Results

            We see the following error on the UI:

            !image-2022-12-06-13-57-51-865.png|width=519,height=280!
            {code:java}
            Script file path must be absolute
            {code}
            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            New: h3. Issue Summary

            In *Assets/Insight automation* the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action does not recognize *Windows* path. 

            (i) This bug affects Jira Service Management Data Center installations *with the bundled* Assets/Insight since the {*}Jira Service Management 4.20.14+{*}.  

            (i) 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|https://marketplace.atlassian.com/apps/1212137/insight-asset-management/version-history].
            h3. Steps to Reproduce
             # Install *Jira Service Management 4.20.14* (or any other affected version listed above) on a *Windows* machine. 
             # Create an Assets/Insight schema;
             # On this schema configure an Assets/Insight automation with the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action;
             # Enter the absolute Groovy script location in the File path field;
            Example:
            {code}
            C:\Program Files\Atlassian\Aplication Data\Jira\scripts\somefile.groovy
            {code}
             # Hit add;

            h3. Expected Results

            Automation will successfully save without any error.

             
            h3. Actual Results

            We see the following error on the UI:

            !image-2022-12-06-13-57-51-865.png|width=519,height=280!
            {code:java}
            Script file path must be absolute
            {code}
            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            Rodrigo Jose Zaparoli made changes -
            Description Original: h3. Issue Summary

            In *Assets/Insight automation* the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action does not recognize Windows path. 

            (i) This bug affects Jira Service Management Data Center installations *with the bundled* Assets/Insight since the {*}Jira Service Management 4.20.14+{*}.  

            (i) 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|https://marketplace.atlassian.com/apps/1212137/insight-asset-management/version-history].
            h3. Steps to Reproduce
             # Install *Jira Service Management 4.20.14* (or any other affected version listed above) on a Windows machine. 
             # Create an Assets/Insight schema;
             # On this schema configure an Assets/Insight automation with the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action;
             # Enter the absolute Groovy script location in the File path field;
             # Hit add;

            h3. Expected Results

            Automation will successfully save without any error.

             
            h3. Actual Results

            We see the following error on the UI:

            !image-2022-12-06-13-57-51-865.png|width=519,height=280!
            {code}
            Script file path must be absolute
            {code}

            h3. Workaround


            Currently there is no known workaround for this behavior. A workaround will be added here when available
            New: h3. Issue Summary

            In *Assets/Insight automation* the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action does not recognize *Windows* path. 

            (i) This bug affects Jira Service Management Data Center installations *with the bundled* Assets/Insight since the {*}Jira Service Management 4.20.14+{*}.  

            (i) 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|https://marketplace.atlassian.com/apps/1212137/insight-asset-management/version-history].
            h3. Steps to Reproduce
             # Install *Jira Service Management 4.20.14* (or any other affected version listed above) on a *Windows* machine. 
             # Create an Assets/Insight schema;
             # On this schema configure an Assets/Insight automation with the [Execute Groovy script|https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html#:~:text=every%20THEN%20box.-,Available%20actions,-Here%27s%20a%20list] action;
             # Enter the absolute Groovy script location in the File path field;
             # Hit add;

            h3. Expected Results

            Automation will successfully save without any error.

             
            h3. Actual Results

            We see the following error on the UI:

            !image-2022-12-06-13-57-51-865.png|width=519,height=280!
            {code:java}
            Script file path must be absolute
            {code}
            h3. Workaround

            Currently there is no known workaround for this behavior. A workaround will be added here when available
            Rodrigo Jose Zaparoli created issue -

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

                Created:
                Updated:
                Resolved: