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
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
I am looking to make the IT rota public, hence looking to integrate the rota with share point which can be made public inside the org. Has someone done this, and can you please share how you did it ?
I have done this, but it took a good deal of perl scripting.
I would basically use API calls to OpsGenie to get the oncall users. Examples of API endpoints that i used..
Get on call user : schedules/$rotation/on-calls?scheduleIdentifierType=name
get next on call user: schedules/$rotation/next-on-calls?scheduleIdentifierType=name
get all users in rotation: schedules/$rotation?identifierType=name
I would generate the ordered on call list
Then I would use Sharepoint's API to update that list to a list in sharepoint. Using things like the "lists/GetByTitle" endpoint, and building the structure that sharepoint wants.
I'll be honest here, it took a lot of debugging and really delving into the details of how both the Opsgenie REST API and the Sharepoint REST API worked. I wrote a few perl libraries to handle a lot of the details to get some re-usability out of it.
But it is possible to look up the on call users and rotation, and post that to a sharepoint list for users to see.
Another option you may want to look at is to leverage the ical support in OpsGenie
that might be good enough for what you want to do.