Επεξεργασία

Κοινή χρήση μέσω


Add tasks to backlog items to support sprint planning

Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019

Add tasks to backlog items when you want to track the work required to implement those tasks. You can also use tasks to estimate work that is assigned to individual team members and the team. The capacity tool tells you how much work your team can commit to. However, to compare capacity with planned work, you need to define and estimate tasks for each backlog item.

In this article you'll learn how to:

  • Select a sprint backlog for a team
  • Add tasks to backlog items from the sprint backlog or taskboard
  • Estimate work, set Remaining Work

Add as many tasks as needed to capture the work required to complete each item. Tasks can represent different work to be completed, such as design, code, test, content, or sign out. Usually, each team member adds their own tasks and sets estimates for the work. However, a development lead could define the initial tasks for a story or requirement.

Prerequisites

When you create a project or a team, backlogs get created automatically. Each team has access to their own product, portfolio, and sprint backlogs.

Prerequisite Description
Project Administrator or Contributor member You must be added to a project as a member of the Contributors or Project Administrators security group.
Stakeholder access To add or modify work items, you must be granted Stakeholder access or higher. Users with Stakeholder access for public projects have full access to backlog and board features, like users with Basic access. For more information, see Stakeholder access quick reference.
Contributor member or Allow perms on To view or modify work items, you must have your View work items in this node and Edit work items in this node permissions set to Allow. By default, the Contributors group has this permission set to Allow. For more information, see Set work tracking permissions.
Defined iterations To use the Planning pane, your team administrator must define iteration (sprint) paths and configure team iterations.
Prerequisite Description
Project Administrator or Contributor member You must be added to a project as a member of the Contributors or Project Administrators security group.
Stakeholder access To add or modify work items, you must be granted Stakeholder access or higher.
Contributor member or Allow perms on To view or modify work items, you must have your View work items in this node and Edit work items in this node permissions set to Allow. By default, the Contributors group has this permission set to Allow. For more information, see Set work tracking permissions.
Defined iterations To use the Planning pane, your team administrator must define iteration (sprint) paths and configure team iterations.

Open a sprint backlog for a team

  1. From your web browser, open your team's sprint backlog. (1) Check that you've selected the right project, (2) choose Boards>Sprints, (3) select the correct team from the team selector menu, and lastly (4), choose Backlog.

    Open Work, Sprints, for a team

    To choose another team, open the selector and select a different team or choose the Browse all sprints option. Or, you can enter a keyword in the search box to filter the list of team backlogs for the project.

    Choose another team

  2. To choose a different sprint than the one shown, open the sprint selector and choose the sprint you want.

    Choose another sprint

    The system lists only those sprints that have been selected for the current team focus. If you don't see the sprints you want listed, then choose New Sprint from the menu, and then choose Select existing iteration. For more information, see Define iteration (sprint) paths.

  1. From your web browser, open your team's sprint backlog. (1) Check that you've selected the right project, (2) choose Boards>Sprints, (3) select the correct team from the team selector menu, and lastly (4), choose Backlog.

    Open Work, Sprints, for a team

    To choose another team, open the selector and select a different team or choose the Browse all sprints option. Or, you can enter a keyword in the search box to filter the list of team backlogs for the project.

    Choose another team

  2. To choose a different sprint than the one shown, open the sprint selector and choose the sprint you want.

    Choose another sprint

    The system lists only those sprints that have been selected for the current team focus. If you don't see the sprints you want listed, then choose New Sprint from the menu, and then choose Select existing iteration. For more information, see Define iteration (sprint) paths.

Add existing work items to a sprint

If you haven't yet assigned work items to a sprint, see 1. Assign backlog items to a sprint.

If you have added work items and they don't appear in your sprint backlog, check their area and iteration paths.

  • The Area Path must match one of the areas assigned to the team
  • The Iteration Path must match the iteration of the sprint that you've selected.

For details on assigning iteration paths to teams, see Define Iteration Paths and configure team iterations.

If you have added task work items, but they don't appear as a child of a product backlog item, you can parent them from the sprint backlog.

Unparented tasks assigned to the selected sprint appear at the top of the backlog under the Unparented group. Drag and drop the task on top of the work item you want to parent it to.

Sprint backlog page, parent a task

Add tasks to backlog items

If you haven't yet assigned backlog items to your sprint, do that now. Also, you'll want to have set the start and end dates for your sprint.

For each sprint backlog item, add a task. Adding tasks from the sprint backlog or board automatically links the task to its parent backlog item.

Tip

You can quickly add several tasks on the taskboard by simply entering a title. You can then later bulk edit items to assign them or add additional details. You can also enter Remaining Work onto the card by making sure you add that field to display on the taskboard.

You can add tasks from the sprint Backlog or Taskboard. ALl items you add are automatically assigned the Iteration Path of the selected sprint.

From the Backlog view, choose the plus sign to open the work item form for a task.

Sprint backlog page, add task

Complete the form as described in the next section.

Another option, is to open the Taskboard, and add tasks as cards. Select the plus icon, enter a title for the item, and then press Enter on your keyboard.

Add task from the taskboard

Tip

You can quickly add tasks through the Taskboard by just specifying the title of the work item. To show fields on the card, see Customize a sprint Taskboard.

To interactively filter sprint views, choose Filter , and then specify a keyword or select a value for a field or tag. For more information, see Interactively filter backlogs, boards, queries, and plans.

Complete the task form

Name the task and enter an estimate for Remaining Work. Also, if you know who's doing the work, assign the task to that team member.

Add task

At the planning stage, Remaining Work corresponds to an estimate of how long it takes to complete the task.

A good rule of thumb is to size tasks to take no more than a day to complete. If a task is too large, the team should break it down. In some cases, you might not estimate some tasks effectively until other tasks have been completed. Create the task now, but estimate it when you have enough information.

During the sprint, team members update remaining work to continually reflect the time required to complete the task. This value can actually increase after work begins. For example, after working 4 hours on a task that was estimated to take 8 hours, you realize you need 16 hours over what you estimated. You would update the Remaining Work field with 20 (8-4+16). As you complete a task, you might find that more time is required. Always update the task with your best estimate of remaining work. That way, you help accurately reflect the total amount of work remaining in the sprint.

Field

Usage


The amount of approximate work required to complete a task. Typically, this field doesn't change after it's assigned.

You can specify work in hours or in days. There are no inherent time units associated with this field.

The amount of work remaining to complete a task. As work progresses, update this field. It's used to calculate capacity charts and the sprint burndown chart. You can specify work in any unit of measurement your team chooses.

The amount of work spent implementing a task.

Select the type of activity this task represents when your team plans sprint capacity by activity.

Unparented tasks

Tasks without links to parent backlog items or user stories appear at the top of the taskboard. You can track unparented tasks in similar ways to other tasks. You can also drag them to an existing backlog item to parent them. The unparented card tracks the total of remaining work defined for all unparented tasks. However, it isn't associated with any work item.

Unparented tasks, agile taskboard

Next step