Set Planned Dates based on Iteration/Release/Team Iteration dates
How to apply this rule?
How to reschedule work when dates for Iterations/Team Iteration/Release are changed?
Set Planned Dates when an items is added to an Iteration

[
{
"type": "source:targetprocess:EntityChanged",
"entityTypes": [
"UserStory",
"Task",
"Bug"
],
"modifications": {
"created": true,
"deleted": false,
"updated": [
"Iteration"
]
}
},
{
"type": "filter:Relational",
"or": [
{
"and": [
{
"target": {
"type": "field",
"name": "Iteration",
"target": {
"type": "pipelineBlockOutput"
}
},
"value": null,
"operator": {
"type": "exists"
}
}
]
}
]
},
{
"type": "action:targetprocess:UpdateEntity",
"fields": {
"PlannedStartDate": {
"type": "field",
"name": "StartDate",
"target": {
"type": "field",
"name": "Iteration",
"target": {
"type": "pipelineBlockOutput"
}
}
},
"PlannedEndDate": {
"type": "field",
"name": "EndDate",
"target": {
"type": "field",
"name": "Iteration",
"target": {
"type": "pipelineBlockOutput"
}
}
}
},
"target": {
"type": "pipelineBlockOutput",
"blockAlias": "ui:source"
}
}
]
Remove Planned Dates when an items is removed from the Iteration

[
{
"type": "source:targetprocess:EntityChanged",
"entityTypes": [
"UserStory",
"Task",
"Bug"
],
"modifications": {
"created": false,
"deleted": false,
"updated": [
"Iteration"
]
}
},
{
"type": "filter:Relational",
"or": [
{
"and": [
{
"target": {
"type": "field",
"name": "Iteration",
"target": {
"type": "pipelineBlockOutput"
}
},
"value": null,
"operator": {
"type": "not exists"
}
}
]
}
]
},
{
"type": "action:targetprocess:UpdateEntity",
"fields": {
"PlannedStartDate": {
"type": "constant",
"value": null
},
"PlannedEndDate": {
"type": "constant",
"value": null
}
},
"target": {
"type": "pipelineBlockOutput",
"blockAlias": "ui:source"
}
}
]
Set Planned Dates when an items is added to a Team Iteration

[
{
"type": "source:targetprocess:EntityChanged",
"entityTypes": [
"UserStory",
"Task",
"Bug",
"Feature"
],
"modifications": {
"created": true,
"deleted": false,
"updated": [
"TeamIteration"
]
}
},
{
"type": "filter:Relational",
"or": [
{
"and": [
{
"target": {
"type": "field",
"name": "TeamIteration",
"target": {
"type": "pipelineBlockOutput"
}
},
"value": null,
"operator": {
"type": "exists"
}
}
]
}
]
},
{
"type": "action:targetprocess:UpdateEntity",
"fields": {
"PlannedStartDate": {
"type": "field",
"name": "StartDate",
"target": {
"type": "field",
"name": "TeamIteration",
"target": {
"type": "pipelineBlockOutput"
}
}
},
"PlannedEndDate": {
"type": "field",
"name": "EndDate",
"target": {
"type": "field",
"name": "TeamIteration",
"target": {
"type": "pipelineBlockOutput"
}
}
}
},
"target": {
"type": "pipelineBlockOutput",
"blockAlias": "ui:source"
}
}
]
Remove Planned Dates when an items is removed from the Team Iteration

[
{
"type": "source:targetprocess:EntityChanged",
"entityTypes": [
"UserStory",
"Task",
"Bug",
"Feature"
],
"modifications": {
"created": false,
"deleted": false,
"updated": [
"TeamIteration"
]
}
},
{
"type": "filter:Relational",
"or": [
{
"and": [
{
"target": {
"type": "field",
"name": "TeamIteration",
"target": {
"type": "pipelineBlockOutput"
}
},
"value": null,
"operator": {
"type": "not exists"
}
}
]
}
]
},
{
"type": "action:targetprocess:UpdateEntity",
"fields": {
"PlannedStartDate": {
"type": "constant",
"value": null
},
"PlannedEndDate": {
"type": "constant",
"value": null
}
},
"target": {
"type": "pipelineBlockOutput",
"blockAlias": "ui:source"
}
}
]
Set Planned Dates when an items is added to a Release

[
{
"type": "source:targetprocess:EntityChanged",
"entityTypes": [
"UserStory",
"Task",
"Bug",
"Feature",
"Epic",
"PortfolioEpic"
],
"modifications": {
"created": true,
"deleted": false,
"updated": [
"Release"
]
}
},
{
"type": "filter:Relational",
"or": [
{
"and": [
{
"target": {
"type": "field",
"name": "Release",
"target": {
"type": "pipelineBlockOutput"
}
},
"value": null,
"operator": {
"type": "exists"
}
}
]
}
]
},
{
"type": "action:targetprocess:UpdateEntity",
"fields": {
"PlannedStartDate": {
"type": "field",
"name": "StartDate",
"target": {
"type": "field",
"name": "Release",
"target": {
"type": "pipelineBlockOutput"
}
}
},
"PlannedEndDate": {
"type": "field",
"name": "EndDate",
"target": {
"type": "field",
"name": "Release",
"target": {
"type": "pipelineBlockOutput"
}
}
}
},
"target": {
"type": "pipelineBlockOutput",
"blockAlias": "ui:source"
}
}
]
Remove Planned Dates when an items is removed from the Release

[
{
"type": "source:targetprocess:EntityChanged",
"entityTypes": [
"UserStory",
"Task",
"Bug",
"Feature",
"Epic",
"PortfolioEpic"
],
"modifications": {
"created": false,
"deleted": false,
"updated": [
"Release"
]
}
},
{
"type": "filter:Relational",
"or": [
{
"and": [
{
"target": {
"type": "field",
"name": "Release",
"target": {
"type": "pipelineBlockOutput"
}
},
"value": null,
"operator": {
"type": "not exists"
}
}
]
}
]
},
{
"type": "action:targetprocess:UpdateEntity",
"fields": {
"PlannedStartDate": {
"type": "constant",
"value": null
},
"PlannedEndDate": {
"type": "constant",
"value": null
}
},
"target": {
"type": "pipelineBlockOutput",
"blockAlias": "ui:source"
}
}
]
Updated almost 6 years ago