API を使用して、Jira Service Management を自動化するためのページを Confluence で作成したいと考えています。
使用している API エンドポイントは Confluence Cloud API です
https://<your-site-namae>/wiki/rest/api/content
ADF(Atlassian Document Format)形式でデータを書き込むには、"representation": "atlas_doc_format"を設定します。
以下のカスタムデータを設定したところ、Confluenceページは無事に作成されたのですが、ページの内容が空白で値が反映されませんでした。
{ "space": { "key": "<space-key>" }, "status": "current", "title": "test", "type": "page", "body": { "representation": "atlas_doc_format", "value": { "version": 1, "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Hello " }, { "type": "text", "text": "world", "marks": [ { "type": "strong" } ] } ] } ] } } }
この目的のためにカスタムデータを適切にフォーマットする方法についてアドバイスをいただけますか?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.