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

Add different notes, in dependency of the subject, in the same Integration

Alain Rohner July 19, 2022

Hello Community

We have Problems to <Add Note> to an alert via <Intergrations>.

We create an Integration for all P1-Alerts.  For all Alerts, the same note should be added - that works fine!

og_integration.png

Some of the alerts, should have a special note, in dependency, if the subject of the alert contains any word. We created this notes via <Add Notes>:

og_add note.png

But when we created this notes with condition and a new alert matches with the integration, then is is no one note in the alert visible: og_alert.png

So, both notes, this from the <Create alert> and this from the <Add Note> are lost.
Is there a way to create any different special notes, in dependency, if the subject of the alert contains any words, in the same Integration?

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.
July 19, 2022

Hi @Alain Rohner ,

Seems like you are aware notes can be added at alert creation through the Create Alert action's Note field.

But it's important to note the Add Note action would be a second request received by Opsgenie, and does not apply at alert creation.

 

For example below, I have a Create Alert action that adds a note at creation, and an Add Note action that adds a note if the integration received a second request/email. The Add note action would apply if the request/email did not match any of the actions configured above it.

I mention this because all the integration actions are reviewed in an order of operations from top >> down, and Opsgenie will use the first matching filter/action it finds without reviewing any others following that.

note1.jpg

note2.jpgnote3.jpgnote4.jpg

 

So your use case is certainly possible - but again the Add Note action would be the second, or any additional request received by Opsgenie. 

If a note did not add to the alert as expected, you could also review the Logs tab of you Opsgenie to see if an action did not match, there were any errors, etc.

Hope that helps.

Alain Rohner July 20, 2022

Hi @Nick H 
Thanks a lot for your help. We deleted all "Add Note"s and created now different "create Alert"s with different conditions and that works perfect!
Have a nice day and kind regards,
Alain 

Like Nick H likes this

Suggest an answer

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

Atlassian Community Events