You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
20
21
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.
22
23
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.
27
25
28
26
## Prerequisites
29
27
@@ -39,22 +37,19 @@ Tags should be 400 characters or less and not contain separators such as a `,` (
39
37
40
38
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.
41
39
42
-
> [!div class="mx-imgBorder"]
43
-
> 
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.":::
44
41
45
42
To add several tags at one time, type a comma between tags. Tags are case sensitive.
46
43
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,.
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":::.
48
45
49
46
<aid="bulk-modify"></a>
50
47
51
48
## Bulk add or remove tags
52
49
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.
55
51
56
-
> [!div class="mx-imgBorder"]
57
-
> 
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.":::
58
53
59
54
> [!NOTE]
60
55
> 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
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).
71
66
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`.
73
68
74
-
> [!div class="mx-imgBorder"]
75
-
> 
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.":::
76
70
77
71
<aid="no-tags"></a>
78
72
@@ -85,13 +79,11 @@ For example, here we query for all work items that are tagged as either `Web` or
85
79
86
80
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.
87
81
88
-
> [!div class="mx-imgBorder"]
89
-
> 
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.":::
90
83
91
84
All tags added to the listed work items appear.
92
85
93
-
> [!div class="mx-imgBorder"]
94
-
> 
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.":::
95
87
96
88
<aid="filter"></a>
97
89
@@ -101,36 +93,34 @@ From the web portal, you can filter backlogs, boards, and query results using ta
101
93
102
94
Begin by choosing **Filter** :::image type="icon" source="../media/icons/filter-icon.png" border="false":::.
103
95
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.
105
97
106
-
> [!div class="mx-imgBorder"]
107
-
> 
98
+
:::image type="content" source="media/add-tags/filter-backlog-tags.png" alt-text="Screenshot shows the Product backlog filtered by tags.":::
108
99
109
100
## Delete, remove, or manage tags
110
101
111
102
You can't delete tags using the Azure DevOps Web UI.
112
103
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).
114
105
115
106
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.
116
107
117
108
## Color-code tags on boards
118
109
119
110
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).
120
111
121
-
> [!div class="mx-imgBorder"]
122
-
> 
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.":::
123
113
124
114
<aid="group-by-tags"></a>
125
115
::: moniker range="azure-devops"
126
116
127
117
## Chart work items and group by tags
128
118
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**.
130
120
131
121
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.
132
122
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.":::
134
124
135
125
::: moniker-end
136
126
@@ -152,7 +142,7 @@ Limit queries to fewer than 25 tags. More than that amount and the query likely
152
142
153
143
### Add tags to the default column view on the product backlog
154
144
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).
0 commit comments