Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,059
Community Members
 
Community Events
168
Community Groups

Opsgenie Best Practices "Wednesdays"-Sending alerts to different teams under single integration

Sometimes, you might need to setup more than one from the same integration in order to specify alert creation depending on your filters defined under the integrations, and it might hard to check all of your integrations when you're about to troubleshoot an issue. Here is a little tip how to use multiple Create Alert rules and keep the control in one place, instead of setting up same multiple integrations. 

In Opsgenie, by using "Advance" settings of integrations, you'll have ability to control incoming payload and apply filters by defining your conditions, for example, during alert creation. According to your conditions, actions such as Ignore, Create, Close, Acknowledge and AddNote will be followed by top-down order. Basically, when Opsgenie receives an incoming payload, it will check your integration action rules one by one and if the incoming payload matches with your filters, actions will be executed. 

Instead of setting up multiple integrations and assigning to different teams, you have ability to define multiple Create Alert rules, and send alerts to different teams by adding teams should receive alerts in which conditions. It's very simple - all you need to do is adding multiple Create Alert rules, and assign these rules to different teams. Please keep in mind that in order to add teams from Alert Fields of integration, the integration should be assigned to "No-Team" - please see attached images. 

 

Opsgenie_-_Integration.jpg

 

 

 

 

 

12Opsgenie_-_Integration.jpg

 

 

13Opsgenie_-_Integration.jpg

 

 

 

6 comments

Hi there, excellent article!!
Do you know if is possible extract individual tags from DD_TAGS and use it as extra properties ?

Thanks a lot

Emirhan Atlassian Team Jul 04, 2019

Thank you for your comment Manuel!

By default, Datadog integration is able to capture {{dd_tags}} field and add them into Extra Property field. Do you want to extract these tags one by one? 

Opsgenie_-_Integration.jpg

Yeah !.. I want to extract these tags one by one?

@Manuel Ruiz you can do that like so:

{{dd_tags.extract(/regexpatternhere/)}}

You can also use some string functions like

{{dd_tags.extract(/regexpatternhere/).toLowerCase}}

{{dd_tags.substring("Start", "End")}}

Quick question, how would you go about linking the dd tag that contains a team name to a team in Opsgenie.

Hi, I am trying to assign different teams in one integration but I don't see any Teams field in the form. test.png

Like Manuel Ruiz likes this

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events