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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events