Copy custom field values between child work items and parents with Jira Automation

プラットフォームの注記: Cloud のみ - This article only applies to Atlassian apps on the クラウド プラットフォーム上のアトラシアン製品にのみ適用されます。

要約

Jira Automation provides various ways to modify work item fields, allowing for replication of field data between parent and child items. However, note that aggregate calculations such as roll-ups of values (e.g., summing 'Original Estimate' from child to parent issues) are not natively supported beyond subtask-parent relationships. In such cases, automation rules must be set up to achieve the desired results.

ソリューション

親作業項目からコピーした値を含む子作業項目を作成します

In this example, we'll use a Manual trigger that will be executed from the Parent work item. It's also possible to use Automated triggers, including the Issue edited or Scheduled triggers if you prefer. For copying a field value (e.g., 'Component') from an Epic to linked Tasks, you can set up an automation rule triggered upon Task creation. Add a condition to confirm the parent is an Epic, and configure an 'Edit Issue' action to copy the desired field from the Epic to the Task.

Note: This counts towards your monthly Automation rule execution limits.

  1. [プロジェクト設定] > [自動化] > [ルールを作成] に移動します。

  2. [手動トリガー] を選択します。

    1. オプションで、このトリガーを親作業項目タイプにのみ表示することもできます

  3. Select Add an action

  4. 作業項目を作成アクションを選択します。

    1. トリガー作業タイプよりも階層の下位にある作業タイプを選択します

  5. Add a Summary to the created work

    1. 親に基づく動的な要約が必要な場合は、スマート値を使用することをお勧めします。

  6. In the Choose fields to set selector, select the Parent field, and any fields you'd like to copy to the newly created work

  7. [] フィールドを [トリガー課題] に設定します。

  8. コピーするフィールドで、[...] (その他のオプション) > [コピー] > [トリガー課題からコピー] を選択します。

子作業項目から親にフィールド値をコピーする

ここで、トリガー課題が親ではなく子課題になります。

  1. [プロジェクト設定] > [自動化] > [ルールを作成] に移動します。

  2. [手動トリガー] を選択します。

    1. オプションで、子作業項目タイプにのみこのトリガーを表示するように選択できます

  3. Select FOR EACH: Add a branch > Branch rule / Related issues > Parent

  4. 新しいブランチに [作業項目を編集] アクションを追加します。

  5. コピーしたいフィールドを選択します

  6. For each selected field, select ...(more options) > COPY > Copy from Trigger Issue

Copy field value from one child work item to parent, and all children of the same parent

このタスクを達成するには 2 つの自動化ルールが必要ですが、どちらも 1 つのユーザー アクションだけでトリガーされます。

We'll use a Manual trigger on the child work item to update a field on the parent. This will subsequently trigger the second rule, which runs on all additional child work items that have the same parent as our trigger rule.

  1. [プロジェクト設定] > [自動化] > [ルールを作成] に移動します。

  2. [手動トリガー] を選択します。

    1. オプションで、子作業項目タイプにのみこのトリガーを表示するように選択できます

  3. Select FOR EACH: Add a branch > Branch rule / Related issues > Parent

  4. 新しいブランチに [作業項目を編集] アクションを追加します。

  5. コピーしたいフィールドを選択します

  6. For each selected field, select ...(more options) > COPY > Copy from Trigger Issue

次のルールは、親作業項目によってトリガーされ、自動的に実行されます。

  1. [プロジェクト設定] > [自動化] > [ルールを作成] に移動します。

  2. Select the Field value changed trigger

    1. 以前のルールで編集されたフィールドを 1 つ選択します

  3. Select FOR EACH: Add a branch > Branch rule / Related issues > Children

  4. 新しいブランチに [作業項目を編集] アクションを追加します。

  5. コピーしたいフィールドを選択します

  6. For each selected field, select ...(more options) > COPY > Copy from Trigger Issue

  7. このルールの [ルールの詳細] で、[Check to allow other rule actions to trigger this rule (他のルールのアクションによってこのルールがトリガーされることを許可する場合はチェックします)] というラベルの付いたチェックボックスがオンになっていることを確認します。

    1. チェックされていないと、このルールは前のルールの後に自動で実行されません

更新日時: February 13, 2026

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。