Versions Compared

Key

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

https://support.atlassian.com/opsgenie/docs/use-advanced-integration-settings/

Advanced integration settings are only available on Opsgenie’s Standard and Enterprise plans.

If you’re using Opsgenie as part of your Jira Service Management, advanced integration settings are available on Jira Service Management’s Premium and Enterprise plans.

...

Table of Contents
minLevel1
maxLevel3
outlinefalse
typelist
printablefalse

Overview

With the advanced integration settings, you get the most customizations for alerting. You can define when the system should create an alert and , execute a close action, automatically acknowledge an alert automatically, or add a note.
The framework also enables you to You can also parse out anything from your webhook data and use it dynamically to build your alert content.

The rules are executed execute in top-down order, and the . The first matching rule will execute - no executes first and it stops evaluating further rules are evaluated. Learn more about integration types and actions.

View file
nameInvalid file id - d5839f1a-c54d-41d6-b2d2-22901a7485b9

When you go to the Advanced settings, you’ll find the rules . You can find the actions (Ignore, Create Alert, Close Alert, Add Note) under the Actions titlein the Add rule dialog.. The rules are responsible for processing the action processingactions. Every time data lands on the endpoint (or email box), these rules are matched to the data in top-down order. Each of these rules has Filter sectiona filters section. The first rule , matching your alert (with a top-down order) , will execute executes the action associated with it. The The Alert Fields section properties section provides the details of that action - your alert will be . Your alert is created according to the template capture captured in the the Alert Fields section.

...

propertiessection.

Action

...

processing

...

Integration The advanced settings consist of many different alert scenarios. These scenarios are called “Actions” “actions” and specify how and when alerts can be created, closed, acknowledged… Opsgenie or acknowledged. Jira Service Management provides default actions for every integration, but you . You can customize them and add as many actions of your own as you like. You can, for example, have three Create Alert actions, which means the webhook data that comes to Opsgenie will be evaluated against these three scenarios in order; and if one of them has a match, a new alert will be created.

 

View file
nameInvalid file id - 74f9f0bc-2cc1-4301-a768-4d110f4e5dca

Learn more about actions.

Action filters

Every action has a filter section. Opsgenie Jira Service Management processes every incoming data associated with your integration; and . Then it evaluates them against your integration's actions for execution. Remember that integration actions have a processing order, and at most, one action can be executed by a single request. If the first action's condition set, Filter does not match the incoming payload, Opsgenie moves on to the next action in line and evaluates its Filter. If an action's Filter matches the data, Opsgenie executes that action and ends the processing on that particular webhook. If no matching action is found, nothing happens.
Pre-canned integration has a list of prepared filter options - the most common ones are available, tailored to the integration you chose. Learn more about action filters in integrations.Also, find out which regular expressions you may use to customize and filter alerts.

Alert

...

properties

The action will be executed executes according to the template and settings you capture here. The figure below shows a Create Alert action's Filter. Its condition match type is set to Match all conditions. So if the variable Action in the incoming data is equal to Create and the Source Type Name variable equals Monitor Alert, then an Opsgenie alert will be created according to the setup specified in the Alert Fields; and the processing will end there.

...

On the right side, you see draggable fields (blue boxes), and you see these dynamic fields captured in some of the default alert fields (those inside the curly brackets). Using these, Opsgenie parses your data to construct rich and informative alerts. You can use dynamic fields to customize alert properties - basically automatically parsing out a variable from the payload every time you create an alert according to this "Alert Fields" section.
If you don't need the whole variable and need only a part of the data, like a certain part of an email subject, you can use one of the string processing methods.Learn more about the dynamic fields.