Dela via


Iteration Backlog Workbook

You can use the Iteration Backlog workbook to plan and track the progress of work for each iteration, also known as a sprint. This workbook calculates the team capacity and burndown based on the estimated and remaining effort defined for tasks. The default workbooks provide five worksheets that you can use to plan the work, calculate team capacity, and visualize the burndown for the iteration. You can create additional workbooks as needed to support additional iterations.

Note

The Iteration Backlog workbook is stored on the server that hosts SharePoint Products for your team project. If a project portal has not been enabled for your team project, you cannot access the workbook. For more information, see Access a Team Project Portal and Process Guidance.

Also, when you open the workbook for the first time, you must enable macros by clicking Options next to the Security Warning. To modify the contents, you must click Edit Workbook next to Server Workbook. For more information, see Workbooks (Agile).

If your team project was created before the release of Visual Studio Application Lifecycle Management (ALM), you will have to perform upgrade tasks so that your team project can use the Iteration Backlog workbook. For more information, see Adding Workbooks to Team Projects

In this topic

  • Managing the Iteration Backlog

  • Creating Iteration-Specific Workbooks

  • Estimating and Assigning Tasks

  • Planning an Iteration

    • Scheduling the Iteration

    • Accounting for Holidays and Planned Interruptions

    • Determining Team Capacity

    • Visualizing the Burndown

  • Tracking the Progress of the Iteration

  • Adding User Stories and Tasks to the Backlog

  • Additional Resources for Managing the Iteration Backlog

Open the Iteration Backlog workbook from the Shared Documents folder in Team Explorer

Opening the Iteration Backlog workbook

Required Permissions

To view a team query or open a workbook, you must be assigned or belong to a group that has been assigned Read permissions for the team query folder for the team project. To modify a query, you must be assigned or belong to a group that has been assigned Contribute or Full Control permissions for the team query. For more information, see Organize and Set Permissions on Work Item Queries.

To create or modify user stories or tasks by using the workbook, you must be a member of the Contributors group or your View work items in this node and Edit work items in this node permissions must be set to Allow. For more information, see Team Foundation Server Permissions.

Managing the Iteration Backlog

You can use the Iteration Backlog workbook to determine team capacity and estimate the burndown for an iteration. This workbook provides five worksheets as the following illustration shows.

Iteration Backlog worksheet

You use the worksheets in the following ways:

  • Iteration Backlog: Verify that all tasks are assigned to user stories. Review and assign levels of effort to each task. Assign tasks to iterations.

    The Iteration Backlog worksheet references the Iteration Backlog team query, which is configured to display all user stories and linked tasks that are defined for the team project.

    Important

    If you have added tasks but have not linked them to a user story with the child link type, they will not appear in the iteration backlog.

    Within the workbook, you can filter the user stories based on product area. In addition, you can perform the following actions:

    • Adding User Stories and Tasks to the Backlog
  • Settings: Schedule the iteration, and set the area and iteration filters for the iteration.

    Settings worksheet

  • Interruptions: Specify holidays or other dates when no work will be performed for the team and for individual team members.

    Interruptions worksheet

  • Capacity: Balance workload across the team.

    Capacity worksheet

  • Burndown: Estimate when the iteration will end, based on start dates for the iteration.

    Burndown worksheet

Creating Iteration-Specific Workbooks

After you define the iterations for a product release, you can create iteration-specific workbooks. For more information about how to define iterations, see Create and Modify Areas and Iterations.

You create iteration-specific workbooks by performing the following actions:

  • Create an iteration-specific query.

  • Save a copy of the Iteration Backlog workbook.

  • Configure the Iteration Backlog worksheet to refresh data from its iteration-specific query.

  • Customize the remaining worksheets in the workbook as Planning an Iteration describes later in this topic.

To create an iteration-specific query

  1. Open Team Explorer, and expand your team project node.

  2. Expand the Work Items node, expand Team Queries, and expand Workbook Queries.

  3. Right-click Iteration Backlog, and then click Copy Copy.

  4. Right-click Workbook Queries, and then click Paste Paste.

  5. In the Specify new query item name dialog box, type or modify the name of the query to correspond to the name of the iteration that you are defining, and then click OK.

  6. Right-click the query that you just created and named, and then click Edit query Edit Query.

    The Query Editor opens in a new tab.

  7. Click Click here to add a new clause, and then click And.

  8. In the Field list, click Iteration Path.

  9. In the Operator list, click Under.

  10. In the Value list, click the iteration that you want to use.

  11. Click Run Query Run Query.

    Verify that the results match your expectations.

  12. Click Save Save Query.

