Automation for Jira Cloud の "フィールド値の変更時" トリガーで "エピック リンク" フィールドを使用する方法
プラットフォームの注記: Cloud のみ - This article only applies to Atlassian apps on the クラウド プラットフォーム上のアトラシアン製品にのみ適用されます。
要約
現在、エピック リンクで行われた更新を検出するために Automation for Jira の "フィールド値の変更時" トリガーで "エピック リンク" フィールドを使用することはサポートされていません。たとえば、エピック リンクが変更された場合は、新しくマッピングされたエピックからその子ストーリー/標準課題に担当者をコピーします。
ソリューション
自動化ルールの JSON エクスポート ファイルの例を以下に添付しました。
{
"cloud": true,
"rules": [
{
"id": 10018412,
"clientKey": "1c31e6c8-1670-3d31-a45b-8adaff6b574e",
"name": "Copy Values from Epic to its child issue",
"state": "DISABLED",
"description": "When an Epic Link is updated on the child issue copy the new epics data to its child issue.",
"authorAccountId": "5fbe39a578f01800762d3e4b",
"actor": {
"type": "ACCOUNT_ID",
"value": "557058:f58131cb-b67d-43c7-b30d-6b58d40bd077"
},
"created": 1674827414457,
"updated": 1687943760263,
"trigger": {
"id": "281230572",
"component": "TRIGGER",
"parentId": null,
"conditionParentId": null,
"schemaVersion": 1,
"type": "jira.issue.event.trigger:updated",
"value": {
"eventKey": "jira:issue_updated",
"issueEvent": "issue_updated"
},
"children": [],
"conditions": [],
"connectionId": null
},
"components": [
{
"id": "281230573",
"component": "CONDITION",
"parentId": null,
"conditionParentId": null,
"schemaVersion": 3,
"type": "jira.issue.condition",
"value": {
"selectedField": {
"type": "ID",
"value": "issuetype"
},
"selectedFieldType": "issuetype",
"comparison": "ONE_OF",
"compareValue": {
"type": "ID",
"modifier": null,
"value": "[\"10001\",\"10003\",\"10004\"]",
"multiValue": true,
"source": null
}
},
"children": [],
"conditions": [],
"connectionId": null
},
{
"id": "281230574",
"component": "CONDITION",
"parentId": null,
"conditionParentId": null,
"schemaVersion": 1,
"type": "jira.comparator.condition",
"value": {
"first": "{{#changelog.epic link}}{{toString}}{{/}}",
"second": "",
"operator": "NOT_EQUALS"
},
"children": [],
"conditions": [],
"connectionId": null
},
{
"id": "281230575",
"component": "ACTION",
"parentId": null,
"conditionParentId": null,
"schemaVersion": 10,
"type": "jira.issue.edit",
"value": {
"operations": [
{
"field": {
"type": "ID",
"value": "assignee"
},
"fieldType": "assignee",
"type": "SET",
"value": {
"type": "COPY",
"value": "parent"
}
}
],
"advancedFields": null,
"sendNotifications": true
},
"children": [],
"conditions": [],
"connectionId": null
}
],
"canOtherRuleTrigger": false,
"notifyOnError": "FIRSTERROR",
"projects": [
{
"projectId": "10002",
"projectTypeKey": "software"
}
],
"labels": [
255337
],
"tags": [
{
"id": 35312412,
"tagType": "IS_RULE_UPDATED",
"tagValue": "true"
}
],
"ruleScope": {
"resources": [
"ari:cloud:jira:604c6d6c-4d78-4c1c-b530-6af8ea585730:project/10002"
]
},
"ruleHome": {
"ruleLifeCycleHome": {
"locationARI": "ari:cloud:jira:604c6d6c-4d78-4c1c-b530-6af8ea585730:project/10002"
},
"ruleBillingHome": {
"locationARI": "ari:cloud:jira-software::site/604c6d6c-4d78-4c1c-b530-6af8ea585730"
}
},
"writeAccessType": "UNRESTRICTED",
"collaborators": [],
"billingType": "NORMAL"
}
]
}注意
上記の JSON コードをファイルにコピーして、.json として保存します。Jira にインポートして上記のルールをインポートします。
自動化ルールの概要:
トリガー: 課題の更新
高度な比較条件:
最初の値: {{#changelog.epic link}}{{toString}}{{/}}
条件: 等しくない
第 2 の値: 空 (空白のまま)
課題を編集: (担当者/その他のフィールドを) 編集して、親エピックの変更を反映します (親からコピー)
更新日時: September 25, 2025
この内容はお役に立ちましたか?
さらにヘルプが必要ですか?
アトラシアン コミュニティをご利用ください。