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

When and how to use the canned ScriptRunner script 'Configuration exporter'?

Rina Nir _AC_ Solutions Partner Oct 18, 2016

JIRA 7.1.9

ScriptRunner 4.3.9

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?

1 answer

1 accepted

1 vote
Answer accepted

Hi Rina...

Docs are here:

Also has been worked, which is a precursor to creating script plugins.

Rina Nir _AC_ Solutions Partner Oct 18, 2016

Thanks for teh speedy response

So, that's what I understand:

  1. You have scripotrunner bit as 'inline' scripts in your dev instance.
  2. The tool automatically finds those items and creates a .yaml export
  3. Which can be packaged into a ScriptRunner plug-in and installed on prod.

Would be nice to have something mentioned here also:

Rina Nir _AC_ Solutions Partner Oct 18, 2016

Yes, I notice now that the plugin example also has a yaml file in it!

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).

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

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 ...

3,318 views 11 5
Join discussion

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