To save a copy of the Iteration Backlog workbook

  1. Open Team Explorer, and expand your team project node.

  2. Expand the Documents node, expand Shared Documents, and expand Iteration 1.

  3. Right-click Iteration 1 Backlog.xlsm, and then click Copy Copy.

  4. Right-click the folder to which you want to copy the workbook, and then click Paste Paste.

    Note

    You can drag the workbook to any folder under the Shared Documents node.

  5. Right-click the copied workbook, and then click Rename.

  6. Type the name of the iteration-specific workbook, and then press ENTER.

To configure the Iteration Backlog worksheet to refresh data from the iteration-specific query

  1. Open Team Explorer, and expand your team project node.

  2. Right-click the iteration-specific workbook that you want to configure, and then click Open Work Item Open.

  3. In the File Download dialog box, click OK.

    The workbook opens in Office Excel. Macros are automatically disabled. At the top of the workbook, the notices in the following illustration appear.

    Security and server Excel notices

  4. Click Options.

  5. In the Microsoft Office Security Options dialog box, under Macros, click Enable this content, and then click OK.

  6. Click Edit Workbook.

  7. On the Team tab in Office Excel, in the Work Items group, click Configure, click List, and then click the ellipsis ().

  8. In the Refresh from query list, find the iteration-specific query that you created earlier, click that query, and then click Apply.

    The worksheet will update to list the work items that are found by the iteration-specific query that you selected. This process might take a few minutes.

  9. Review the worksheet to make sure that the stories and tasks that are listed meet your expectations.

  10. Click Save.

    The workbook is saved to your team project portal site.

Estimating and Assigning Task Effort

The Iteration Backlog workbook contains the set of user stories and associated tasks that the team plans to implement for a specific iteration. The team estimates the level of effort that each task will require. Each team member signs up for the tasks to which they can commit, based on their skill set and workload. For more information, see Sprint Planning Meeting.

To estimate task effort and assign tasks

  1. In the Iteration Backlog workbook, click the Iteration Backlog worksheet.

  2. If you have opened a workbook that you have saved to your local computer, on the Team tab, in the Work Items group, click Refresh.

    This step helps make sure that the list of user stories and tasks contains the most current information.

  3. (Optional) To filter the list of stories based on product area, click the Down arrow down arrow next to Area, and then click the check box next to each product area that you want to include.

  4. Review the tasks that are assigned to each user story, and define additional tasks if necessary.

    For more information, see Adding User Stories and Tasks to the Backlog later in this topic.

  5. In each task, verify that Remaining Work and Completed Work contain values.

    Note

    Use the Excel editing features to change the values for multiple cells. For more information about how to modify cells in a worksheet, see topics about how to enter and edit data in the Office Excel Help.

    Update the following fields for each task as needed:

    Field Name

    Description

    Activity

    The type of activity that is required to perform a task.

    Remaining Work

    The number of hours of work that must be spent to complete a task.

    Completed Work

    The number of hours of work that have already been spent to complete a task.

    Assigned To

    The name of the team member who commits to complete the task.

    Important

    If you subdivide a task into subtasks, specify hours for the subtasks only. In Team Foundation reports, hours that you define for the subtask are rolled up as summary values for the parent task and the user story. If you assign hours in both places, hours will be counted twice in those reports that track hours. For information about how to correct this condition, see Address Inaccuracies Published for Summary Values.

  6. On the Team tab, in the Work Items group, click Publish.

    Note

    You can use the undo feature in Excel to undo recent changes that you made to work items before you publish the changes.

    For more information, see Publish Work Items in Office Excel.

  7. Click Save.

Planning an Iteration

Before you plan an iteration, you might want to review the product backlog and make sure that the iteration that is assigned to each user story meets your planning expectations. For more information, see Product Planning Workbook.

When you plan an iteration, you should iteratively perform the following steps until the plan meets your team's objectives and capacity:

  • Scheduling the Iteration

  • Accounting for Holidays and Planned Interruptions

  • Determining Team Capacity

  • Visualizing the Burndown

Scheduling the Iteration

To schedule the iteration, you specify the filters that are applicable for the iteration and define the start and end date for the iteration. This step provides the data that is necessary to calculate team capacity and burndown.

