Skip to content

Commit ee60e0a

Browse files
Merge pull request #9049 from RoseHJM/azdo-copilot-int-charts
AzDo | [Copilot integration] report/dashboards/charts.md
2 parents c66e46b + b7b04fc commit ee60e0a

1 file changed

Lines changed: 17 additions & 11 deletions

File tree

docs/report/dashboards/charts.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
title: Status and trend work item, query-based charts
33
titleSuffix: Azure DevOps
44
description: Learn how to add status, progress, and trend charts to dashboards from flat-list queries in Azure DevOps.
5-
ms.custom: dashboards, copilot-scenario-highlight
5+
ms.custom: dashboards, copilot-scenario-highlight, awp-ai
66
ms.subservice: azure-devops-analytics
77
ms.assetid: EFAD32DB-8B19-4ACC-8F72-87CC5A513798
88
ms.author: chcomley
99
author: chcomley
1010
ms.topic: how-to
1111
monikerRange: '<= azure-devops'
12-
ms.date: 03/18/2026
12+
ms.date: 03/23/2026
1313
ai-usage: ai-assisted
1414
#customer intent: As an Azure Boards user, I want to create charts to track the status of work in progress.
1515
---
@@ -40,7 +40,7 @@ Chart the results of a [flat-list query](../../boards/queries/using-queries.md#d
4040

4141
## Create a flat-list query
4242

43-
Select the **Flat list of work items** query type — other query types aren't supported for charting. For more information, see [Define a flat-list query](../../boards/queries/using-queries.md#flat-list).
43+
Select the **Flat list of work items** query type. Other query types aren't supported for charting. For more information, see [Define a flat-list query](../../boards/queries/using-queries.md#flat-list).
4444

4545
Add any field you want to chart to a query clause or to column options:
4646

@@ -69,7 +69,7 @@ To add a chart to a dashboard, [save the query to a **Shared Queries** folder](.
6969
|----------|---------|
7070
| **Area / iteration grouping** | Only the leaf node of **Area Path** or **Iteration Path** appears. If your query mixes levels, group by **Node Name** instead. |
7171
| **Sorting** | Sort by **Value** (numeric count or sum) or **Label** (grouping field name), in ascending or descending order. |
72-
| **Series limit** | Charts show up to 8 series (12 on resized dashboard widgets). Extra values roll up into *(other)*. |
72+
| **Series limit** | Charts show up to eight series (12 on resized dashboard widgets). Extra values roll up into *(other)*. |
7373

7474
## Create a query-based chart
7575

@@ -151,24 +151,30 @@ To add other chart types like test results or build summaries, see [Add widgets
151151

152152
::: moniker range="azure-devops"
153153

154+
<a id="use-ai-assistance"></a>
155+
154156
## Use AI to build query-based charts
155157

156-
If you configure the [Azure DevOps MCP Server](/azure/devops/mcp-server/mcp-server-overview), you can use AI assistants to help create queries and charts for tracking work.
158+
If you configure the [Azure DevOps MCP Server](../../mcp-server/mcp-server-overview.md), you can use AI assistants to help create queries and charts for tracking work.
157159

158160
### Example prompts
159161

160162
| Task | Example prompt |
161163
|------|----------------|
162-
| Build a query for charting | `Write a flat-list query that returns all active bugs grouped by priority in <Contoso> project` |
164+
| Build a query for charting | `Write a flat-list query that returns all active bugs grouped by priority in the <project-name> project` |
163165
| Choose a chart type | `Should I use a pie chart, stacked bar, or pivot table to show bug distribution by area path?` |
164-
| Track trends | `Help me create a trend chart that shows how bug counts change over the last 30 days in <Contoso> project` |
165-
| Sum numeric fields | `How do I create a chart that shows total Story Points by team member in <Contoso> project?` |
166-
| Group by custom field | `Help me create a stacked bar chart that groups work items by a custom "Release" field in <Contoso> project` |
167-
| Compare sprints | `Create a pivot table that compares bug counts by state across the last three iteration paths in <Contoso> project` |
166+
| Track trends | `Help me create a trend chart that shows how bug counts change over the last 30 days in the <project-name> project` |
167+
| Sum numeric fields | `How do I create a chart that shows total Story Points by team member in the <project-name> project?` |
168+
| Group by custom field | `Help me create a stacked bar chart that groups work items by a custom "Release" field in the <project-name> project` |
169+
| Compare sprints | `Create a pivot table that compares bug counts by state across the last three iteration paths in the <project-name> project` |
168170
| Spot workload imbalance | `Build a stacked bar chart showing active work items per team member, grouped by work item type, so I can see who's overloaded` |
169-
| Track debt | `Write a query and trend chart that tracks unresolved bugs older than 30 days in <Contoso> project` |
171+
| Track debt | `Write a query and trend chart that tracks unresolved bugs older than 30 days in the <project-name> project` |
170172
| Add chart to dashboard | `What's the best way to share a query-based chart with my team on a dashboard?` |
171173

174+
> [!TIP]
175+
> If you're using Visual Studio Code, [agent mode](/visualstudio/ide/copilot-chat-context#agent-mode) is especially helpful for iterating on a flat-list query and then walking through the exact chart and dashboard steps for your project.
176+
> - To avoid using stale or cached data from previous queries, add to your prompt, `Do not use previously fetched data`.
177+
172178
::: moniker-end
173179

174180
## Related articles

0 commit comments

Comments
 (0)