User-defined relationships

Rational® Synergy provides interfaces for maintaining many of the predefined relationships. However, if you need new types of relationships, use the ccm relate command to create relationships and the ccm unrelate command to break the relationships.

Teams might require new types of relationships for different reasons. You need a new type of relationship if you want to trace relationships between controlled objects that are useful to your team. For example, you can create a relationship called associated_spec between a specification and the corresponding source code, to trace that relationship.

To relate or unrelate two objects using the CLI, you must specify the relationship name, the from object, and the to object. You can show relationships in various ways, as described in the following examples:

By default, there are no rules to govern the security or semantics of user-defined relationships. For example, by default you can create a relationship between any two objects, whether they are modifiable. If you want a relationship to conform to semantics, such as one-to-many or type problem to type task, there is no way to define this restriction in the relationship. Instead, you can write scripts or programs to maintain the relationship and enforce those rules, or you can customize Rational Synergy.


Feedback