Automation for Jira

We have an action that you can use in Automation for Jira. This action can be found under the Miscellaneous heading when you add an action component to a rule:

Execute a ScriptRunner Script

Use this action to run a ScriptRunner script, either inline or from a file.