I noticed there is a (new?) canned script called 'Configuration Exporter', and as moving configuration between instances is always a hot-topic I wanted to explore what it does. My impression was that it facilitates exporting of some ScriptRunner related items (at least listeners- which was the only item type this instance had) and generates .yaml code.
It then said: Copy and paste the following to your script-runner.yaml file
Fair enough. However- I could not find any doc explaining how and to what end I should use this yaml file.
Is there any documentation available which I missed?
Also https://scriptrunner.adaptavist.com/latest/jira/DevEnvironment.html has been worked, which is a precursor to creating script plugins.
Thanks for teh speedy response
So, that's what I understand:
Would be nice to have something mentioned here also: https://scriptrunner.adaptavist.com/latest/jira/builtin-scripts.html
Not just inline, either inline or file.
New built-in scripts can be added too. There are examples here: https://bitbucket.org/Adaptavist/scriptrunner-samples/src/d6e4a04c5d1d1721a270168ed79ed8f604079c79/jira/test-plugin/?at=master
The admin built-in script example is at https://bitbucket.org/Adaptavist/scriptrunner-samples/src/d6e4a04c5d1d1721a270168ed79ed8f604079c79/common/test-plugin/src/main/groovy/com/onresolve/scriptrunner/canned/common/admin/DependentCannedScript.groovy?at=master&fileviewer=file-view-default
Yes... the yaml file is only requred for stuff that you configure through the UI, eg listeners. Built-in scripts are just found through classpath scanning, so they only need to be present (with the right package, currently).
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
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