{
"name": "Close epic after all stories are done",
"description": "",
"creator": "admin",
"status": false,
"triggerData": "",
"triggerType": "ISSUE_TRANSITIONED_EVENT",
"configuration": {
"refs": [
"issue",
"system",
"trigger.issue",
"trigger.parent"
],
"triggerType": ""
},
"children": [
{
"sequence": 0,
"type": "JQL_CONDITION",
"ruleEntityType": "CONDITION",
"configuration": {
"refs": [
"issue",
"project",
"system",
"trigger",
"trigger.issue",
"trigger.parent"
],
"jql": "type = \"Story\" and status = \"Done\"",
"jqlParsingMode": "jql",
"actingUser": "field_00020"
},
"children": [
{
"sequence": 0,
"type": "BOOLEAN_CONDITION",
"ruleEntityType": "CONDITION",
"configuration": {
"refs": [
"issue",
"project",
"system",
"trigger",
"trigger.issue",
"trigger.parent"
],
"expression": "count(filterByStatus(issuesUnderEpic(%{trigger.issue.cf10001}), \"Done\")) = count(issuesUnderEpic(%{trigger.issue.cf10001}))",
"expressionParsingMode": "logical",
"actingUser": "field_00020"
},
"children": [
{
"sequence": 0,
"type": "ISSUE_SELECTOR",
"ruleEntityType": "SELECTOR",
"configuration": {
"refs": [
"issue",
"project",
"system",
"trigger",
"trigger.issue",
"trigger.parent"
],
"option": "issueList",
"issueListExpression": "epic()",
"issueListExpressionParsingMode": "issues",
"actingUser": "field_00020"
},
"children": [
{
"sequence": 0,
"type": "TRANSITION_ISSUE",
"ruleEntityType": "ACTION",
"configuration": {
"refs": [
"issue",
"project",
"system",
"trigger",
"trigger.issue",
"trigger.parent"
],
"option": "status",
"status": "10001",
"actingUser": "field_00020"
},
"children": null,
"hasChildren": false
}
],
"hasChildren": true
}
],
"hasChildren": true
}
],
"hasChildren": true
}
],
"hasChildren": true
} |