azure devops boards,  queries,  sprint planning

Useful Azure DevOps Boards queries

A collection of some useful Azure DevOps Boards queries.

Useful Azure DevOps Boards queries

Photo by Stephen Dawson on Unsplash

Useful Azure DevOps Boards Queries

A collection of some useful Azure DevOps Boards queries.

Grooming queries

You will likely want to update the filters on these query to suite your needs, for example by filtering on specific work item types, state etc. What is saved and shown here are just the barebone queries.

View unparented items

1

View bugs parented under user stories/epics

⚠️This is a violation of the expected Epic -> Feature -> User story/Bug -> Task hierarchy

2

View all work items in the current iteration

3 You can also time travel across multiple iteration by adding +/- count in front of the @CurrentIteration

View active work that is not assigned to the sprint

This would likely indicate some previous work that has not been updated or has potentially fallen through the cracks.

4

View work items logged in the last x days

5

View ill defined work items

The default looks at items with no descriptions, or not acceptance criteria or no story points.

6

View work items pending review

7

View unestimated work items

8

View blocked work items

9

View work items that may need to be broken down This is determined by high estimates and you can decide on the threshold.

10

View stale work items You can decide on the time period for this to be considered stale.

11

View unassigned items in the current iteration

12

View work items that are due soon

13

View overdue work items

14

Other queries

View items assigned to me

15

View items that I am following

16

View items where I have recently been mentioned

17

Instead of constantly querying the grooming type queries, you can assign them to a dashboard as charts or as tile widgets so you always have a good view.

18

💡 In addition to placing charts and other visualization on a dashboard, you can only place these on the query itself. For example you can create a pivot table) to visualize the data from the query.

19 Here are recommendations of some great things to visualize

  • Bug trends over time
  • Task burn down
  • Test case pass/fail rate

Additional tips for working with queries

  • Utilize the predefined variables like @Me, @Today, @CurrentIterations etc to your advantage.
  • Use tags wisely. These can help filter work items, but if used without disciple they can go out of hand fast. As a general rule, if you have no use case to query by a given tag, you should not be using it. This will keep your tags list clean.