ScriptRunner provides an action for Automation for Jira, that lets you run your own code.

automation for jira

At this stage the only function available is a "custom script", but you can call other ScriptRunner functions programmatically.

Binding Variables


The issue object that triggered the event


The ApplicationUser that initiated the event


An ErrorCollection - use it to record error conditions, eg errorCollection.addErrorMessage("Something went wrong")


Use this if you need to retrieve any information about the rule that is currently firing

For how-to questions please ask on Atlassian Answers where there is a very active community. Adaptavist staff are also likely to respond there.

Ask a question about ScriptRunner for JIRA, for for Bitbucket Server, or for Confluence.