WikiTransformationProject / wikitraccs-releases

Releases, issues and discussions for WikiTraccs from the Wiki Transformation Project
https://www.wikitransformationproject.com
8 stars 0 forks source link

Confluence Cloud: @-mentions for legacy Confluence user accounts fail to resolve #114

Open heinrich-ulbricht opened 3 months ago

heinrich-ulbricht commented 3 months ago

Note: this issue seems to happen when migrating content from Confluence Cloud to SharePoint Online that previously had been migrated from Confluence on-premises to Confluence Cloud.

Context

When migrating Confluence Cloud page contents and comments to SharePoint Online and the pages contain @-mentions, WikiTraccs will look up the user names for those mentions. The lookup is necessary, because internally Confluence refers to mentioned users via user ID, but the SharePoint page should rather show the user name.

What is expected?

I expect migrated pages to show @-mentioned users in this format: "@JohnDisplayName".

What is happening instead?

Sometimes Confluence @-mentions are transformed to "[unresolved user] @1231abc4561".

Analysis

It was observed that previously migrated (from Confluence on-prem to Confluence Cloud) page comments, that refer to migrated (from Confluence on-prem to Confluence Cloud) user accounts, internally use the old on-prem user key as user reference. This key cannot be looked up in the cloud because the Confluence Cloud API only allows looking up account IDs (not keys).

Further analysis is necessary on how to convert the legacy user keys to user names, when using Confluence Cloud APIs.

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 20 days with no activity. Remove stale label or comment, or this will be closed in 10 days.