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,365,180
Community Members
 
Community Events
168
Community Groups

Is there a way to be alerted (via webhook) when an incident is changed in any way?

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?

 

1 answer

1 accepted

2 votes
Answer accepted
Samir Atlassian Team Apr 13, 2021

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!

 

Thanks,

Samir

Thanks for the response. Please do open a feature request for this!

Samir Atlassian Team Apr 13, 2021

Sure thing @dpetit - I've gone ahead and ensured that there is a feature request open for this functionality

Could you share the link to feature request?

I'm also interested in this feature as well, I'm looking for my application to be notified when an incident is resolved

I'm interested in this as well can you link the feature request?

Samir Atlassian Team Aug 20, 2021

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.

I am also interested in this feature request. Is there a status on this request?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events