Create child tasks automatically in Azure DevOps
When a User Story is created, create child Tasks via stacked Create Work Item steps in Azure DevOps.
Set the work item types and task titles to match your process before you enable it. You can start from this gallery template or rebuild the same three Create Work Item steps from scratch.
Prerequisite: Install Automations App on your Azure DevOps organization
Trigger — Work Item Created
This trigger activates when a new work item, specifically a User Story, is created in your project. It sets the automation in motion, prompting the creation of child tasks.
Configured in this template
- Work item types: User Story
You can customize
- Change the work item type to another type like Bug or Feature if needed.
- Add conditions to trigger only for specific tags or areas.
Action — Create Work Item
This action creates a new work item, which is a child of the triggered User Story. It sets the title to 'Design' followed by the User Story's title.
Configured in this template
- Work item type: all (no filter)
- Link to trigger: Child of trigger
- Field values: Title = Design:
{trigger.Title}
You can customize
- Modify the title to suit your project's naming conventions.
- Set additional field values like priority or assigned user.
Action — Create Work Item
This action generates another child work item titled 'Implement', linked to the original User Story.
Configured in this template
- Work item type: all (no filter)
- Link to trigger: Child of trigger
- Field values: Title = Implement:
{trigger.Title}
You can customize
- Adjust the title to reflect different phases like 'Development'.
- Include additional fields such as estimated time.
Action — Create Work Item
The final action creates a 'Test' task, completing the set of child tasks for the User Story.
Configured in this template
- Work item type: all (no filter)
- Link to trigger: Child of trigger
- Field values: Title = Test:
{trigger.Title}
You can customize
- Rename the task to match specific testing phases.
- Add fields like test environment or test cases.
Full automation
Common questions
How do I create child tasks automatically in Azure DevOps?
What fields are required to enable this automation?
Can I change the work item types for the child tasks?
How can I test this automation?
Is it possible to schedule when the tasks are created?
Visual Studio Marketplace
Automations
Automate Azure DevOps workflows with triggers, actions, conditions, and scheduled rules.