Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×In Assets/Insight automation the Execute Groovy script action does not recognize Windows path.
C:\Program Files\Atlassian\Aplication Data\Jira\scripts\somefile.groovy
Automation will successfully save without any error.
We see the following error on the UI:
=> Script file path must be absolute
Hi @ThangTN8
Welcome to the community.
I think you are running into the following issue mentioned in JSDSERVER-12219.
One of the work arounds should help you, for the time being.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Marc - Devoteam I tried but the automation rule couldn't read that groovy file.
I put my groovy file in: C:/Users/thangtn8/Atlassian/Application Data/Jira/scripts/update_attribute_value.groovy
Is the location of the file wrong?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @ThangTN8
See the liked issue and take the steps described in WO 1 or WO 2
There is nothing wrong with your path, but it is not recognised an there is nothin wrong with the location.
Please read the information on the issue linked in my previous post.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.