Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to send Alerts from one integration to separate Opsgenie Teams

This article covers setting up an integration to create alerts for separate teams depending on the information received. On the Standard and Enterprise plans, you can create a "Global" integration and send alerts to separate teams based on the incoming data received.

 

First, you'll want to create a global integration (or change an existing integration to a global one) by assigning it to 'No Team'. For this example, we'll set it up with an email integration.

Example_1.png

Next, we'll need to set up filtering to route alerts to different teams based on the incoming data. You can use any combination of available filters on your integration to determine which team the alert gets sent to. For this example, we'll keep things super simple: an email with 'devops' in the subject goes to the DevOps team and an email with 'Service Desk' in the subject goes to the ServiceDesk team (Note: The 'contains' filter is not case-sensitive).

 

This is our first Create Alert action for the DevOps team:

Example_2.png

 

This is our second Create Alert action for the ServiceDesk team: 

Example_3.png

 

After sending in an email with the subject "New Issue in Service Desk Queue", you can see it was assigned to the ServiceDesk team correctly:

Example_4.png

 

From here, the alert will follow the ServiceDesk team's routing rules and escalation to notify the correct person.

 


 

Earlier in the article, it was mentioned that you can use the available filters on the integration to set up the routing. Sometimes, the field you want to use to determine the proper team will not be available in the drop-down. When this is the case, you can use a Global policy to assign the teams on alert creation.

 

We'll use the email integration for this example again. First, you'll want to add whatever field you want to use to the alert somewhere. Often times, the best place for this would be an extra property.

 

For simplicity, we're going to send the team over in the email in a line with "[Team: (Team Name)]" and extract that value to an extra property using string processing.

Example_7.png

 

Next, we'll create a Global policy (Settings > Global policies > Add alert policy) that looks for that extra property and assigns a team accordingly. This one will send any alerts with 'DevOps' as the team to the DevOps team:

Example_6.png

 

As you can see, this alert gets routed to the DevOps team properly with the rules we set up:

Example_8.png

 

 

 

In order to ensure that we continue to provide useful content, please let us know if this Article is helpful (Thumbs Up/Down). Also, to help us improve, feel free to provide additional feedback (directly in the community).

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events