Is it possible to close bulk alerts via API in OpsGenie? These are alerts that have no issues in Jira.
OpsGenie can close only 200 out of 200 alerts.
Hi @Samanta Oliveira Peixoto ,
There isn't a single API Request that can be used to close multiple alerts in Opsgenie.
However you could write a script to loop through the alerts and close them out in Opsgenie.
Please let me know if you have anymore questions on how you could approach this!
Thanks,
Samir
Hi,
Have a documentation of how to make this script?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Samanta Oliveira Peixoto ,
Here is the documentation to the Alert API which you can leverage for this. You would want the script to List Alerts, then loop through each alert and make a Close Alert Request for each one.
If you reach out to Opsgenie support via support.atlassian.com, we have a utility we can run for you to close out multiple alerts if you wish.
Thanks,
Samir
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.