I write Scriptrunner code for my Jira projects. How would I store my code in Bitbucket so I can keep revisions of the code?
Hi @Jon Kocen
Most Scriptrunner features in Jira allow you to either add the script as "inline" script or to provide the "path" to the script.
I always recommend using the path because indeed you can keep it in Git/ Bitbucket that way.
You should create a directory in your Jira home directory on the server called "scripts" for example (might already exist).
Add all your scritps to this directory in individual files. Push the directory to your Bitbucket repo.
Now you can convert the inline scripts to file path scripts in Jira scriptrunner.
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.