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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.