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

Auto-Close alerts

Davide Colombo February 22, 2023

Hello everyone,

I've searched up for an automatism that can auto close all the alerts after a specific period of time (more than 7 days as the auto-close policy). I know I can only manage it through each Teams setting, but cannot figured it out. Could someone help me?

1 comment

Tom Russell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 22, 2023

We run a daily script that closes old alerts with the API. We calculate the date/time X days ago (7 in your case) and do a search for "status = open and updatedAt < {calculated date/time}".

This gives us the list of old alerts. We then iterate through and close each with an API call.

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events