Skip to content

Create Bug from Task in Azure DevOps

  • Azure DevOps
  • Automation
  • Parent & Child
Create Bug from Task flow overview
This image shows an overview of the flow for creating a Bug from a Task.

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

Create an automation from the Create Bug from Task template, or start from scratch
Go to Project → Automations → Create automation from template Create Bug from Task or Start from scratch.
Trigger

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.
Create Bug from Task trigger
Screenshot of the trigger setup for when a Task is created.
Action

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.
Create Bug from Task action 1
Screenshot showing the setup for creating a Bug with linked fields.

Full automation

Create Bug from Task full automation
This image displays the full automation flow on the builder canvas.

Common questions

How do I create Bug from Task in Azure DevOps?
When a Task is created, create a related Bug seeded from the trigger title in Azure DevOps. Use the Create Bug from Task template in Documentero Automations: open Templates, pick this flow, fill the required fields, and enable it.
What fields do I need to fill before enabling the automation?
You need to set the work item type and any specific fields required for your project, such as custom fields or tags.
Can I change the work item type from Bug to another type?
Yes, you can customize the action to create any work item type by adjusting the settings in the action node.
How can I test this automation?
Create a test Task in your project to see if the automation correctly creates a related Bug with the specified title.

Visual Studio Marketplace

Automations

Documentero · Preview

Automate Azure DevOps workflows with triggers, actions, conditions, and scheduled rules.

Get it free