6

I'm using the basic work item process in Azure DevOps.

If I look at my backlog without any filters, then it shows me a hierarchy, with epics as the top-level items, then issues and then work items.

If I filter this to only show items that are to do or doing, it shows them as a flat list, not a hierarchy.

Is there any way to see the items as a hierarchy, but filter out done items?

Update following Shayki Abramczyk's comment

The options button doesn't include an option to show parents...

enter image description here

jessehouwing
  • 106,458
  • 22
  • 256
  • 341
Avrohom Yisroel
  • 8,555
  • 8
  • 50
  • 106
  • near the "filter" icon you have "options" button, click there and move the "parents" to ON. – Shayki Abramczyk May 26 '19 at 17:14
  • @ShaykiAbramczyk Thanks, but I don't have a "parents" option. Please see my updated question. Thanks, any other ideas? – Avrohom Yisroel May 26 '19 at 17:20
  • Near the "Options" button in the left choose "Backlog items" – Shayki Abramczyk May 26 '19 at 17:24
  • @ShaykiAbramczyk Sorry, you lost me. To the left of the options button I have a dropdown where you can choose Epics or Issues. Don't have anything to the left of that until you get to the "New work item" / "View as board" and "Column options" links over on the left. Where did mean? Can't see anywhere to choose "Backlog items." Thanks again – Avrohom Yisroel May 26 '19 at 17:42
  • I mean to this drop-down list. if you move to issues the "Parents" option exist? – Shayki Abramczyk May 26 '19 at 18:04
  • @ShaykiAbramczyk Yes, but then I don't see the epics (and I had parents on anyway). Although it seems a bit painful, jessehouwing's answer did it. Thanks again for the help – Avrohom Yisroel May 26 '19 at 20:29

1 Answers1

7

Go to the Work Item Query tab and create a work item query. Configure it to Tree view and let it follow the parent/child relation.

enter image description here

enter image description here

enter image description here

You can filter on the top level (top part of the query editor) and the lower levels (bottom part of the query editor). Use the State in filter to select multiple states. You can't multi-select them in the UI, so typing is required:

enter image description here

PS: The , is the list separator in most languages, but sometimes you need to use ;.

If you want to see parents when ANY child leaf is still open, set the Filter: Match top-level items first to Filter: Match child-level items first.

To specify the order, add the Backlog Priority field to the query and use the table header to sort by it:

enter image description here

Or use the Sorting option in the "Choose Columns" fly-out:

enter image description here

Note: The exact field name differs per Process template. Backlog Priority is for the Scrum Template, Stackrank for CMMI and Agile and Basic:

enter image description here

An easy way to get started is to take the board view closest to what you want and save it as a work item query.

enter image description here

jessehouwing
  • 106,458
  • 22
  • 256
  • 341