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,297,319
Community Members
 
Community Events
165
Community Groups

Azure integration not parsing properties block

If I set some json values on my azure alerts in the data.alertContent.properties block how can I access them from opsgenie?

It looks like they are just ignored, even the docs page has them set but then their lost: https://docs.opsgenie.com/docs/microsoft-azure-integration

Is this just a limitation of opsgenie or is there a way to pass values from azure to opsgenie to give an alert more context.

My use case here is I add tags to my alerts which give them content to which client they correspond and I would like to tag my alerts as such.

1 answer

1 accepted

0 votes
Answer accepted
Samir Atlassian Team Mar 16, 2021

Hi @Matt Browne ,

 

Anything that Opsgenie is receiving in the payload can be parsed into the Opsgenie alerts using dynamic fields.

 

So first thing to check would be the logs in Opsgenie (Settings -> Logs), and look for the "Received integration request" log for an alert sent from Azure to Opsgenie, then you can confirm that we are receiving these "properties" fields.

 

You can then parse them out using something like {{_payload.Properties.key1}}, depending on the structure of the Properties field within that payload.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

Coming Soon: Insight Changing to Assets

The 2020 acquisition of Mindville added powerful asset and configuration management capabilities to Jira Service Management in the form of Insight. Following the completion of that integration, custo...

45 views 0 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you