This article shows how to add an external script to your server.
External scripts are groovy scripts/classes which can be reused in the connections.
For instance, by deploying the following class, you will be able to use the code in the incoming and outgoing processors:
This can be used by adding the following script in the processor:
Which will set the description to 'Hello World'
How to Deploy
Custom scripts can only be deployed on Jira Server/Datacenter and nodes which are deployed through the docker deployment approach.
There could be one of the following values instead of
Jira Cloud, just as any other cloud node, supports a set of specific scripts. Custom scripts cannot be deployed in this environment.
Check out List of external scripts for Jira Cloud for more information.