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,366,075
Community Members
 
Community Events
168
Community Groups

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

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 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.

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

Atlassian Community Events