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

It's possible to close an alert in opsgenie by resolving the issue which triggered to open?

Bruno Brendel June 27, 2023

I need to close alerts in Opsgenie, but it is not scalable for my team to access two platforms to resolve an issue.

Is there a way to automatically close the alert in Opsgenie every time an issue, which triggered an alert in Opsgenie, is closed in JSM?

2 answers

1 accepted

1 vote
Answer accepted
Fabian Lim
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 27, 2023

Hi @Bruno Brendel

Welcome to the community!

Yes, it's possible. Details can be found here: https://support.atlassian.com/opsgenie/docs/the-integration-framework/

Bruno Brendel June 28, 2023

Hey Fabian, thanks for your response.

 

I'm having trouble with that because i have configured an incoming rule to close the alert but the alert doesn't close when the issue goes to status concluído or cancelado.

Captura de Tela 2023-06-28 às 13.52.36.png

When i create a issue on JSM the alert is created normally on Opsgenie

Fabian Lim
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 4, 2023

Hi @Bruno Brendel

I noticed that sometimes the updated event doesn't trigger when status change.  Can you try adding editing the ticket (i.e. change any field after the ticket is transitioned) and see if the alert closes? 

Bruno Brendel July 5, 2023

Hey Fabian, thanks for your response.

I finally discovered what is happening.

When I create an issue on Jira with the issue type "incidente," an alert is generated.

However, when I move a ticket to "concluído", I am using status, eventType, and issueType as filters to close the alert.

The problem that was occurring is that when I move the ticket to "concluído," Opsgenie is not reading all the parameters of the filter to close the alert. It stops at "issueType = incidente" and then ignores the rest, leading to the creation of a new alert.

 

As a solution, I added one more parameter to create an alert.

 Captura de Tela 2023-07-05 às 09.58.57.png

After that, the alerts start closing when the ticket is moved to "concluído"

Like Fabian Lim likes this
Rosa M Fossi July 6, 2023

@Bruno Brendel Glad to hear you where able to gets this fixed!  If my response below helped you get there, don't forget to upvote  😉

Like Bruno Brendel likes this
Fabian Lim
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 7, 2023

@Bruno Brendel

please set the ticket to resolved when you have a chance. 

Like Bruno Brendel likes this
1 vote
Rosa M Fossi July 3, 2023

Bienvenido @Bruno Brendel  

I'm not certain if this might affect it, but I tested on my own account and none of my "close alert" rules contain issueType.  Try removing them and test again. 

You might also want to make sure you have matching cases... (Incidente vs. incidente)

issueType-in-Rule.png



If those suggestions do nott work, can you share a screenshot of the edit screen for fechar no jsm | Fecha no opsgenie Rule? 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events