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
Copy file name to clipboardExpand all lines: docs/report/dashboards/charts.md
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.author: chcomley
9
9
author: chcomley
10
10
ms.topic: how-to
11
11
monikerRange: '<= azure-devops'
12
-
ms.date: 03/18/2026
12
+
ms.date: 03/23/2026
13
13
ai-usage: ai-assisted
14
14
#customer intent: As an Azure Boards user, I want to create charts to track the status of work in progress.
15
15
---
@@ -151,24 +151,30 @@ To add other chart types like test results or build summaries, see [Add widgets
151
151
152
152
::: moniker range="azure-devops"
153
153
154
+
<aid="use-ai-assistance"></a>
155
+
154
156
## Use AI to build query-based charts
155
157
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.
157
159
158
160
### Example prompts
159
161
160
162
| Task | Example prompt |
161
163
|------|----------------|
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`|
163
165
| 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`|
168
170
| 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`|
170
172
| Add chart to dashboard |`What's the best way to share a query-based chart with my team on a dashboard?`|
171
173
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`.
0 commit comments