You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am wanting to extract incident data for reporting purposes in a separate database. Is there a way to be alerted (via webhook) when an incident is changed in any way? I see the alert webhooks (which are kind of useful), but ultimately, they dont fire when the incident is updated. For example, upon marking an incident resolved, OG will trigger webhooks from the generated alerts. However, if someone goes back the incident and updates the Impact Duration fields, no further webhooks fire.
Is there any way to handle this without having to scrape all of the incidents via the API on timer?
Hi @dpetit !
Like you mentioned, we have an outgoing webhook integration which can be used to trigger a request to a custom endpoint based on actions on an Ospgenie alert (i.e. post to webhook when alert is created, closed, etc.)
However this integration can only be triggered off of alert actions in Opsgenie. There isn't a way to have it trigger for incident actions at this time. Like you said, for each incident there are "responder" alert(s) that are generated, which can be used to trigger the webhook. But these alerts don't get updated when you do something like update the impact duration field like you mentioned.
I can enter a feature request to be able to trigger a webhook integration directly based on actions taken to an incident in Opsgenie. But right now there isn't a way to trigger a webhook based on updating the impact duration field for an incident. I believe we will be adding more functionality around triggering integrations off of incident actions, as right now they are designed more around alert actions.
Let me know if you have anymore questions!
Hi! I have added additional upvotes to the feature request. Opsgenie feature requests are not public facing currently, so I am unable to share the link. But I have increased the request count on the feature request.
Hi All - we now have public feature suggestions for Opsgenie in jira.atlassian.com
Here is the link to the suggestion to be able to integrate Opsgenie incidents with external systems (including webhook integration).