In this lesson, you create a set of filtering rules, which you use to customize the
current impact analysis diagram for your project. You create the impact analysis
condition in a second browser tab so that you can switch back and forth between the impact analysis
diagram and the condition.
Procedure
-
Define an impact analysis condition.
-
Open a new tab in your web browser, and go to
http://server:port/relm/web.
-
On the My Projects tab, click and open the required project.
-
To create an impact analysis condition, go to .
-
Name the condition Test case analysis.
-
Configure what artifacts to include in the impact analysis diagram based on the link
types.
- Click Add link type
next to the Filtered links section.
- In the Add link type dialog box, select All project
areas value from the Project area list. Then choose the
testedByTestCase (http://open-services.net/ns/cm#testedByTestCase) value and
click Add.
- Repeat step i and step ii to add the following link types:
- implementsRequirement
(http://open-services.net/ns/cm#implementsRequirement)
- Satisfies (https://rmserver:9443/rm/types/_jS1ALIXDEei6UY8WM5exJQ)
- Click Save.
When you use this impact analysis condition, the diagram shows artifacts that are
linked by the configured link types. To show all artifacts except the ones that are
linked by the configured link types, select the Ignore selected artifacts and
links checkbox. You can combine multiple conditions in a profile, and thus
you combine inclusion and exclusion rules.
-
Apply the impact analysis condition.
-
On the web browser tab where you are editing your impact analysis diagram, on the
Active conditions tab, click Add
condition
icon.
-
Select the Test case analysiscondition, and click
Add.
-
Click Apply.
The diagram shows the artifacts based on the rules that you defined in the
Test case analysis
condition.
-
Save the profile.
-
On the Focus and Profile tab, click Save.
-
In the Save profile window, enter the profile name and a description, and
click Save profile.
The profile holds the traversal information (number of analysis levels and directions),
and any conditions that you configure.
-
Create an impact analysis diagram that uses the Test case analysis
profile.
-
Go to .
-
In the Focus artifact field, enter the support
keyword.
-
In the search results list, select Donors Can Choose to Support an
Organization.
-
In the Profile field, select Test case analysis
profile.
The description shows you what conditions are applied.
-
Click Start analysis.
The diagram shows all the artifacts that are impacted by the focus artifact, and linked by using
the link types that are specified in the selected profile.
Results
You learned how to create an impact analysis condition, and to use the
condition to create an impact analysis diagram for your focus story. Use the diagram to
explore the artifacts associated with your focus artifact. Use custom conditions to
focus on different artifacts across your project lifecycle.