The trigger
module invokes a function when a product event, app lifecycle event, or data security policy event is fired. For example, as the result of
an issue being created in Jira.
Property | Type | Required | Description |
---|---|---|---|
key |
| Yes |
A key for the module, which other modules can refer to. Must be unique within the manifest. Regex: |
function | string | Required if using UI Kit 1 or triggers. | A reference to the function module that defines the module. |
endpoint | string | A reference to the Required if no | |
events | Array<string> | Yes | A list of product events that trigger the function or endpoint. |
filter | Filter | No | A set of options to prevent invoking a function or endpoint. |
Property | Type | Required | Description |
---|---|---|---|
ignoreSelf | boolean | Yes |
Ignore self-generated events. For example, an app updates an issue and ignores the Note that currently |
1 2modules: trigger: - key: ignore-self-trigger function: main events: - avi:jira:updated:issue filter: ignoreSelf: true function: - key: main handler: index.run
Rate this page: