Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Overview
Jira Service Management Compass parses your data to construct rich and informative alerts. You can use dynamic properties to customize your alerts and alert conditions.
...
Draggable properties bring significant data for creating and managing well-informed alerts. The integration framework provides different dynamic properties specific to the integrated application. You can use dynamic properties in the filters of your integration actions as well as alert fields. In the filter, dynamic properties are available to select in the condition drop-down. In the alert properties, you can drag a dynamic property into any alert field you find appropriate.
Jira Service Management Compass interprets the expressions within the double-curly braces as dynamic properties. Dynamic data populates at every notification that's sent to Jira Service ManagementCompass. For example, someone creates an issue in Jira and enters "This is the summary" for the summary. Using Jira Service Management’s Compass’s Jira integration, "[Jira] {{summary}}" for Message in a 'Create alert' Action creates an alert with the message "[Jira] This is the summary". It will then notify the users. All we needed to do is drag {{summary}} to the message. When the issue is created, Jira Service Management Compass gets notified automatically. It creates an alert with the issue's summary in the message.
...
You can insert URL parameters or http payload parameters from webhooks directly into your alerts. For example, an integrated application sends a variable named timestamp to Jira Service Management Compass in the webhook payload. But timestamp isn't available as a draggable property in the configuration page. If you still need to use timestamp in your alerts, you can add {{_payload.timestamp}}
to the input field.
...
The URL query parameters of a webhook are also accessible via {{_url.param}}
where param is the parameter key. You can add custom parameters to the webhook URL and inject it into your alerts. For example, suppose you're using Jira Service Management’s Compass’s Stackdriver integration. You're monitoring many projects and want to use a single integration for all your alerts. If you still want to distinguish which alert belongs to which domain, you can use a custom parameter for each of your projects.
...
Now when someone in the integrated application adds "This is the comment" as a comment to the issue, a note is added to the corresponding alert, with the text "note: the comment". Read more about string processing methods.