Confluence ページを作成するルールを設定する
Confluence インスタンスと統合できます。この方法では、誰かが課題を作成したり、課題にコメントを追加したりするたびに、Jira Automation のルールによって Confluence ページが作成されます。
Jira 自動化でルールを設定する前に、Confluence で "ページを作成" 権限を持つユーザーを作成して、個人用アクセス トークンを生成します。個人用アクセス トークンの使用方法に関する詳細をご確認ください。
Jira Automation から Confluence ページを作成するには、次の手順に従います。
- Confluence ページの作成権限があることを確認します。
- "Web リクエストを送信" 条件を使用したルールを作成します。
- 次のスクリーンショットに示すように、条件のパラメーターを設定します。
- <Confluence_base_url> は対象の Confluence インスタンスの URL に置き換えてください。
- <Token> には、生成した個人用アクセス トークンを Base64 形式で入力します。
- 匿名ユーザーがページを作成する場合のために、認証ヘッダーを削除します。
Set custom data as needed:
In the example above, the Confluence page title is set as the issue's key by using smart values. The syntax will be as shown below:
{ "type":"page", "title":"{{issue.key}}", "space":{"key":"TST"}, "body":{ "storage":{ "value":"<p>This is <br/> a new page</p>","representation": "storage" } } }
- You may also use the syntax below to create a new page as a child of another page with ID 456.
{ "type":"page", "title":"{{issue.key}}", "ancestors":[{"id":456}], "space":{"key":"TST"}, "body":{ "storage":{ "value":"<p>This is <br/> a new page</p>","representation": "storage" } } }
ルールを有効にします。
最終更新日 2025 年 4 月 14 日
Powered by Confluence and Scroll Viewport.