Hi everybody,
when I do full XML export of space from Confluence cloud, there are definitions of users, something like:
<object class="ConfluenceUserImpl" package="com.atlassian.confluence.user">
<id name="key"><![CDATA[user_key]]></id>
<property name="name"><![CDATA[user_email]]></property>
<property name="lowerName"><![CDATA[user_email]]></property>
<property name="atlassianAccountId"><![CDATA[user_account_id]]></property>
</object>
Are you aware of any other (ideally easier) way how to get the user_key other then XML export?
It is possible to get this information from REST API in server using endpoint /rest/api/user?username=user_username (there's userKey param in the response), but when I use cloud endpoint /wiki/rest/api/user?accountId=user_accountId, this information is missing in the response.
I also tried to find it somewhere in the admin section in user's profile etc., but no luck.
Thank you very much!