To schedule the iteration

  1. In the Iteration Backlog workbook, click the Settings worksheet.

  2. (optional) Click the Down arrow down arrow in the cell next to Area, and then click the product area that you want to include.

  3. Click the Down arrow down arrow in the cell next to Iteration, and then click the iteration that you want to include.

  4. Click the cell next to Start Date, and type the calendar date for the start of the iteration.

    The date format should be month/day/year (for example, 8/2/2009).

  5. Click the cell next to End Date, and type the calendar date for the end of the iteration.

Accounting for Holidays and Planned Interruptions

You can use the Interruptions worksheet to specify days when no work will be performed, either by the team or a team member. The number of days that are calculated for the iteration is updated on the Settings worksheet to reflect these interruptions.

To account for holidays or planned work interruptions

  1. In the Iteration Backlog workbook, click the Interruptions worksheet.

  2. Under Planned Interruptions, for each team member that has planned vacation days or work interruption days, perform the following steps:

    1. Click a cell under the Team Member column, and then click the name of the team member.

    2. Fill out the Description, Start Date, and End Date.

      The date format should be month/day/year (for example, 8/2/2009).

    3. Add a row for each time-off period.

  3. Under Holidays, perform the following steps:

    1. Fill out the Description, Start Date, and End Date.

      The date format should be month/day/year (for example, 8/2/2009).

    2. Add a row for each time off period.

    Add any dates that fall within the planned iteration to the worksheet.

Determining Team Capacity and Load Balancing Work

Before you balance workload across team members, make sure that the following steps have been completed:

  • A value has been defined for the Remaining Work and Completed Work for each task.

  • The Iteration Path is assigned to all tasks that the team intends to complete for the current iteration that the team is planning.

  • Time off for each team member and the team is specified on the Interruptions worksheet.

To determine team capacity and balance workload across the team

  1. In the Iteration Backlog workbook, click the Capacity worksheet.

  2. Under Individual Capacity, add each team member to the list, and specify the expected hours that each team member will work on the project each day.

    The following fields should update automatically with information that is specific for each team member:

    Column

    Description

    Days

    The number of working days during the iteration.

    Capacity

    The total number of working hours left for the iteration. This value is calculated based on the length of the iteration as defined in the Settings worksheet, the current date (which indicates how many days are left in the iteration), and the hours per day that is specified for the team member.

    Important noteImportant
    You cannot plan work that is in the past. The cells in the Capacity column reference the dates on the Settings worksheet and the current date when calculating capacity.

    Assigned

    The total number of hours that are assigned for the iteration. This number is a rollup of all the Remaining Work hours that are assigned to tasks.

    Utilized

    The total number of hours of the team member's capacity that are allocated. This number is a roll up of all the Remaining Work hours of tasks that are assigned to that team member, but the number cannot exceed the team member's capacity.

    Over

    The number of hours by which the team member is overallocated. This number is calculated by subtracting the Capacity from Assigned hours.

    Under

    The number of hours that the team member has to work on the project but that are not being used. This number is calculated by subtracting the Utilized from Capacity hours.

  3. Review the Team Capacity chart, and determine whether the team is over or under utilized. The ideal chart will show close to 100% Utilized, with no red bar showing Over utilization and a small green bar that shows Under utilization. For an example, see the following illustration:

    Team Capacity

    To correct for over or under utilization, perform one of the following actions:

    • If the team is over-utilized, click the Iteration Backlog worksheet, and reassign some tasks to a later iteration.

    • If the team is under utilized, open the Product Backlog workbook, and reassign some user stories and tasks to the iteration that you are planning. Refresh the Iteration Backlog worksheet to show the newly assigned tasks.

    Make these adjustments before balancing workload across team members.

  4. Review the Individual Capacity chart, and identify team members who are over and under allocated.

    As the following illustration shows, one team member is over allocated, and three team members are under allocated.

    Over and under allocated capacity

  5. Click the Iteration Backlog worksheet, and take the following actions:

    • Determine how to reassign work to use resources effectively, with no one over allocated and no one under allocated.

    • Discuss with the team which tasks are most appropriate to reassign.

    • Change the assignment for tasks to be reassigned. Repeat this step until no team member is over allocated or under allocated.

    The following illustration shows how the workload has been balanced across the four team members.

    Load balanced capacity

  6. Save the workbook.

Visualizing the Burndown

The data that appears in the Burndown worksheet is derived from the data warehouse.

Note

