I recently helped a client migrate Opsgenie functionality to the built-in JSM Operations module. While rebuilding some automations, particularly for paging the Incident Management team, I discovered that Atlassian's instructions are outdated and the Team IDs don’t match. In other words, the IDs in the URL are different to what’s in the JSON representation. To assist others facing similar challenges, I created a video tutorial.
1. Build you Teams and enable the Operations feature first
2. Look at the JSON info (Note that the Team ID does not match the Team ID on the Responder custom field)
{ "ari": "ari:cloud:opsgenie::team/", "name": "<Team's name>", "type": "team" }
3. Build the Automation
JSON UPDATE SYNTAX:
{
"update":
{ "Responders":
[
{ "add":[
{ "ari": "ari:cloud:opsgenie:<cloudID>:team/<teamID>",
"name": "<Team's name>",
"type": "team"
}
]
}
]
}
}
Full Video Tutorial
Thanks,
Fabian
Fabian Lim
Consultant
N/A
Toronto
559 accepted answers
2 comments