Learn how to create a report that traces the relationships between features and work
items, test cases, and child requirements in a single table.
About this task
This tutorial uses the JKE Banking sample that comes with the Rational® solution for
Collaborative Lifecycle Management (CLM).
Data warehouse is the data source. If you are using Lifecycle Query Engine, the
steps are similar; differences are noted.
Procedure
-
Open Report
Builder.
Go to http://<server_name>:<port>/rs
.
-
Click Build.
-
Choose a report type.
- For Data source, you can use the default that is configured for your
environment, or click the pencil icon, and select a different one in the list.
- Select Current Data.
-
Limit the scope of your report by selecting what projects to report
on.
Choose a Requirements Management (RM), a Change and Configuration Management (CCM), and a Quality
Management (QM) project.
-
Choose an artifact.
Under Requirements Management, expand Requirement, and select
Feature. Then click Continue.
-
Trace relationships and add artifacts.
In this section, create links from the feature artifact type to the artifact types you want to
explore.
-
Rename the label Requirement to Feature.
Double-click the label in the box, and type Feature.
-
Click Add a relationship, and under Work Item, choose
Implemented By. Click OK.
LQE: Click Add a relationship, and under Work
Item, choose Implemented By. Click OK. Then select
Work Item, and click OK again.
The traceability
link looks like this:
Tip: You can specify what relationship to show: Required,
Optional, or Does not exist. Above the
Implemented by link, click the twistie next to
Required, and select your option.
-
Trace a second relationship from Feature to Test Case.
Select the check box to enable multiple traceability relationships.
Click
Add a relationship underneath the
Implemented
by link. In the dialog window select
Append to combine the
results, and click
OK.
In the second traceability path, click
Add a relationship. Under Test
Case, choose
Validated By Test Case, and click
OK.
LQE: In the second traceability path, click
Add a
relationship. Under QM Test Case, choose
Validated By and click
OK. Select
QM Test Case, and click
OK.
-
Trace a third relationship from Feature to Child Requirement.
Click
Add a relationship underneath the
Validated by Test
Case link. In the dialog window select
Append to combine the
results, and click
OK. In the third traceability path, click
Add a
relationship. Under Requirement, choose
Parent Of, and click
OK. To rename
Requirement to
Child
Requirement, double-click the label in the box and type the new name.
LQE: Click
Add a relationship. Under
Requirement, choose
Parent Of, and click
OK. Select
Requirement, and click
OK. To rename
Requirement to
Child Requirement, double-click the
label in the box and type the new name.
-
Format results.
-
In the Table section, sort the features in ascending order.
Select Ascending for the feature attributes:
Project, ID, and Name. The sort
order is automatically updated.
-
Click Refresh to preview the report layout.
-
Click Run Report to see all the data, and ensure that it is what you are
looking for.
The traceability report runs, and the feature relationships are shown in the table. Feature 110
is implemented by work item 62, and it is verified by test case 8.
Feature 178 is implemented by work item 70, and verified by test case 16. It has 3 child
requirements: 188, 316, and 74.
-
When you are satisfied with the report, click the Name and Share page
title, and specify the details for your report; then click Save.
For details, see the section Name and share the report in
this topic.
What to do next
- To see your report in the list of other reports, click All Reports or
My Reports.
- To view a full-page version of your report in a new window, click Open in a new
window.
- To further edit your report, click a pencil in the My Choices pane at the
right. Click Save to save your changes.
- You can export your report to various document types (Microsoft Word, PDF, HTML). To do further
editing on the report, export it to Rational Publishing Engine if you have a license. You can also
export a report graph to an image file. See the related topics.