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 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
But, these fields are returning blanks.
Can I get help to get the right fields for the actual names of teams and responders??
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.
Support Engineer, Atlassian