Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Opsgenie

Leveraging Atlassian’s Opsgenie and AWS Cloudformation Registry to stay ahead of incidents

In the past, managing IT infrastructure was a hard job. It required a lot of manual effort and it was hard to keep track of all the necessary information (monitoring, scalability etc). Thankfully, as...

2,368 views 0 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you