Define iteration paths (sprints) and configure team iterations
Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019
Iteration Paths, also referred to as sprints, support assignment of work items to time-box intervals. You define iteration paths at the project level, and then each team selects the paths that they want to use. Iteration paths are a shared resource used by all teams that select them. You can create a flat set of iteration paths or a hierarchy of paths to support releases, subreleases, and sprints.
Define iteration paths and assign them to teams when you want to use the following tools:
Tip
If a team hasn't subscribed or selected an iteration path, that iteration path won't appear in a team view or tool.
For information about naming restrictions and limits placed on addition of Iteration Paths, see About areas and iterations, Naming restrictions.
Tip
To quickly update iteration dates, see Change sprint dates. However, if you need to define the iteration paths and tree structure, then follow the guidance provided in this article.
Prerequisites
- To add an iteration path to a project, you must be a member of the Project Administrators group. If you don't have a project yet, create one now. By default, the user who created the project has these permissions set.
- To add, edit, and manage iteration paths under a node, you must have one or more of the following permissions set to Allow for the node that you want to manage: Create child nodes, Delete this node, Edit this node, and View permissions for this node.
- To set team iteration paths, you must be added as the team administrator or be a member of the Project Administrators group.
For more information about acquiring permissions, see Change project-level permissions or Set permissions and access for work tracking.
Get started
Newly created projects contain a single, root area path that corresponds to the project name. You add area paths under this root. Also, each project typically specifies a predefined set of iteration paths to help you get started tracking your work. You only need to specify the dates.
If you're new to managing projects and teams, complete the following steps:
- Review Configure and customize Azure Boards.
- Define the area paths and teams following the guidance provided in Define area paths and assign to a team.
- Determine the length of the iteration you want to support. Recommended practice is to have all teams use the same sprint cadence. For guidance, review About areas and iterations.
- Determine if you want a flat structure or hierarchy of sprints and releases.
- Open Project settings>Project configuration and define the iteration paths to support steps 2 and 3 at the project level. Follow the steps provided later in this article: Open Project Settings, Project configuration and Add iterations and set iteration dates.
- Open the team configuration and assign the default and other area paths to each team. Follow the steps provided later in this article: Open team settings and Set team default iteration paths.
- Each team should assign the default iteration path they selected to their work items. Do so for those work items to show up on their product backlogs and boards. Use bulk modify to modify several work items at once. See also Assign backlog items to a sprint.
As needed, do the following tasks at any time:
- Add more child iteration nodes
- Rename an iteration path (except the root path)
- Move a child iteration path under another node
- Delete a child iteration path
- Change the default and selected iteration paths assigned to a team
Team backlog iteration versus default iteration
Each team has access to many Agile tools, as described in About teams and Agile tools. Each tool references the team's default area paths. Several tools reference the team's default and selected iteration paths or sprints. Most teams choose one area path and several iteration paths to support their work tracking activities. However, to support other scenarios, it's possible for teams to choose several area paths to appear on their backlogs and boards.
Teams can set a default iteration different from the backlog iteration. The backlog iteration determines which items appear on the team's backlogs and boards. And, the default iteration determines what value is assigned to work items created from the team context.
All work items that you create from your team context are automatically assigned both the team's default area path and default iteration path.
Important
Select the version of this article that corresponds to your platform and version. The version selector is above the table of contents. Look up your Azure DevOps platform and version.
Open Project Settings, list project iterations
You define both areas and iterations for a project from the Project Settings > Boards > Project configuration.
From the web portal, open Project Settings.
Define both areas and iterations for a project from the Project settings > Boards > Project configuration.
Choose (1) Project Settings, expand Boards if needed, and then choose (2) Project configuration and (3) Iterations.
From the web portal, open Project Settings.
Define both areas and iterations for a project from the Project configuration > Iterations.
From the web portal, choose Project settings(1), select Project configuration(2), and then Iterations(3).
Add iterations and set iteration dates
Add iterations in the same way that you add areas. For more information about working within a sprint cadence, see Scrum and sprint planning tools.
Add and modify area paths from Project settings > Project configuration > Iterations.
For Scrum-based projects, you see the following set of sprints.
To schedule the start and end dates for each sprint that your teams use, highlight the sprint and choose Set dates. Or, select Actions
for the iteration path and choose Edit.
To select new dates, choose the calendar icon.
When you finish, you have a set of sprints scheduled - similar to the following image:
Your next step is to choose the sprints each team uses.
From Iterations, add iterations that teams can then select for their use.
Add and modify area paths from the Work > Iterations page from the project admin or settings context.
For Scrum-based projects, you see the following set of sprints.
To schedule the start and end dates for each sprint your teams use, Highlight the sprint and choose Set dates. Or, select Actions
context menu for the iteration path and choose Edit.
To select new dates, choose the calendar icon.
When you finish, you have a set of sprints scheduled - like this:
Your next step is to choose the sprints each team uses.
Open team settings, list team iterations
Set team defaults from team settings. If you're not a team administrator, get added as one. Only team or project administrators can change team settings.
Note
Teams can be assigned a maximum of 300 Iteration Paths. For more information, see Work tracking, process, and project limits.
You define both areas and iterations from Project settings > Boards > Team configuration. Quickly navigate to it from a team work tracking backlog, board, or dashboard.
Open a backlog or board for a team and choose
Team profile and then Team Settings.
Here we open the Board for the Web team and from there the team profile.
Choose Iterations and areas.
If you need to switch the team context, use the team selector within the breadcrumbs.
Select team sprints and set the default iteration path
You define sprints for the project and then select them to be active for each team. You assign the default iteration to use when creating new work items.
Open Project settings > Boards > Team Configuration > Iterations for a team.
Here, we navigate to the Fabrikam Fiber Team.
Backlog iteration. Only work items assigned to an iteration equal to or under this backlog iteration appear in the team's backlogs and boards.
Also, all work items added through a team's backlog or board are assigned the backlog iteration.
Default iteration. The default iteration defines the iteration to use when you create a work item from the team backlog or board. specify any iteration defined under the Backlog iteration path. To assign new work items to the current iteration, specify @CurrentIteration. The same macro used in queries to list work items assigned to the currently active iteration assigned to the team is used.
For example, you might want all new work items added to a future iteration path, which you use to triage and assign to specific sprints at periodic intervals.
Note
New work items added through the Work Items page or the New Work Items widget on a team dashboard don't reference the Default Iteration Path assigned to the team. Instead, new work items are assigned the last Iteration Path selected by the user. New work items added through a team's Sprints backlog or taskboard are always assigned the Iteration Path associated with the selected sprint.
Active sprints. Add an iteration for each sprint backlog you want active for the team. Add each sprint, one by one, by selecting it from the menu.
When you finish, you should see a list of sprints, similar to the following.
If you don't see the sprints or dates that you need, add or edit iterations for the project, provided you have the required permissions. For more information, see Define iteration (sprint) paths.
To see the newly activated sprint backlogs, refresh your team's product backlog page.
Rename or move an iteration
When you rename an iteration, or move the node within the tree hierarchy, the system automatically updates the work items and queries that reference the existing paths.
To rename an iteration path, choose the
context menu for the node, and then select Edit.
In the dialog that opens, enter the new name.
To move the node within the hierarchy, change the Location field.
To delete a node, choose the Delete option from the actions menu.
Note
When you delete an iteration node, the system automatically updates the existing work items with the node that you enter at the deletion prompt.
Delete an Iteration Path
Important
- Deleting Area Paths or reconfiguring Iteration Paths causes irreversible data loss. For example, burndown and burnup widget charts, sprint burndown, and velocity charts for teams with changed Area Paths won't display accurate data. Historical trend charts reference the Area Path and Iteration Path as they were defined at the time for each work item. Once deleted, you can't retrieve historical data for these paths.
- You can only delete area and iteration paths that are no longer used by any work items.
When you delete an Iteration Path, you must provide an Iteration Path to use to update the work items assigned to the Iteration Path you want to delete.
To delete an Iteration Path, open the web portal Project settings>Project configuration>Iterations page.
Choose the
context menu for the node, and select Delete or Remove.
In the dialog that opens, select the Iteration Path to reassign work items to, and then choose Delete path.
Export/import iteration paths
You can't export or import the structure of tree paths for one project to use with another project.
Using the Azure CLI, you can use the az boards iteration
command to list the iterations defined for one project and then add them to another project. Once you add the iterations to another project, you can then use the az boards iteration team
command to add them to a team and set the default and backlog iteration path for the team.
You can use the Classification Nodes (REST API) and Teams (REST API) to perform similar actions.
You can use the Classification Nodes (REST API) to list the iterations defined in one project. Once you add the iterations to another project, use the Teams (REST API) to add them to a team and set the default and backlog iteration path for the team.
Archive iteration paths
After a while, you might want to archive iteration paths that were used for sprints that are a year or more out of date. You can do so by moving the iteration path under a node that you label "Archive". All work items are updated with the moved iteration path. Also, teams can de-select those sprints that have past. All data is maintained in the data store with the new iteration path assignments.
Before you archive the iterations, consider if you captured all the reports that you will want.
Chart progress by iteration
You can quickly generate queries to view the progress for those areas. For example, you can visualize progress of work items that are assigned to sprints, as shown in the following stacked bar chart.
Q & A
Q: Do I have to assign iteration paths to a team?
A: If your team doesn't use sprints to plan and track work, then no. You can leave the defaults assigned to the team as they are. You can then use the product and portfolio backlogs and boards, however you can't gain much use of sprint planning tools.
Related articles
- About areas and iterations
- Add another team
- Configure team settings and add team administrators
- Assign backlog items to a sprint
- Agile tools that rely on areas or iterations
Programmatic resources
Area paths and iteration paths are also referred to as Classification Nodes.