Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

ParameterTypeRequiredDescription
fieldStringYesField to listen to
relatedFields

Array

String

YesDependent fields required for the given field
scriptPathStringYesScript source to run when the event is triggered
javaScriptEventsArrayNoEvents to listen to. It's any JavaScript event (check this list for example)

...