We are creating a plugin that will manage all our custom Scriptrunner files. Looking for a template or example or documentation link explaining how to create the scriptrunner.yaml file and the required information.
There is how to create a script plugin here :
https://scriptrunner.adaptavist.com/5.6.8/jira/creating-a-script-plugin.html
Also
Source code of a sample Script plugin for all products:
https://bitbucket.org/Adaptavist/scriptrunner-samples.git
Great Idea to package all your script in a plugin.. This is was I always advise my customer.
Thansk... i looked at this and have wondering :
1) are these the standard values for Listeners, Rest Endpoints and fragments?
2) how to handle scripts related to WF and Custom fields?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use the configuration exporter to help you with the YAML creation
https://scriptrunner.adaptavist.com/6.4.0-p5/jira/builtin-scripts.html#_configuration_exporter
It doesn't support everything though.
For workflow Scripts and Custom Field Scripts, you need to put the file manually in them (They can't be automated using YAML)
For their path, you simply have to copy relative path and enter this path into jira as if the file was present. (The plugin will put that file as available in that path after the plugin is installed)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.