Create Bug from Task in Azure DevOps
When a Task is created, create a related Bug seeded from the trigger title in Azure DevOps.
Before enabling the automation, you will need to set the work item type and fields to ensure it aligns with your project requirements. This guide will walk you through the process of setting up and customizing this automation.
Prerequisite: Install Automations App on your Azure DevOps organization
Trigger — Work Item Created
This trigger activates when a new Task is created in your Azure DevOps project. It initiates the automation process to create a related Bug.
Configured in this template
- Work item types: Task
You can customize
- Change the trigger to activate on different work item types, such as User Story or Feature.
- Adjust the project or area path to limit where this trigger applies.
Action — Create Work Item
This action creates a new Bug work item when triggered. The Bug's title is set to 'Bug: {trigger.Title}' and it is linked to the original Task.
Configured in this template
- Work item type: all (no filter)
- Link to trigger: Related to trigger
- Field values: Title = Bug:
{trigger.Title}
You can customize
- Modify the work item type to create a different type of item, such as an Epic or Feature.
- Add or change field values to include additional details or tags.
- Set up additional links to other related work items.
Full automation
Common questions
How do I create Bug from Task in Azure DevOps?
What fields do I need to fill before enabling the automation?
Can I change the work item type from Bug to another type?
How can I test this automation?
Visual Studio Marketplace
Automations
Automate Azure DevOps workflows with triggers, actions, conditions, and scheduled rules.