Built-In Listeners

We have a number of built-in listeners that let you have better control over your business processes. Many of the listeners available are also available as Post Functions; however, listeners allow you more control over automated actions than you would get with a post function.

With built-in listeners, you can specify which events the listener is fired on and which projects are applicable. You can also add Conditions to your built-in listeners, as described below. 

Check out the Listeners page for an overview of listeners and how to use them.

Accessing built-in listeners

Listeners can be accessed if you go to ScriptRunner > Listeners.

Conditions

With conditions you can set the parameters for which the built-in script will fire on. For example, if you need to filter on issue type you could enter the following script:

groovy
issue.issueTypeObject.name == "Bug" // && any other conditions

More example conditions can be found if you select Show snippets under the Condition script editor.

You can add multiple configurations for the same type of listener if they have different parameters.

Available built-in listeners

The following built-in listeners are available with ScriptRunner:


On this page