Keep children on the parent’s area and iteration in Azure DevOps
When Area Path or Iteration Path changes on a parent that has children, copy those fields onto every child in Azure DevOps.
By default, Azure DevOps boards inherit area and iteration paths only at the time of creation. This automation helps maintain consistency when the parent work item is moved to a different area or iteration.
Prerequisite: Install Automations App on your Azure DevOps organization
Trigger — Work Item Update
This trigger activates when a work item's Area Path or Iteration Path is updated. It does not trigger for changes in links or comments.
Configured in this template
- Work item types: all (no filter)
- Changed fields (optional filter): Area Path, Iteration Path
You can customize
- Limit the trigger to specific work item types.
- Add more fields to monitor for changes.
- Exclude certain projects from triggering.
Condition — Work item fields
This condition checks if the work item has children. The automation proceeds only if this condition is met.
Configured in this template
- Check: This work item
- Require: All of Items
- Field conditions: (none)
- Match logic: All conditions must match (AND)
- Related work item conditions: children: at least one exists
You can customize
- Add specific field conditions to refine the check.
- Change the match logic to any conditions (OR).
- Require a minimum number of children.
Action — Copy Fields
This action copies the Area Path and Iteration Path from the parent work item to all its children. System.Tags are merged, while other fields are overwritten.
Configured in this template
- Work on: Children of trigger
- Copy from: Trigger work item
- Fields to copy:
- - Area Path
- - Iteration Path
You can customize
- Include additional fields to copy.
- Change the destination to specific child types.
- Modify the action to exclude certain fields.
Full automation
Common questions
How do I keep children on the parent’s area and iteration in Azure DevOps?
What fields are required to enable this automation?
Can I change the work item types this automation applies to?
How can I test this automation?
Does this automation run on a schedule?
Visual Studio Marketplace
Automations
Automate Azure DevOps workflows with triggers, actions, conditions, and scheduled rules.