Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Migrate Scriptrunner scripts from in-line to files

Is there any script or tool to help migrate the ScriptRunner inline script to files ?  

 

I had inherit an instance with more the 4000 inline scripts. I would like to migrate them to files so they could be versioned. Also, with them in files, some analises of repeated code could be done to reduce the LoC.

 With that number of scripts, I considered it unfeasible by hand and I had start thinking about some tool/script that migrate them automatically.

Have any one done something similar?  

Can some one give me some pointers on where the scripts are stored in the database and what needs to be changed for them to start loading from files?

 

Best Regards, 

Pedro 

2 answers

0 votes
Payne Community Leader Jul 09, 2021

Wow, 4000 scripts!!! Wish I had some advice for you in your endeavor, but hopefully someone does.

0 votes

 

@Nic Brough _Adaptavist_ can you give some help?

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you