Copy parent tags when a parent is linked in Azure DevOps
When a parent is linked onto a work item (the child is edited), add that parent’s tags in Azure DevOps.
The automation is triggered by the addition of a parent link to a work item. It merges the parent’s tags with those already present on the child, without affecting other fields or link types.
Prerequisite: Install Automations App on your Azure DevOps organization
Trigger — Work Item Link Added
This trigger activates the automation whenever a parent link is added to a work item. It processes each new link individually, ensuring the tags are copied for each linked item.
Configured in this template
- Work item types: all (no filter)
- Link types: Parent
You can customize
- Filter by specific work item types if needed.
- Adjust the link type to include other relationships.
- Set conditions to trigger only for certain projects.
Action — Copy Fields
This action copies the tags from the parent work item to the child. The tags on the child are merged with those from the parent, ensuring no tags are lost.
Configured in this template
- Work on: This work item
- Copy from: Parent of trigger
- Fields to copy: Tags
You can customize
- Choose additional fields to copy if needed.
- Modify the destination to copy to a different work item.
- Exclude certain tags from being copied.
Full automation
Common questions
How do I copy parent tags when a parent is linked 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.