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,365,477
Community Members
 
Community Events
168
Community Groups

How do I bulk close & delete a huge number of alerts?

I have a large number of alerts that have been emailed to OpsGenie via a rogue program that was configured incorrectly. 

I would like to delete all the alerts (10,000 of them) however I can only ack / close 1000 alerts at a time. 

How do I bulk delete alerts?

2 answers

1 accepted

3 votes
Answer accepted

Hi @CompletelyIrrelevant  - the only way to achieve this is through the API. You can create a script to list all alerts via API, then loop through each one and delete it via API.

0 votes
David I'm New Here Aug 23, 2022

Hello I created a small Python script to get all alerts closed and later delete it, here if is interesting from any of you :-)

https://github.com/dalvarezquiroga/opsgenie_cleaner

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events