...
If you don’t give any event, this routine attaches listeners to the “change” event which is triggered when the issue is updated. Every time when the event is triggered, the SIL script from scriptPath parameter runs. This SIL script receives the values for the relatedFields parameter and you can use them as: argv["field"].
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
field | String | Yes | Field to listen to |
relatedFields | Array String | Yes | Dependent fields required for the given field (needed only if you get the field's values from the screen like this: argv["field"]) |
scriptPath | String | Yes | Script source to run when the event is triggered |
javaScriptEvents | Array | No | Events to listen to. It's any JavaScript event (check this list for example) |
...