Reopen parent when a child is reopened in Azure DevOps
When a child leaves Completed (Closed or Done), set the parent back to In progress (Active, Committed, Doing, …) in Azure DevOps.
Using this template, you can automatically update the state of a parent work item whenever any of its child items leave the 'Completed' state. This is especially useful for teams that need to track ongoing work and ensure that parent items reflect the current status of their child items.
Prerequisite: Install Automations App on your Azure DevOps organization
Trigger — Work Item Update
This trigger activates when a work item's field changes, specifically monitoring the 'State' field. It does not include changes to links or comments.
Configured in this template
- Work item types: all (no filter)
- Changed fields (optional filter): State
You can customize
- Limit the trigger to specific work item types if needed.
- Add additional fields to monitor if required.
Condition — Work item fields
This condition checks if the work item's state has changed from a 'Completed' category. It ensures that the work item has at least one parent item before proceeding.
Configured in this template
- Check: This work item
- Require: All of Items
- Field conditions: State Changed From state category Completed (Closed, Done, …)
- Match logic: All conditions must match (AND)
- Related work item conditions: parent: at least one exists
You can customize
- Adjust the state categories to match your project's workflow terms.
- Modify related work item conditions if your hierarchy differs.
Action — Update Work Item
This action updates the parent work item's state to 'In progress' when the conditions are met. It targets the parent of the triggered work item.
Configured in this template
- Work on: Parent of trigger
- Field updates: State = state category In progress (Active, Committed, Doing, …)
You can customize
- Change the target state category to align with your project workflow.
- Include additional field updates if necessary.
Full automation
Common questions
How do I reopen parent when a child is reopened 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?
Is it possible to adjust the state categories used in this automation?
Visual Studio Marketplace
Automations
Automate Azure DevOps workflows with triggers, actions, conditions, and scheduled rules.