Skip to content

Automatically tag new work items in Azure DevOps

  • Azure DevOps
  • Automation
  • Work Items
  • Tags
Auto tag new work items flow overview
Overview of the automation flow for auto-tagging new work items.

Automatically tag new Azure DevOps work items when they are created, without removing tags that are already there.

This guide will walk you through setting up the automation to ensure new work items are tagged correctly as soon as they are created. You will need to specify the tags to add before enabling the automation.

Prerequisite: Install Automations App on your Azure DevOps organization

Create an automation from the Auto tag new work items template, or start from scratch
Go to Project → Automations → Create automation from template Auto tag new work items or Start from scratch.
Trigger

Trigger — Work Item Created

This step triggers the automation whenever a new work item is created in your project. It ensures that the subsequent actions are executed for every new work item.

Configured in this template

  • Work item types: all (no filter)

You can customize

  • Limit the trigger to specific work item types if needed.
  • Adjust the project scope if you want to target a specific project.
Auto tag new work items trigger
The trigger activates when a new work item is created.
Action

Action — Update Tags

This action adds specific tags to the work item triggered in the previous step. It ensures that the specified tags are added without removing any existing tags.

Configured in this template

  • Work on: This work item
  • Update: Add specific tags
  • Tags: needs-triage

You can customize

  • Change the tags to add as per your project's requirements.
  • Use different tag names to categorize work items differently.
  • Consider adding multiple actions if different tags are needed based on conditions.
Auto tag new work items action 1
The action updates the work item by adding specified tags.

Full automation

Auto tag new work items full automation
Complete view of the automation flow for tagging new work items.

Common questions

How do I automatically tag new work items in Azure DevOps?
Automatically tag new Azure DevOps work items when they are created, without removing tags that are already there. Use the Auto tag new work items template in Documentero Automations: open Templates, pick this flow, fill the required fields, and enable it.
What fields are required to enable this automation?
You must specify the tags to add before enabling the automation.
Can I change the work item types that trigger this automation?
Yes, you can customize the trigger to only activate for specific work item types.
How can I test this automation setup?
Create a new work item in your project to see if the specified tags are added as expected.

Visual Studio Marketplace

Automations

Documentero · Preview

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

Get it free