Assigning alert responder from Azure integration

David Young March 2, 2023

I have set up an integration with Azure and Opsgenie.  My alerts contain a custom property "responderId" that I'd like to use to populate the responder field of the generated alerts.  However, this does not seem possible because the "Responders" field doesn't take free text (eg "{{_payload.data.alertContext.properties.responderId}}").  tl;dr we have many different microservices, each with a different team configured in Opsgenie.  When engineers configure the alerts in Azure, I'd like them to be able to automatically assign the responding team for all alerts generated by Azure.  Is there another way of automatically assigning the responder?

Attached is a screenshot of the custom properties I have on an alert, but there doesn't seem to be a way to assign the responder automatically to the "responderId" property.image.pngimage.png

2 answers

1 vote
Shivam Naik
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 6, 2023

Hi @David Young ,

Happy to help!

I would recommend submitting a Support Ticket so that we can look at this closer in relation to your current set up. But if there is a specific Alert type or payload that you'd like assigned automatically to a team, it may be better to configure those Create Action filters with OR statements for each team. That will ensure when Engineers configure specific alerts to populate in Opsgenie, the appropriate team will be assigned automatically as a result of the Create Action filter.

Please let us know if you have any follow up questions, but I do think this would benefit from a look in a ticket!

0 votes
Nikita Bestuzhev
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 21, 2024

@David Young hey, hey!

I found out, how to pass custom properties from App Insights to OpsGenie.

1. Add a custom property to your alert rule in App Insights (as on your screen above).

2. Use the full path to the payload in OpsGenie, when configuring alert processing rules, like `{{_payload.data.customProperties.responderId}}`

Done!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events