Hello,
I work with the plugin Script Runner, and now I have more than 20 scripts.
I use SVN to manage the scripts versions of my application. I have one trunk and some tags.
I have the currently version of my application on the trunk, and a preproduction environment on one tag.
Presently, when I want to update the prodution with all the preproduction scripts, I update them one by one with my little hands in the Script Runner interface, and I'm wasting a lot of time...
How can I deploy all of my scripts (script listeners, script fields...) quickly in jira ?
And same question with Javascript scripts with the plugin JSincluder.
Thanks.
Hello @[deleted]
I'm not sure that JSincluder have that kind of functionality, but in scriptrunner you can do it in several ways.
First one is to store your code in scrtiptfiles in your sripts root directory.
And second one, you can create scriptrunner plugin and deploy it, please check this article
Hello @Mark Markov,
I already code the plugin in your 2nd link, but I don't understand everything...
If I want to redeploy, I have to recompile and reinstall the plugin with the new scripts ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. with the second method you create independent plugin with scriptrunner objects inside it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay,
And with the first method I understand is just to use personnal Library.
How can apply this for deployment ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The goal of first method that you store all your scripts on file system and in configuration of listeners, workflows etc. use this files instead of inline scripting.
And if you have files on fs, you can do whatever you want. For example store files in butbucket and deploying it via Bamboo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh okay.
I'm trying to do the first method but because I have the same class on many script, the plugin can't compile...
But I have an idea to fix this, I have to make the first method with a file wich contain my duplicated classes :) !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.