Skip to content

Commit 01bea6f

Browse files
Freshness.
1 parent 4b5be71 commit 01bea6f

File tree

7 files changed

+22
-32
lines changed

7 files changed

+22
-32
lines changed

docs/boards/queries/add-tags-to-work-items.md

Lines changed: 22 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Add tags to work items to categorize lists and boards
2+
title: Add Tags to Work Items to Categorize Lists and Boards
33
titleSuffix: Azure Boards
44
description: Learn how to add work item tags to categorize and filter lists & boards when working in Azure Boards.
55
ms.custom: boards-queries
@@ -9,21 +9,19 @@ ms.author: chcomley
99
author: chcomley
1010
ms.topic: how-to
1111
monikerRange: '<= azure-devops'
12-
ms.date: 04/24/2024
12+
ms.date: 07/31/2025
13+
#customer intent: As a team member with organizational responsibilities, I want to use tags to organize team activities.
1314
---
1415

1516
# Add work item tags to categorize and filter lists and boards
1617

1718
[!INCLUDE [version-lt-eq-azure-devops](../../includes/version-lt-eq-azure-devops.md)]
1819

19-
Tag work items to quickly filter the product backlog or a work item query by categories that you define. A tag corresponds to a one or two keyword phrase that you define and that supports your needs to filter a backlog or query, or define a query.
20+
Tag work items to quickly filter the product backlog or a work item query by categories that you define. A tag corresponds to a one or two keyword phrase that you define. A tag supports your needs to filter a backlog or query, or define a query.
2021

21-
Tags are a better choice for filtering work items than using text strings as described in [Define a work item query](using-queries.md).
22+
You can add and modify tags from the web portal or from Team Explorer plug-in for Visual Studio. Also, you can open a query in [Excel](../backlogs/office/bulk-add-modify-work-items-excel.md) to modify tags in bulk.
2223

23-
You can add and modify tags from the web portal, from Team Explorer plug-in for Visual Studio. Also, you can open a query in [Excel](../backlogs/office/bulk-add-modify-work-items-excel.md) to modify tags in bulk.
24-
25-
> [!NOTE]
26-
> Tags are a shared resource associated with a project and not a team. If your project contains multiple teams, all teams add to and work from the same set of tags.
24+
Tags are a better choice for filtering work items than using text strings as described in [Define a work item query](using-queries.md). Tags are a shared resource associated with a project and not a team. If your project contains multiple teams, all teams add to and work from the same set of tags.
2725

2826
## Prerequisites
2927

