I am trying to collect historical data about shift schedules and I collect that data using the schedule timeline API call: https://docs.opsgenie.com/docs/schedule-api#get-schedule-timeline
Everything looks good, but there seems to be a problem with deleted users (users that left the company and have been removed from opsgenie account completely). Their "participant" entry contains no name:
{
"startDate": "2021-08-27T16:00:00Z",
"endDate": "2021-08-28T00:00:00Z",
"type": "historical",
"recipient": {
"id": "306ef56f-c053-4ee0-a37e-6de5a25fa3f6",
"type": "user"
},
For comparison, here is an entry for an active user:
{
"startDate": "2021-08-26T16:00:00Z",
"endDate": "2021-08-27T06:00:00Z",
"type": "historical",
"recipient": {
"id": "b55143c4-0ef9-45d5-b615-febaf011ed59",
"type": "user",
"name": "name@domain.foo"
},
Fun fact: on the web UI I can navigate back to the same date and see the name of the person who was on call on august, 27th 2021 so the data is there somehow.
Is there a way to get the name of deletes users in the timeline API?
Hi @Christian Bianchi ,
Happy to help!
At the moment, seeing Deleted Users is not possible, in part because removed association with the returned ID. To address this, we have filed a Feature Request here https://jira.atlassian.com/browse/OPSGENIE-812, and I would recommend adding yourself as a Watcher, and vote on it to receive direct updates from Engineering.
Please let us know if you have any follow up questions!
Gotcha, thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No problem!
Let us know if you have any other questions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.