We have about 10 people who are in our on-call rotation. Our team is quite busy, so we do not always remember to actively go look at the on-call schedule to see when it is coming up.
Is there an option or a way we can get an emailed report from opsgenie each month (or week) that shows the next several weeks of on-call? This way, people will see the upcoming schedule in their mailbox instead of being notified the morning of them going on-call.
Hi @Rich Smith ,
There is no report for on-call but you can export the team schedule to your calendar using the 'open calendar' button on the team schedule and see/get calendar updates directly from Google or whichever calendar application you use.
Which is unfortunately not helpful.
A solution that might work, is API usage. Is there a way to query future on call schedules using the REST API? Or is it only for the current on call users? I can write a script to gather and email the information, if the API supports it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The Get Schedule Timeline API can be used to get future on-call recipients for a given time period.
https://docs.opsgenie.com/docs/schedule-api#get-schedule-timeline
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. This is what I need. I can poll this api for a few weeks in advance, and build an email from it.
Maybe I'll post the script here after I write it. If I can get to it soon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.