Azure Boards:如何查看未完成层级项及待办事项中的无父级任务
Hey Denis, let's break down how to solve your Azure Boards challenges with your Epic → Feature → User Story → Task hierarchy:
1. View All Uncompleted Work Items in the Correct Hierarchy
You have two reliable ways to see properly structured, active work items:
- Use the Backlog's Hierarchy View
- Head to your project's Backlog page.
- Use the level dropdown at the top to start with Epics, then use the expand/collapse arrows next to each work item to drill down through Features → User Stories → Tasks.
- Filter for uncompleted items: Use the top filter bar, select "State", and exclude completed states like Done or Closed. This keeps your view focused only on active work while preserving the full hierarchy.
- Build a Custom Tree Query
- Go to Boards > Queries and create a new tree query.
- Configure these filters:
- Work Item Types: Include Epics, Features, User Stories, Tasks
State <> Done(adjust to match your team's completed state)
- Enable the Hierarchy toggle in the query settings—this will display items in their parent-child structure, so you can easily verify every Task is under a User Story, every User Story under a Feature, etc.
- Run the query, and you'll get a clean, organized list of all uncompleted work in your desired hierarchy.
2. Find Parentless Tasks & Assign Them to Sprints
Locating unparented tasks and getting them into Sprints is straightforward with these methods:
- Custom Query for Parentless Tasks
- Create a new flat query in Boards > Queries with these filters:
- Work Item Type = Task
- Parent = [Empty] (this pulls all tasks with no parent)
State <> Done(to focus on tasks that need planning)
- From the query results:
- Select the tasks, then use the Assign Parent toolbar option to link them to the right User Story.
- Once parented, you can drag them into your target Sprint from either the Backlog or query results.
- Create a new flat query in Boards > Queries with these filters:
- Check the Backlog's Unparented Section
- Switch your Backlog view to the Tasks level (use the top dropdown to select "Tasks").
- Look for an "Unparented Tasks" section—this is where Azure Boards groups tasks with no parent User Story.
- Select these tasks, assign a parent if needed, then drag them directly into your active Sprint.
- Assign to Sprint Directly (Even If Unparented)
- If you need to get unparented tasks into a Sprint immediately (before linking to a User Story), select them in the query or Backlog, then use the Sprint dropdown in the toolbar to pick your target Sprint. Just remember to link them to a User Story later for better tracking and reporting.
内容的提问来源于stack exchange,提问作者Denis
相关产品推荐
相关产品推荐

