You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.