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?
Welcome to the community!
Yes, it's possible. Details can be found here: https://support.atlassian.com/opsgenie/docs/the-integration-framework/
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.
When i create a issue on JSM the alert is created normally on Opsgenie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
After that, the alerts start closing when the ticket is moved to "concluído"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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 😉
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
please set the ticket to resolved when you have a chance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
If those suggestions do nott work, can you share a screenshot of the edit screen for fechar no jsm | Fecha no opsgenie Rule?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.