Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,228
Community Members
 
Community Events
165
Community Groups

How to close bulk alerts in OpsGenie?

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.

1 answer

1 accepted

1 vote
Answer accepted
Samir Atlassian Team Sep 14, 2021

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?

Samir Atlassian Team Sep 14, 2021

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

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

164 views 1 3
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