I'm trying to create some basic automation flows using the REST API, more specifically I'm trying to create actions/task on a Confuence page and assign them to the user that is currently on watch for an Opsgenie scheduler, but the identifier returned by the Opsgenie API is not an AccountId. There doesn't seem to be any way to get that AccountId, and there is no way to match the user against the user returned by the Confluence API since there is no "get user by email" method....
The Opsgenie instance is already using Atlassian login, so how is this supposed to work? The AccountId is supposed to be the unique identifier across all the Atlassian products, but it seems that Opsgenie still uses it's own identifier...
This is all in the cloud, not on-prem, and without any changes to the default setup.