Confluence で共同編集を無効化したあとに失われた共有下書きを復元または特定する方法
プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。
このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
目的
If you've disabled collaborative editing and would like to recover your shared drafts, you can run the following to access them through your browser:
ソリューション
- Connect to your Confluence database
以下を実行します。
SELECT draft.contentid, s.spacename, draft.title, b.body FROM content draft JOIN spaces s on draft.spaceid = s.spaceid JOIN bodycontent b on b.contentid = draft.contentid JOIN content page on page.contentid = draft.prevver WHERE draft.contenttype = 'PAGE' AND draft.content_status = 'draft' AND draft.lastmoddate > page.lastmoddate;
- From the list, identify the title of the page you'd like to recover
- Copy the content from the body column
This content will be the XHTML or storage format that Confluence uses to store this information. If you'd like to restore this to a page in your instance, this can be done by installing the Confluence Source Editor plugin. You can then edit an existing page, click on the <> icon in the top right, and paste the XHTML code into the page.