We're currently in the early phases of setting up integrations between OpsGenie and Statuspage, while we have no issues with going from OG to SP, we're finding some limitations in going the other way.
The biggest issue being that their seems to be no way to include information around the impacted Component on Statuspage in the OpsGenie alert, which will allow us to ensure that the relevant teams are alerted or actions are triggered.
I've been toying with custom tags and raw parameters in the notes or for tags using https://support.atlassian.com/statuspage/docs/enable-webhook-notifications/ as a guide to what Statuspage will send as part of its payload, however these never seem to populate in OpsGenie.
An example of a tag we're trying would be component_id:{{component_id}} assuming I've understood how the payloads work correctly, which is based on the formatting of some of the default tags that OpsGenie added when creating the integration. Checking in the OpsGenie logs, its suggesting that OpsGenie itself lacks any configuration for handling this with the log showing the following warning.
"Discarded incomingData, Reason:Discarding..Atlassian StatusPage integration does not support component updates."
Has anyone managed to include components or their states from Statuspage in OpsGenie alerting using the default integration? Or are we going to have to build something bespoke that acts as a middleman for this?
Hey Darren, Alan from the Statuspage/Opsgenie Support team here.
I did some testing on my side to confirm, and you should be able to access the component data that comes in the payload from Statuspage to Opsgenie with this dynamic field value:
{{_payload.incident.components}}
Keep in mind that this value comes as an object array, so it might still take some tweaking to get the specific information you want from it.
To better test this kind of setup, I would recommend adding the {{_payload}} value to the description field in your integration alert creation rules, so that you can better see how the data comes in to Opsgenie, and have a better view of how to manipulate it.
I hope that helps, and if you do need more detailed assistance for your instance, I would recommend creating a support ticket at support.atlassian.com if possible.
Cheers,
Alan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.