自動化ルール | リンクされたすべての課題のカスタム フィールドの数値をリンクされた課題のストーリー ポイント フィールドに合計する

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

要約

この記事は、リンクされたすべての課題のカスタム フィールドの数値をリンクされた課題の [ストーリー ポイント] フィールドに合計する自動化ルールに役立ちます。

シナリオ:

課題 ADTR-12 と ADTR-24 は ADTR-2 にリンクされており、課題リンク タイプは「is parent of」親です。タイプが数値フィールドの「Efforts(M/D)」という名前のカスタム フィールドが ADTR-12 と ADTR-24 で更新されると、[ストーリー ポイント] フィールドが ADTR-2 で更新されるようにします。

課題とリンクされた課題のスクリーンショット

ソリューション

トリガー: フィールド更新時: 「Efforts(M/D)」

関連する課題の条件: リンク タイプ: 「"is child of"」の親

リンクされた課題の「total efforts」フィールドの値を、親自動化ルールのストーリー ポイント フィールドに合計する

ブランチ ルール/関連する課題: リンク タイプ: 「is parent of」

リンクされた課題の「total efforts」フィールドの値を、親自動化ルールのストーリー ポイント フィールドに合計する

課題のルックアップ: JQL: linkedIssues({{issue.key}}) の課題

リンクされた課題の「total efforts」フィールドの値を、親自動化ルールのストーリー ポイント フィールドに合計する

課題の編集: {{lookupIssues.Efforts(M/D).sum}}

リンクされた課題の「total efforts」フィールドの値を、親自動化ルールのストーリー ポイント フィールドに合計する

特定の自動化ルールに合わせて JSON ファイルを自由にインポートしてください。

{ "cloud": true, "rules": [ { "id": 16023785, "clientKey": "jira:049027c3-a93f-431c-80f2-36bb562f6f76", "name": "Sum the \"Total Efforts\" field value from Link issues to the \"Story Points\" fields on Parent ", "state": "ENABLED", "description": "", "authorAccountId": "557058:ebcac9a8-12bb-4688-8ac2-6c2e3f0e7d16", "actor": { "type": "ACCOUNT_ID", "value": "557058:f58131cb-b67d-43c7-b30d-6b58d40bd077" }, "created": 1699253587071, "updated": 1699457409781, "trigger": { "id": "351482898", "component": "TRIGGER", "parentId": null, "conditionParentId": null, "schemaVersion": 2, "type": "jira.issue.field.changed", "value": { "changeType": "ANY_CHANGE", "fields": [ { "value": "Efforts(M/D)", "type": "fieldName" } ], "actions": [] }, "children": [], "conditions": [], "connectionId": null }, "components": [ { "id": "351482899", "component": "CONDITION", "parentId": null, "conditionParentId": null, "schemaVersion": 1, "type": "jira.issues.related.condition", "value": { "relatedType": "linked", "linkTypes": [], "operator": "present", "relatedJql": "", "compareJql": "", "compareValue": 0, "similarityLimit": 40, "jql": "" }, "children": [], "conditions": [], "connectionId": null }, { "id": "351482900", "component": "BRANCH", "parentId": null, "conditionParentId": null, "schemaVersion": 1, "type": "jira.issue.related", "value": { "relatedType": "linked", "jql": "key={{Issue.Parent Link}}", "linkTypes": [], "onlyUpdatedIssues": false, "similarityLimit": 40, "compareValue": 0 }, "children": [ { "id": "351482901", "component": "ACTION", "parentId": "351482900", "conditionParentId": null, "schemaVersion": 1, "type": "jira.lookup.issues", "value": { "id": "_customsmartvalue_id_1699453762167", "name": { "type": "FREE", "value": "lookupIssues" }, "type": "JQL", "query": { "type": "SMART", "value": "issue in linkedIssues({{issue.key}})" }, "lazy": false }, "children": [], "conditions": [], "connectionId": null }, { "id": "351482902", "component": "ACTION", "parentId": "351482900", "conditionParentId": null, "schemaVersion": 10, "type": "jira.issue.edit", "value": { "operations": [ { "field": { "type": "NAME", "value": "Story Points" }, "fieldType": "com.atlassian.jira.plugin.system.customfieldtypes:float", "type": "SET", "value": "{{lookupIssues.Efforts(M/D).sum}}" } ], "advancedFields": "", "sendNotifications": true }, "children": [], "conditions": [], "connectionId": null }, { "id": "351482903", "component": "ACTION", "parentId": "351482900", "conditionParentId": null, "schemaVersion": 1, "type": "codebarrel.action.log", "value": "{{lookupIssues.Efforts(M/D).sum}}", "children": [], "conditions": [], "connectionId": null } ], "conditions": [], "connectionId": null } ], "canOtherRuleTrigger": false, "notifyOnError": "FIRSTERROR", "projects": [], "labels": [], "tags": [ { "id": 49220464, "tagType": "IS_RULE_UPDATED", "tagValue": "true" } ], "ruleScope": { "resources": [ "ari:cloud:jira:29cac108-4849-4658-90bb-6eec99094fcf:project/10427" ] }, "ruleHome": { "ruleLifecycleHome": { "locationARI": "ari:cloud:jira:29cac108-4849-4658-90bb-6eec99094fcf:project/10427" }, "ruleBillingHome": { "locationARI": "ari:cloud:jira-software::site/29cac108-4849-4658-90bb-6eec99094fcf" } }, "writeAccessType": "UNRESTRICTED", "collaborators": [], "billingType": "NORMAL" } ] }

更新日時: September 25, 2025

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

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