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

Why did we get 2 alerts for the same ticket?

So we had 2 alerts created for the same issue. These were triggered by the JSM integration for Jira update.

The background on this issue is a bit chaotic so I'm not worried about this but it would be nice to know.

1. Ticket was created in JSM that did not match the webhook JQL.

2. Ticket was updated to match the webhook JQL

3. I updated the integration to create the alert when a ticket was updated

(This integration was set up before we went to JSM Pro)

This is the filter I added:

Integration.PNG

4. The alert was created in Opsgenie:

Alert1.PNG

5. Since the on-call user was already working on it, the alert was NOT ACK'd

6. The ticket was closed this morning and a new alert was created:

Alert2.PNG

7. Both alerts were ACK'd and closed

Since Opsgenie is in the process of being rolled out to all IT teams, I would like to know why 2 alerts came up, but also because of how this ticket came about I'm not too worried about it.

From my understanding, the Alias should have prevented the 2nd alert from being created, but it didn't.

1 answer

1 accepted

2 votes
Answer accepted
Nick H Atlassian Team Jun 30, 2021

Hi @Chris Thomas ,

It sounds like the initial alert was closed. Then the JSM issue was once again updated - matching that Create Alert action - which caused another alert to be created.

Deduplication only occurs when there is an open existing Opsgenie alert. If the alias matches a closed alert, it's disregarded and Opsgenie will create a new alert.

Can you check the timestamps of when the first alert was closed, and when the second was opened?

Maybe I didn't refresh my alert screen but I could have sworn the first alert was still un-acknowledged this morning.

 

However you are correct, the first alert was closed last night and the ticket was closed this morning. I still didn't know that a closed alert will create a new alert if the ticket is updated, so that's good to know.

Thank you for your help!.

Closing the JSM issue would send something like you mentioned in the payload;

Event = jira:issue_updated

So your jira:issue_updated Create Alert action might also want to filter on statuses along with it:

commfjds.jpg

commasdfs.jpg

Like Steffen Opel _Utoolity_ likes this

Suggest an answer

Log in or Sign up to answer
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...

854 views 0 7
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