Opsgenie summary alert change

Florin
Contributor
December 12, 2023

Hello,

In our project, we have set up Opsgenie for alerts. They all came with the generic "incident raised" summary. (see picture 1).

1.PNG

I am trying to change this for the alert to show the ticket summary. 

I tried to see if, in the email templates, I could achieve this but I was without success.

Then I started playing around with the integration part in settings. I can create an integration, assign it to a team, and change the alert message to include the ticket summary.

 

So far so good but seems that the priority on them is messed up using the dynamic field {{priority}}. So to fix this I had to manually create them in the integration. (see picture 2).

2.PNG

 

 

This is the final result:

4.PNG

This seems to be okay for me, but then I wanted to make the integration global for all new notifications so that we get to have the exact summary of the ticket. But, when I changed it to global, notifications were not being received.

3.PNG

After this, I tried changing the default API integration, I thought that if I applied the same alert rules as my integration to the default one it would work. But priority conditions on the default one are not the same as the priority conditions on the integration I created. So this doesn't work.

Long story short, what I am trying to achieve is to have the alerts (from the first image) showing the exact summary of the ticket raised and its priority. I want this global for all notifications for all teams.

Does anyone have any ideas on how to achieve this? Any help will be much appreciated.

 

Thank you,

Florin

 

1 answer

1 accepted

0 votes
Answer accepted
Jonas Martinez
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 14, 2023

Hi Florin! I think the issue here is that once you switched from a team integration to a global integration and now your alerts are left without a responder. When an integration is tied to a team, all alerts created by that integration go to your team's routing rules by default. When creating alerts from a global integration, they are created under no team (by default) and thus no one gets notified. 

I think you would benefit from implementing alert policies to your Opsgenie workflow. With alert policies you can edit both team and priority of an alert created from a global integration so you may modify the alert fields based on whichever filters you choose. Sounds like you are trying to edit the priority and responder fields of those global alerts.

https://support.atlassian.com/opsgenie/docs/create-and-manage-global-alert-policies/

Hopefully this gets you in the right direction, but don't hesitate to send us a support ticket if you run into any further issues :) 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events