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 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
https://support.atlassian.com/opsgenie/docs/view-your-on-call-schedule/
that might be good enough for what you want to do.
Thanks Andrew, your answer is driving away from this solution, might be hard to maintain this in the long run with no devs on our side. Might use the teams and ical solution and see which gives me best results.
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.