The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Path file (inline Script ScriptRunner) after migrating from Windows to Linux

Timothée Quesada
November 4, 2020

Hi there,

I am processing a migration for a complex Jira 6 from Windows to Linux in 8.5.
We have so many inline scripts to migrate...
They are linked like that:
In a workflow

<arg name="FIELD_SCRIPT_FILE">post-function\PRJ\OrderSubtasks.groovy</arg>

In my new Jira 8.5 in Linux, I get this error "Cannot find file: post-function\PRJ\OrderSubtasks.groovy". When I change all the "\" to "/", the script is find.

In fact, we need to transform it to:

<arg name="FIELD_SCRIPT_FILE">post-function/PRJ/OrderSubtasks.groovy</arg>

For the workflows we have 134 occurences and 117 for the behaviours. I hope I don't have to do it manually!

I don't find any documentation or script to do it automatically.
Help me, saving me hours of manual modification! ;)

Regards,
Timothée

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events