Each entry for the SIL Listener represents a script that will run for an event. When you add a SIL Listener, you need to define the following properties:
SIL Script - the script to run when the event is received. Required field.
Events - event to react to. Required field.
Run As - Jira user to impersonate when running the script. If left empty, the script will be run by the currently logged in user. This setting might be necessary if certain scripts require more extensive permissions than those of regular users.
Enabled - the field that controls if the listener is executing or not
Asynchronous - If not selected, it's a normal listener, otherwise it will be scheduled for execution on a separate thread.
Projects and Issue type filter (only for issue-related events). If anything is configured here, the events will be filtered accordingly (scripts will be executed only for events matching that filter).
Pressing the “Add“ button will create the listener.
Notes
You can add multiple listener entries for the same event. The order of execution may be imposed only for synchronous listeners. However, this is not a recommended practice
You can map multiple events to the same listener.
Updating a Listener
To update a listener, click the Edit icon in the Operations column on the SIL Listeners page and update the fields in the pop-up window.
Deleting a Listener
To remove a SIL Listener, click Delete icon in the Operations column on the SIL Listeners page.
Enabling and Disabling a Listener
To enable/disable a listener, click the Edit icon in the operations column.
Uncheck the Enabled setting from the edit screen.
Click Save
If a listener is disabled, a corresponding label appears under execution.