Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Using MS Flow using HTTP request to find out who is on call

William Butt April 27, 2023

Hello,

I am able to create an HTTP action within a MS Flow to return a list of teams that are on call for an upcoming weekend by using our opsgenie_api_key as well as our URL.

However, I'm not sure how to get further information for each team to find out who is actually on call.

I'm fairly new to using MS Flows and wondering if this is even possible? Trying to just retrieve the item highlighted in red on the screenshot.

Opsgenie - Who Is On Call.jpg

I have figured out the HTTP action and the URL would look like this for a specific team however it only returns information if someone is on-call at the time of the MS run, it doesn't seem to be able to check future dates.

 

Below is the config of action... it is returning the team requested but not future upcoming.

Probably a configuration of the URL around the date/time... not sure... if anybody has any ideas, let me know... I will try to keep on testing.

 

Opsgenie - Who Is On Call for current user.jpg

1 answer

0 votes
William Butt April 27, 2023

Figured it out. It has to do with the URI....

 

https://api.opsgenie.com/v2/schedules/{ScheduleName}/next-on-calls

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events