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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
Atlassian Team members are employees working across the company in a wide variety of roles.
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
Atlassian Team members are employees working across the company in a wide variety of roles.
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
AUG Leaders

Atlassian Community Events