Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is it possible to send notification only when two alerts match the rule?

Lukasz Kaminski May 11, 2021

Is it possible to send notification only when two alerts matching some rule? For example message including particular text.

First alert is open with message: "Problem with A-1"

Second alert is open with message: "Problem with A-2"

-> send notification according to team rules when both alerts contain "Problem with A-"

But do not send notification, when only one of them is open.

1 answer

1 accepted

0 votes
Answer accepted
Nick H
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 11, 2021

Hi @Lukasz Kaminski ,

The only way to accomplish this (and it might not necessarily meet your use-case) would be through a notification policy. These can be configured to delay notifications until an alert threshold / deduplication count reaches a certain value.

https://support.atlassian.com/opsgenie/docs/create-and-manage-team-alert-policies/#Notification-Policy

Yours might look something like this:

notcomm1.1.1.jpg

Deduplication is dependent on the alias field of an alert: https://support.atlassian.com/opsgenie/docs/what-is-alert-de-duplication/

Using this approach would increase the count of an alert vs. having one created for both the A-1 and A-2 alerts. There isn't a way for Opsgenie to identify an open A-1 alert, then delay notifications until a new A-2 alert is created. Again, they would have to deduplicate and increase count on the same alert for this policy to apply.

Hope this helps. Let us know if you have any additional questions.

Lukasz Kaminski May 13, 2021

This is helpful response. I have found simpler solution on the other side of integration (in Site24x7) but it may come in handy in future. Thanks!

Like Nick H likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events