Forums

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

How do I migrate my scripts fields to JIRA CLOUD?

Marden Paulo November 21, 2018

I would like your help to better show what it is to migrate all of our scripts inserted in SCRIPTS FIELDS (and there are many) as we are looking to change the JIRA SERVER to JIRA CLOUD.
On the manufacturer's website of the SCRIPT RUNNER plugin I saw that the suggestion is to use CALCULATE CUSTOM FIELD ON ISSUE UPDATE and a language that can not be considered GROVY and our scripts are in JAVA SCRIPT.
Can we use SCRIPT JAVA even if there are some conversion tools?

Site: http://scriptrunner-docs.connect.adaptavist.com/jiracloud/script-listeners.html#_calculate_custom_field_on_issue_update

Thanks

2 answers

0 votes
Marden Paulo November 22, 2018

Thanks

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 21, 2018

Yes, you will need to read each script's groovy to establish what it does, then rewrite it in javascript.

Groovy (and Java) and Javascript are totally different languages, there's no easy "convert" between them.  There are some tools you can look for out on the internet which will attempt some of the conversions, but you'll still want to work through the results to check it's been interpreted properly.

Marden Paulo November 26, 2018

Thanks

Ronak
Contributor
March 3, 2020

@Nic Brough -Adaptavist- what kind of tools you are referring here?

If you can suggest here would be great help. I need to share sometime to get handson with cloud scripting and that might be time taking. In next few months  I  need to migrate 248 WFs scripts + 38 listeners + 23 behaviors.  I am afraid I am going to lose many of data and automation which is setup onprem. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events