|
1 | 1 | --- |
2 | | -title: Track dependencies by using Delivery Plans in Azure Boards |
| 2 | +title: Track dependencies in Delivery Plans |
3 | 3 | titleSuffix: Azure Boards |
4 | | -description: Learn how to track dependencies within teams, across teams, and across projects by using Delivery Plans in Azure Boards. |
| 4 | +description: Learn how to view and manage work item dependencies using dependency tracking features in Delivery Plans. |
5 | 5 | ms.service: azure-devops-boards |
6 | 6 | ms.custom: cross-project |
7 | 7 | ms.author: chcomley |
8 | 8 | author: chcomley |
9 | 9 | ms.topic: how-to |
10 | 10 | monikerRange: '>= azure-devops-2022' |
11 | | -ms.date: 08/03/2022 |
| 11 | +ms.date: 09/03/2025 |
12 | 12 | --- |
13 | 13 |
|
14 | 14 |
|
15 | | -# Track dependencies by using Delivery Plans |
| 15 | +# Track dependencies in Delivery Plans |
16 | 16 |
|
17 | 17 | [!INCLUDE [version-gt-eq-2022](../../includes/version-gt-eq-2022.md)] |
18 | 18 |
|
19 | | -With Delivery Plans, you can track dependencies that have been added to work items. Dependency tracking supports the **Predecessor/Successor** link type between work items. The following image shows several work items that have dependencies. Those cards with a :::image type="icon" source="media/dependencies/dependency-green-icon.png" border="false"::: green icon indicate there are no dependency issues. Those cards with a :::image type="icon" source="media/dependencies/dependency-red-icon.png" border="false"::: red icon indicate there are issues with one or more dependencies. Dependency issues arise when a predecessor work item is scheduled to finish after a successor work item. |
| 19 | +Delivery Plans provide visual dependency tracking for work items linked with **Predecessor/Successor** relationships. Dependency visualization helps you identify scheduling conflicts and manage cross-team dependencies effectively. |
20 | 20 |
|
21 | | -:::image type="content" source="media/dependencies/dependencies-with-without-issues.png" alt-text="Screenshot of delivery plan showing work items with dependencies and dependencies with issues."::: |
| 21 | +Cards display dependency status icons: |
| 22 | +- :::image type="icon" source="media/dependencies/dependency-green-icon.png" border="false"::: **Green icon**: No dependency scheduling issues |
| 23 | +- :::image type="icon" source="media/dependencies/dependency-red-icon.png" border="false"::: **Red icon**: Dependency scheduling conflicts detected |
22 | 24 |
|
23 | | -To view dependencies, you must first define the Delivery Plan and dependencies between work items. To learn how, see [Add or edit a Delivery Plans](add-edit-delivery-plan.md) and [Link user stories, issues, bugs, and other work items](../backlogs/add-link.md#link-several-work-items). |
24 | | - |
25 | | -> [!TIP] |
26 | | -> You can create dependencies between work items in different projects and different teams within the same organization, but not in projects in different organizations. You can open a work item and add a dependency through the links tab. |
| 25 | +:::image type="content" source="media/dependencies/dependencies-with-without-issues.png" alt-text="Screenshot of delivery plan showing work items with dependencies and dependency issues."::: |
27 | 26 |
|
28 | 27 | ## Prerequisites |
29 | 28 |
|
30 | | -| Category | Requirements | |
31 | | -|--------------|-------------| |
32 | | -| **Permissions** | - To view a Delivery Plan: Member of the **Project Collection Valid Users** group. Users granted **Stakeholder** access for a private project can view plans. Users granted **Stakeholder** access for a public project can add and view plans.<br> - To open or modify a work item or add work items: **Edit work items in this node** permission set to **Allow** for the Area Paths assigned to the work item. | |
33 | | -| **Configuration** |- For work items and dependency lines to appear on the plan: [Enable a team product or portfolio backlog](../../organizations/settings/select-backlog-navigation-levels.md) to select it for a plan.<br> - Work items belong to a team's [product backlog](../backlogs/create-your-backlog.md) or [portfolio backlog](../backlogs/define-features-epics.md). Only work items belonging to a category selected for viewing on a team's backlog and meet any [field criteria defined for the plan](add-edit-delivery-plan.md#field-criteria) appear on the plan. <br> - [Sprints selected for each team](../../organizations/settings/set-iteration-paths-sprints.md#select-team-sprints-and-set-the-default-iteration-path) defined in the plan.<br> - [Start and end dates](../../organizations/settings/set-iteration-paths-sprints.md#add-iterations-and-set-iteration-dates) defined for each project iteration.<br> - [**Iteration Paths**](../sprints/assign-work-sprint.md) or [**Start Date/Target Date**](../queries/query-by-date-or-current-iteration.md#date-and-iteration-path-fields) defined for each work item. When defined, **Start Date/Target Date** overrides the sprint assigned to a work item.<br> - To show dependency icons and lines: [Work items](../backlogs/add-link.md) linked using **Predecessor-Successor** link type.<br> - Team expanded to view dependency icons and dependency lines. | |
| 29 | +| Requirement | Description | |
| 30 | +|-------------|-------------| |
| 31 | +| **Access** | Member of the **Project Collection Valid Users** group or **Stakeholder** access | |
| 32 | +| **Permissions** | **Edit work items in this node** permission set to **Allow** for relevant Area Paths | |
| 33 | +| **Configuration** | [Delivery Plan created](add-edit-delivery-plan.md) with teams and backlogs configured | |
| 34 | +| **Dependencies** | Work items [linked using Predecessor-Successor link type](../backlogs/add-link.md#link-several-work-items) | |
34 | 35 |
|
35 | | -> [!TIP] |
36 | | -> If you edit a plan and don't see the changes you made appear in the plan, refresh your browser. A browser refresh is needed some times to trigger the updates. |
| 36 | +For complete setup requirements, see [Add or edit a Delivery Plan](add-edit-delivery-plan.md#prerequisites). |
37 | 37 |
|
38 | | -## Show dependency lines for a work item |
| 38 | +> [!TIP] |
| 39 | +> You can create dependencies between work items across different projects and teams within the same organization. Dependencies across organizations aren't supported. |
39 | 40 |
|
40 | | -1. Open the Delivery Plan from **Boards** > **Delivery Plans**. |
| 41 | +## View dependency lines |
41 | 42 |
|
42 | | - > [!div class="mx-imgBorder"] |
43 | | - >  |
| 43 | +1. Open your Delivery Plan from **Boards** > **Delivery Plans**. |
44 | 44 |
|
45 | | -1. To view dependency lines for a work item, select the top or bottom of its card. To dismiss the lines, select the top or bottom of the card again, or anywhere else within the plan. |
| 45 | +2. Select the top or bottom edge of a work item card to show its dependency lines. Select again or select elsewhere to hide the lines. |
46 | 46 |
|
47 | | - Dependency lines that have no issues show up as black lines. |
| 47 | + **No scheduling conflicts** (black lines): |
| 48 | + :::image type="content" source="media/dependencies/dependency-lines-no-issue.png" alt-text="Screenshot of dependency lines showing no scheduling issues."::: |
48 | 49 |
|
49 | | - :::image type="content" source="media/dependencies/dependency-lines-no-issue.png" alt-text="Screenshot of dependency lines that have no issues."::: |
| 50 | + **Scheduling conflicts** (red lines): |
| 51 | + :::image type="content" source="media/dependencies/dependency-lines.png" alt-text="Screenshot of dependency lines showing scheduling conflicts between work items."::: |
50 | 52 |
|
51 | | - > [!TIP] |
52 | | - > To view dependency lines across team backlogs, make sure to expand both teams. |
| 53 | + > [!TIP] |
| 54 | + > Expand both team rows to see dependency lines across teams. |
53 | 55 |
|
54 | | - Dependency lines that have issues, show up with red lines. The issues indicate that the successor work item is scheduled to end before the predecessor work item is completed. |
| 56 | +3. To view conflict details, select the :::image type="icon" source="media/dependency-issue-icon.png" border="false"::: issue icon on the work item card. |
55 | 57 |
|
56 | | - :::image type="content" source="media/dependencies/dependency-lines.png" alt-text="Screenshot of dependency lines that show issues between several work items."::: |
| 58 | + :::image type="content" source="media/dependencies/dependency-lines-issue-alert.png" alt-text="Screenshot showing dependency conflict details in a work item card."::: |
57 | 59 |
|
58 | | -1. To view the issue, choose the :::image type="icon" source="media/dependency-issue-icon.png" border="false"::: icon. |
| 60 | +## View dependency details |
59 | 61 |
|
60 | | - :::image type="content" source="media/dependencies/dependency-lines-issue-alert.png" alt-text="Screenshot of card showing dependent work items with an issue in predecessor-successor linkage."::: |
| 62 | +For detailed dependency information, select the dependency icon (:::image type="icon" source="media/dependencies/dependency-green-icon.png" border="false"::: or :::image type="icon" source="media/dependencies/dependency-red-icon.png" border="false":::) on any work item card. |
61 | 63 |
|
62 | | -## Open the dependency summary for a work item |
| 64 | +:::image type="content" source="media/dependencies/card-dependency-link.png" alt-text="Screenshot of work item card with dependency icon highlighted."::: |
63 | 65 |
|
64 | | -To drill down into specific dependencies, open the Dependencies dialog for the work item. Choose the icon that indicates the work item has dependencies, either the :::image type="icon" source="media/dependencies/dependency-green-icon.png" border="false"::: green or :::image type="icon" source="media/dependencies/dependency-red-icon.png" border="false"::: red icon. |
| 66 | +The Dependencies dialog shows: |
| 67 | +- All predecessor and successor work items |
| 68 | +- Dependency status and any scheduling conflicts |
| 69 | +- Cross-project dependencies (when applicable) |
65 | 70 |
|
66 | | -For example, here we choose the link icon for a work item with dependencies to several work items within the same project and another project. |
| 71 | +:::image type="content" source="media/dependencies/dependency-dialog-with-no-issues-cross-project.png" alt-text="Screenshot of Dependencies dialog showing work items with no scheduling conflicts."::: |
67 | 72 |
|
68 | | -:::image type="content" source="media/dependencies/card-dependency-link.png" alt-text="Screen shot of card and link icon."::: |
| 73 | +## Resolve dependency conflicts |
69 | 74 |
|
70 | | -The Dependencies dialog indicates that the work item has three predecessors and no issues. |
| 75 | +Dependency conflicts occur when a successor work item is scheduled to complete before its predecessor. These conflicts appear with red indicators in the Dependencies dialog. |
71 | 76 |
|
72 | | -:::image type="content" source="media/dependencies/dependency-dialog-with-no-issues-cross-project.png" alt-text="Dependencies dialog for a work item with no issues."::: |
| 77 | +:::image type="content" source="media/dependencies/dependencies-cross-project.png" alt-text="Screenshot of Dependencies dialog showing scheduling conflicts with red indicators."::: |
73 | 78 |
|
74 | | -## Identify dependency issues |
| 79 | +**To resolve conflicts:** |
75 | 80 |
|
76 | | -When conflicts arise, they are highlighted in red. These issues typically occur when a successor work item's end date is set before the predecessor work item's end date. To determine the end date, use either the **Target Date** for the work item or the **End Date** of the assigned **Iteration Path**. |
| 81 | +- **Review scheduling**: Check the **Target Date** or **Iteration Path** end dates for conflicting work items |
| 82 | +- **Adjust timing**: Modify work item dates or iteration assignments to resolve scheduling conflicts |
| 83 | +- **Re-evaluate dependencies**: Consider if dependency relationships are still accurate |
77 | 84 |
|
78 | | -For example, the Dependencies dialog below shows that two predecessor work items are scheduled to complete before the successor work item. A red exclamation mark and red arrows indicate an issue with this dependency. |
| 85 | +> [!NOTE] |
| 86 | +> Dependency end dates are determined by either the work item's **Target Date** or the **End Date** of its assigned **Iteration Path**. |
79 | 87 |
|
80 | | -When a dependency links to a work item in another project, the project information and other link relationships are displayed. |
| 88 | +## Best practices for dependency tracking |
81 | 89 |
|
82 | | -:::image type="content" source="media/dependencies/dependencies-cross-project.png" alt-text="Dependencies dialog for a work item with dependencies-cross-project."::: |
| 90 | +- **Use consistent link types**: Always use Predecessor-Successor links for dependency tracking |
| 91 | +- **Regular review**: Check dependency status during sprint planning and reviews |
| 92 | +- **Cross-team coordination**: Expand team rows to visualize dependencies across teams |
| 93 | +- **Proactive management**: Address red dependency indicators promptly to avoid delays |
83 | 94 |
|
84 | | -## Related content |
| 95 | +## Related content |
85 | 96 |
|
86 | 97 | - [Add or edit a Delivery Plan](add-edit-delivery-plan.md) |
87 | 98 | - [Review team Delivery Plans](review-team-plans.md) |
88 | | -- [Interactively filter your backlogs, boards, and plans](../backlogs/filter-backlogs-boards-plans.md) |
89 | | -- [Backlogs, boards, and plans](../backlogs/backlogs-boards-plans.md) |
90 | | - |
91 | | - |
| 99 | +- [Link work items](../backlogs/add-link.md) |
| 100 | +- [Use the Dependency Tracker extension](../extensions/dependency-tracker.md) |
| 101 | +- [Manage dependencies](../best-practices-agile-project-management.md#manage-dependencies) |
| 102 | + |
0 commit comments