@@ -39,22 +37,19 @@ Tags should be 400 characters or less and not contain separators such as a `,` (
3937

4038
From the web portal, open a work item and add a tag. Choose **Add tag** and type your keyword. Or, select from the list of previously assigned tags.
4139

42-
> [!div class="mx-imgBorder"]
43-
> ![Screenshot showing adding one or more tags to a work item.](media/add-tags/add-tag-vsts.png)
40+
:::image type="content" source="media/add-tags/add-tag-vsts.png" alt-text="Screenshot shows adding one or more tags to a work item.":::
4441

4542
To add several tags at one time, type a comma between tags. Tags are case sensitive.
4643

47-
Tags that appear in the tag bar are already assigned to the work item. To unassign a tag, choose the x on the tag,![Screenshot of deleting a tag assigned to a work item.](media/add-tags/unassign-a-tag.png).
44+
Tags that appear in the tag bar are already assigned to the work item. To unassign a tag, choose the **x** on the tag, :::image type="icon" source="media/add-tags/unassign-a-tag.png":::.
4845

4946
<a id="bulk-modify"></a>
5047

5148
## Bulk add or remove tags
5249

53-
You can bulk update work items to add or remove tags from the web portal.
54-
You bulk modify tags in the same way as you [bulk modify other fields using the web portal](../backlogs/bulk-modify-work-items.md#tags). Or, you can use [Excel](../backlogs/office/bulk-add-modify-work-items-excel.md) to bulk add or remove tags.
50+
You can bulk update work items to add or remove tags from the web portal. You bulk modify tags in the same way as you [bulk modify other fields using the web portal](../backlogs/bulk-modify-work-items.md#tags). Or, you can use [Excel](../backlogs/office/bulk-add-modify-work-items-excel.md) to bulk add or remove tags.
5551

56-
> [!div class="mx-imgBorder"]
57-
> ![Screenshot showing Edit work items dialog, Bulk add to several work items.](media/add-tags/bulk-add-tags.png)
52+
:::image type="content" source="media/add-tags/bulk-add-tags.png" alt-text="Screenshot shows the Edit work items dialog, with Tags value to be added.":::
5853

5954
> [!NOTE]
6055
> Boards doesn't support modifying tags in bulk from Visual Studio or other clients.
@@ -67,12 +62,11 @@ To query work items based on tags, add a clause for each tag you want to use to
6762

6863
[!INCLUDE [temp](../includes/query-clause-tip.md)]
6964

70-
You can use the **Contains** or **Does Not Contain** operators. Tags that start with the `@` character can't be used in a work item query as the query editor interprets the `@` character as a macro. For more information, see [Define a work item query](using-queries.md).
65+
You can use the **Contains** or **Does Not Contain** operators. Tags that start with the `@` character can't be used in a work item query because the query editor interprets the `@` character as a macro. For more information, see [Define a work item query](using-queries.md).
7166

72-
For example, here we query for all work items that are tagged as either `Web` or `Service`.
67+
For example, here's a query for all work items that are tagged as either `Web` or `Service`.
7368

74-
> [!div class="mx-imgBorder"]
75-
> ![Screenshot of Query Editor to query on tags.](media/add-tags/query-tags-add-or.png)
69+
:::image type="content" source="media/add-tags/query-tags-add-or.png" alt-text="Screenshot shows the Query Editor with a query on tags.":::
7670

7771
<a id="no-tags"></a>
7872

@@ -85,13 +79,11 @@ For example, here we query for all work items that are tagged as either `Web` or
8579

8680
Choose **Column Options** to add the **Tags** field to the product backlog or a work item query. If the option doesn't appear, choose **More commands** :::image type="icon" source="../media/icons/actions-icon.png" border="false"::: to select it from the menu of options.
8781

88-
> [!div class="mx-imgBorder"]
89-
> ![Screenshot of Column options dialog, Add Tags to the selected columns to display.](media/add-tags/column-options-add-tags-field.png)
82+
:::image type="content" source="media/add-tags/column-options-add-tags-field.png" alt-text="Screenshot shows the Column options dialog, with the Tags option.":::
9083

9184
All tags added to the listed work items appear.
9285

93-
> [!div class="mx-imgBorder"]
94-
> ![Screenshot of product backlog, View with Tags column added.](media/add-tags/backlog-with-tags.png)
86+
:::image type="content" source="media/add-tags/backlog-with-tags.png" alt-text="Screenshot shows the Product backlog where you can see the Tags column.":::
9587

9688
<a id="filter"></a>
9789

@@ -101,36 +93,34 @@ From the web portal, you can filter backlogs, boards, and query results using ta
10193

10294
Begin by choosing **Filter** :::image type="icon" source="../media/icons/filter-icon.png" border="false":::.
10395

104-
Check the boxes of those tags that you want to filter on. Keep the **OR** selection to run a logical OR for all the tags you selected. Or, choose the **AND** option to run a logical AND on all the selected tags.
96+
Select the tags that you want to filter on. Keep the **OR** selection to run a logical OR for all the tags you selected. Or, choose the **AND** option to run a logical AND on all the selected tags.
10597

106-
> [!div class="mx-imgBorder"]
107-
> ![Screenshot of view with tags column added.](media/add-tags/filter-backlog-tags.png)
98+
:::image type="content" source="media/add-tags/filter-backlog-tags.png" alt-text="Screenshot shows the Product backlog filtered by tags.":::
10899

109100
## Delete, remove, or manage tags
110101

111102
You can't delete tags using the Azure DevOps Web UI.
112103

113-
If you need to remove a tag, you can create a script or application capable of a delete using the [Azure DevOps REST API](/rest/api/azure/devops/wit/tags?view=azure-devops-rest-7.2&preserve-view=true) or the [.NET client libraries](/azure/devops/integrate/concepts/dotnet-client-libraries?view=azure-devops&preserve-view=true). For more examples, see [Azure-DevOps-Admin-CLI](https://github.com/danhellem/azure-devops-admin-cli).
104+
If you need to remove a tag, create a script or application capable of a delete using the [Azure DevOps REST API](/rest/api/azure/devops/wit/tags?view=azure-devops-rest-7.2&preserve-view=true) or the [.NET client libraries](/azure/devops/integrate/concepts/dotnet-client-libraries?view=azure-devops&preserve-view=true). For more examples, see [Azure-DevOps-Admin-CLI](https://github.com/danhellem/azure-devops-admin-cli).
114105

115106
Another option is to install the [Marketplace Tags Manager](https://marketplace.visualstudio.com/items?itemName=YodLabs.TagsManager2), which adds a **Tags** page under **Boards** or **Work** to manage tags, including deletes.
116107

117108
## Color-code tags on boards
118109

119110
Highlight tags on board cards by color-coding them. These colors only appear on the board that you configure. They don't appear on backlogs or Taskboards. For more information, see [Assign tag colors](../boards/customize-cards.md#assign-tag-colors).
120111

121-
> [!div class="mx-imgBorder"]
122-
> ![Screenshot of sequence, Boards, Settings, Tag colors dialog.](media/add-tags/color-code-tags.png)
112+
:::image type="content" source="media/add-tags/color-code-tags.png" alt-text="Screenshot shows the Tag colors page for setting colors for tags.":::
123113

124114
<a id="group-by-tags"></a>
125115
::: moniker range="azure-devops"
126116

127117
## Chart work items and group by tags
128118

129-
You can't group a query-based chart by tags, but, you can group a **Chart for Work Items** widget by tags that you add to a dashboard. This feature is in public preview. To enable it, see [Manage or enable features](../../project/navigation/preview-features.md) and turn on **Enable group by tags for work item chart widget on dashboard**.
119+
You can't group a query-based chart by tags, but, you can group a **Chart for Work Items** widget by tags that you add to a dashboard. This feature is in public preview. To enable it, see [Manage or enable features](../../project/navigation/preview-features.md) and turn on **Enable group by tags for work item chart widget on dashboard**.
130120

131121
To group a **Chart for Work Items** widget by tags, complete the same steps provided in [Add a chart to a dashboard](../../report/dashboards/charts.md#add-a-chart-to-a-dashboard). Make sure that your flat-list query contains **Tags** in the query clause or as a column option. Then, choose **Tags** for the **Group by** selection. To filter the chart to show only some tags, choose the **Selected tags** radio button and then choose the tags you want the chart to display.
132122

133-
:::image type="content" source="../../report/dashboards/media/charts/configure-chart-widget-tags.png" alt-text="Screenshot of Chart by Work Items, Configure, Group by Tags.":::
123+
:::image type="content" source="../../report/dashboards/media/charts/configure-chart-widget-tags.png" alt-text="Screenshot shows Chart by Work Items configured to group by tags.":::
134124

135125
::: moniker-end
136126

@@ -152,7 +142,7 @@ Limit queries to fewer than 25 tags. More than that amount and the query likely
152142

153143
### Add tags to the default column view on the product backlog
154144

155-
To add the **Tags** field as a column field for the product backlog, you modify the ProcessConfiguration file to include ```System.Tags```. For more information, see the [Process configuration XML element reference](../../reference/xml/process-configuration-xml-element.md).
145+
To add the **Tags** field as a column field for the product backlog, modify the ProcessConfiguration file to include `System.Tags` For more information, see the [Process configuration XML element reference](../../reference/xml/process-configuration-xml-element.md).
156146

157147
::: moniker-end
158148

-1.44 KB
Loading
5.84 KB
Loading
446 Bytes
Loading
9.18 KB
Loading
18.9 KB
Loading
12.1 KB
Loading

0 commit comments

Comments
 (0)