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