Related items
This topic explains the concepts of related items and dependencies, and describes how to create them.
Related items
Related items are items that have a defined connection between them. The Relations tab of an item allows you to define connections between the item and any other workspace item. Some relations are created automatically, such as the links between a test and its runs, or a test and defects detected during its run.
There are several types of relationships that can exist between items: covering tests, trace to/from, parent, covering requirement document, upstream/downstream dependency.
Create a relationship
Some relationships are created automatically. For example, when you create a test for a feature, a Covering Test relationship is formed between the test and its feature.
You can also manually add relationships between items.
To create a relationship:
- On an item's Relations tab, click the Add Relation button
.
- Click the item type, and then select the item to which you want to relate. If necessary, you can select multiple items.
- Click Add. The relationship between the items is created.
To manage an item's relationships:
- Open an item's details view.
- Select the Relations tab.
- Use the Add and Remove buttons to manually add or remove related items.
You can view relations in the Chart layout or in the Viewer
layout. The chart layout is the default view for the Relations tab. Once opened, the Relations tab saves the last view type per user, per entity.
Relations can be added and deleted in the chart layout or viewer layout.
Layout | Details |
---|---|
Chart |
The following describes the chart behaviors:
|
Viewer |
The following describes the viewer behaviors:
|
Create a dependency
Dependencies are items related by the Upstream dependency and Downstream dependency relationships. Dependency relationships determine the order in which activities must be performed. The activities of an upstream dependency must be performed before the activities of a downstream dependency.
You can create dependencies between features, user stories, quality stories, and defects.
To create a dependency:
- Open the Relations tab in the downstream item.
- Click Add Relation > Upstream Dependency.
- In the dialog box, select one or more items on which the downstream item is dependent.
After the first dependency is defined, you can add more dependencies from the dependencies map.
Manage dependencies
An item's dependencies are displayed in a dedicated dependencies map, and in the item's Relations tab.
To view the dependencies map, open an item's Details tab and click the View Dependencies button in the toolbar. If the button is not displayed, the item does not have any upstream or downstream dependencies.
In the feature Planning Board, dependent features are marked Dependencies exist . For details, see Planning Board feature dependencies.
In grid view or slim grid view, you can add dependency fields to the grid using Choose columns. For details, see Grids and views.
See also: