Each SIL Listener entry represents a script that runs for an event. When a SIL Listener is added, define the following properties:
SIL Script - When the event is received, this script runs. This is a required field.
Events - Event to react to. This is a required field.
Run As - Define the Jira user to impersonate when running the script. If this field is blank, the script processes based on the user currently logged in. This setting might be necessary if certain scripts require elevated permissions.
Enabled - The field that controls if the listener is executing.
Asynchronous - When this field is deselected, the SIL Listener is defined as a normal listener. Otherwise, it will be scheduled for execution on a separate thread.
Projects and Issue type filter (only for issue-related events). When this field is configured, the events are filtered accordingly. For example, scripts are executed only for events matching the filter.
Press the “Add“ button to create the listener.
Notes:
Multiple listener entries can be configured for the same event. The order of execution may be imposed only for synchronous listeners. However, this is not a recommended practice.
Multiple events can be mapped to the same listener.
Update 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.
Delete a Listener
To remove a SIL Listener, click the Delete icon in the Operations column on the SIL Listeners page.
Enable and Disable 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.