Hi,
I am trying to modify an existing API that already pulls $OGAlert.teams.id and $OGAlert.responder.id
I want to replace those ids with names so, used these 2 fields
$OGAlert.teams.name
$OGAlert.responder.name
But, these fields are returning blanks.
Can I get help to get the right fields for the actual names of teams and responders??
Thanks
This is Darryl. I am here to help.
Understand that you would like to obtain the Teams and Responders of an Opsgenie Alert via API calls.
I assume that you are incorporating the Get Alert API Call to craft your script.
Please note that the response of this endpoint for the Teams and Responders field is always the full ID, instead of the Name.
The alternative here is to make 2 extra API calls to incorporate the IDs you've obtained:
Hope this helps.
Kind regards,
Darryl Lee
Support Engineer, Atlassian
Thanks so much for the prompt response, @Darryl Lee
Will try the additional APIs and will let you know if I need any furthur assistnace.
Best regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No problem at all!
Looking forward to your test result. :)
Kind regards,
Darryl Lee
Support Engineer, Atlassian
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.