Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,231
Community Members
 
Community Events
168
Community Groups

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

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
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

205 views 1 6
Read article

Atlassian Community Events