How do you create a link from a Child to a Parent Change Request in IBM Rational Change?
In Rational Change you can create Change Requests (CR) which are defined as subsets of another CR.
The subsets are known as Child CRs and the super set is a Parent CR.
From the Parent CR you have a hyperlink to the Child CR.
You need to know the exact relationship name between parent and child.
Assume that the relationship between parent and child CR is "
This will enable you to run queries from the command line to find child CRs for a given parent as follows:
ccm query "is_child_change_of(cvtype='problem' and problem_number='NNNNN')"
Conversely, given a particular child CR, we can find its parent with this query:
ccm query "has_child_change(cvtype='problem' and problem_number='nnnn')"
When Change displays a relationship between two CRs it is using exactly this sort of query. This is done through the special control type call
If you want a control that displays (and creates) child CRs, you create a new attribute called "
child_change" and assign it the Web Type "
To display parent CRs, you create a new attribute called "
has_child_change" and also make it a