The Burndown worksheet requires that the team project collection where your team project is stored was provisioned with SQL Server Analysis Services. 

To visualize the burndown for the iteration

  1. In the Iteration Backlog workbook, click the Burndown worksheet.

  2. Click the cell next to Trend Start Date, and type the date that you want to start the iteration in month/day/year format (for example, 8/2/2009).

  3. Click Update now.

    The chart updates with data that is stored in the data warehouse.

    Note

    You might experience a delay between the time when you updated the effort fields for tasks and when that data is available from the data warehouse.

    The Ideal Trend line calculates a slope or trajectory for when work will be completed based on the trend start date, the amount of work remaining, and the end date for the iteration.

  4. (Optional) To visualize the burndown based on different trend start dates, you can select the Automatic Chart Update check box.

    The chart will be refreshed every time that you change Trend Start Date.

Tracking the Progress of the Iteration

After the iteration is underway, you can use the Iteration Backlog workbook to determine whether the team is on track to completing the work. To track progress, each team member must update the Completed Work and Remaining Work for each task.

Note

In addition to the Burndown worksheet, you can view the rate at which the team is progressing and determine the team burn rate by viewing the Burndown and Burn Rate report. For more information, see Burndown and Burn Rate Report (Agile).

To track the progress of the iteration

  1. Open the Iteration Backlog workbook, and then click the Burndown worksheet.

  2. Click Update now.

  3. Review the rate of work that the team is completing and the work that is still remaining. The Ideal Trend line should be above the blue area, which indicates that work is progressing as expected. The following illustration shows a healthy burndown chart:

    Healthy burndown chart

Adding User Stories and Tasks to the Iteration Backlog

You can create user stories and tasks by adding them to the Iteration Backlog workbook and publishing the workbook to the database for tracking work items. For more information about how to modify work items by using Office Excel, see Performing Top-Down Planning Using a Tree List of Work Items (In Excel).

To add user stories and tasks to the iteration backlog

  1. In Office Excel, open your iteration-specific workbook.

  2. If you have opened a saved workbook, on the Team tab, in the Work Items group, click Refresh.

    This step helps make sure that the list of user stories and tasks contains the most current information.

  3. For each user story that you want to add, click the row at the bottom of the list, and specify the following information for each user story that you want to add:

    • In the Work Item Type list, click User Story.

      Note

      You must specify the type of work item that you want to add before you can publish it.

    • In Title, type text that identifies the customer as specifically as possible and describes the customer's goal at a high level.

    • In Iteration, click the iteration that is set for this workbook.

      Click a different iteration if the work is to be performed in another iteration.

  4. For each task that you want to add, insert a row after the user story, and specify the following information:

    • In the Work Item Type list, click Task.

    • In Title 2, type an entry that identifies the customer as specifically as possible and describes the customer's goal at a high level.

      Note

      Make sure that you type the task title in the Title 2 column. This step creates a link between the user story and the task when the workbook is published.

    • In Iteration, click the iteration that is set for this workbook.

      Click a different iteration if the work is to be performed in another iteration.

  5. (Optional) Specify information for the following task fields:

    Field Name

    Description

    Activity

    The type of activity that is required to perform a task.

    Original Estimate

    The number of hours that are required to complete a task.

    Remaining

    The number of hours that remain to finish the task.

    Completed

    The number of hours that have already been spent working on a task.

    Note

    Use the Excel editing features to change the values for multiple cells. For more information about how to modify cells in a worksheet, see topics about how to specify and edit data in the Help for Microsoft Excel.

  6. (Optional) Add information to the remaining fields as appropriate.

    For more information about each field, see User Story (Agile) or Task (Agile).

  7. (Optional) To show additional Team Foundation fields in the list, on the Team tab, in the Work Items group, click Choose Columns.

    For more information, see Add or Remove Columns in a Work Item List.

  8. (Optional) Save the workbook.

    You can later open the local copy of the workbook, refresh the list, and make additional changes. You do not need to open the workbook from Team Explorer each time.

  9. On the Team tab, in the Work Items group, click Publish.

    For more information, see Publish Work Items in Office Excel.

Additional Resources for Managing the Iteration Backlog

For information about how to modify user stories and tasks by using Microsoft Excel, see the following topics:

See Also

Concepts

Agile Principles and Values, by Jeff Sutherland

Sprint Planning Meeting

Product Planning Workbook

User Story (Agile)

Workbooks (Agile)

Other Resources

Rank the Product Backlog