Linking a test case with a work item in Rational Team Concert

If your team has set up cross-server communication with IBM® Rational® Team Concert, you can link your test cases to work items in IBM Rational Team Concert. As such, you can set up a mapping between a feature that a developer is working on and your test case.

Before you begin

Before you can link a test case to a work item, these requirements must be met:

About this task

Note: The types of work items that are available depend on the process that the development team is using. Not all work item types are available in all processes. Typical work item types include Plan Items, Defects, Enhancements, Tasks, Stories, and so on. For more information about work items, see the section on "Managing change and releases" in the Rational Team Concert Information Center.

To link a test case to a work item.

Procedure

  1. Open a test case or create one in Rational Quality Manager.
    Note: When creating a test case, you can set the Collaborative ALM test case template as the default test case template. This template includes a section for Plan Items. You can also create a test case template that includes a Plan Item section.
  2. If there is no Plan Item section in your current test case, you can add one:
    1. In the test case, click Manage Sections.
    2. In the Manage Sections window, click Show all Sections.
    3. Select Plan Items, and then click the arrow pointing to the right.
    4. Click the up or down arrow to move the Plan Item to the appropriate location in the test case.
    5. Click OK.
  3. In the Table of Contents, click Plan Item to open the Plan Item section.
  4. Click the Add Plan Items icon (Add).
  5. Select the work item to link to the test case.
    1. In the Type field, select the work item type to search for; then select Show All to show all work item types.
    2. Type the work item ID or words that the text of the work item contains.
    3. Select the desired work item from the list.
    4. Click OK to add the work item to the test case.
    5. Click Save to save the test case.

Results

After the work item is added to the test case, you can hover over the work item ID to view the status of the work item. When the developer updates the status in the work item, the changes will be reflected in the work item ID in the test case.

Later, you can open the test case from the link in the Rational Team Concert work item.


Feedback