Open User Story when one of its Bugs becomes open
Rule config:
[
{
"type": "source:targetprocess:EntityChanged",
"entityTypes": [
"Bug"
],
"modifications": {
"created": true,
"deleted": false,
"updated": [
"EntityState"
]
}
},
{
"or": [
{
"and": [
{
"value": {
"type": "constant",
"value": null
},
"target": {
"name": "IsInitial",
"type": "field",
"target": {
"name": "EntityState",
"type": "field",
"target": {
"type": "pipelineBlockOutput"
}
}
},
"operator": {
"type": "is true"
}
},
{
"value": {
"type": "constant",
"value": null
},
"target": {
"name": "IsFinal",
"type": "field",
"target": {
"name": "EntityState",
"type": "field",
"target": {
"name": "UserStory",
"type": "field",
"target": {
"type": "pipelineBlockOutput"
}
}
}
},
"operator": {
"type": "is true"
}
}
]
}
],
"type": "filter:Relational"
},
{
"type": "action:targetprocess:MoveToState",
"target": {
"name": "UserStory",
"type": "field",
"target": {
"type": "pipelineBlockOutput"
}
},
"stateKind": "Initial"
}
]
Updated over 4 years ago