Knowledgebase

Search:     Advanced search

TestTrack Pro Linking Scenarios

Article ID: 580  |  Last updated: 05 Jan, 2015

Defect linking helps you track related defects so that all users are aware of the relationship as they perform their part of the work.

Link definitions allow you to specify the workflow restrictions to use in linking scenarios. For example, it may be important to close defects in a specific order. By default, projects include the following link definitions:

  • Related Defects – Use this definition to link defects that do not have a hierarchical relationship.
  • Parent/Child – Use this definition to link defects with a hierarchical relationship. You specify one defect as the parent and all other related defects are children.

The following linking scenarios can help you understand how linking can be used.


Scenario 1

Several customers reported defects that are related to the same coding problem. You want to track the defects together and make sure the developer assigned to fix the code is aware of all of the defects caused by this problem.

Use the Related Links definition to link the defects in a peer relationship. Defects can be assigned to one or more team members to fix in any order.


Scenario 2

A functionality change in one component of an application affects other components. You want to maintain separate defects for each component, but group them to maintain a complete change history.

Create a link definition and select the 'Peers must be closed in the specified order' option. You can then link the defects and specify the order that the defects must be closed.


Scenario 3

A new feature will be added to an application, which requires an application change, a database change, and a documentation change. You want to track all of the tasks related to the new feature together.

Create a link definition with the following options:

  • Has Parent
  • Parent/child relationship does not restrict workflow

Next, add a defect that describes the new feature and defects for each task that needs to be completed to implement the feature. You can then link the defects and select the feature defect as the parent.


Scenario 4

A defect is created for a problem that needs to be fixed in the current product version and earlier versions that your company still supports. You need to track the fix separately for each version and make sure that all earlier versions are fixed before the defect for the current version is closed.

Create a link definition with the following options:

  • Has Parent
  • Parent restricts workflow
  • Parent cannot be closed if any child is open

Next, duplicate the defect for each version the problem needs to be fixed for. Link the defects and select the current version defect as the parent. The current version defect cannot be closed until all defects for the previous versions are closed, which ensures that all versions are fixed.


Scenario 5

A defect is created for an application change that requires an interface change and a database change. The DBA must make the database change before the developer can make the application change.

Create a link definition with the following options:

  • Has Parent
  • Parent/child relationship does not restrict workflow
  • Children must be closed in the specified order

Next, add defects for the database change and the interface change. You can then add a link and select the application change defect as the parent. Specify that the database change defect must be closed before the interface change defect.


Scenario 6

A TestTrack Pro project has one workflow for requirements and one workflow for the tasks required to fulfill requirements. You want to link tasks to a specific requirement. The tasks must be closed in a specific order and all tasks must be closed before the requirement can be closed.

Create a link definition with the following options:

  • Has Parent
  • Parent restricts workflow
  • Parent cannot be closed if any child is open
  • Children must be closed in the specified order

Next, add a requirement defect and defects for the tasks that must be completed to fulfill the requirement. You can then add a link and select the requirement defect as the parent. Specify the order that the task defects must be closed in.

Article ID: 580  |   Last updated: 05 Jan, 2015
Tags
linking link definition

Prev   Next
Troubleshooting TestTrack SMTP Send Mail Problems     Users Cannot Log In or Access TestTrack TCM Functionality