Jama Connect User Guide

Set up relationship rules

Note

You must have organization administrator permissions to complete this task.

Relationship rules help maintain the project structure by preventing problems with relationships. The rules help users know when relationships are required and in which directions.

When these rules are set up, the Relationship Status Indicator alerts users to easily see when their relationships do not match the relationship rules. 

Rule sets are created at the organization level, and can then be applied to one or more projects.

  1. Decide with your team what relationships will be included, the relationship types, as well as whether the rules should be exclusive and included in coverage calculations for the project.

  2. Select Admin > Relationships and scroll down to the section labeled Relationship rule configuration. Here you will see any previously created rule sets. Scroll to the bottom and select Add rule set.

    set_up_relationship_rules.png
  3. Select New Rule Set and edit the name to describe your set.

    new_rule_set.png
  4. Add a rule by selecting the Upstream item typeDownstream item typeRelationship type from the drop-down menus. Select the box under For coverage if this relationship should be included for coverage. 

  5. Select Save to save the rule. As the rule is saved, it is added to the diagram to show the relationship visually. Select Add another relationship if you want another for this rule set.

  6. As rules are created, the diagram is updated to show the relationships. Solid lines between items indicate a coverage relationship. Dashed lines indicate relationships that are not for coverage. 

    relationship_diagram.png

    Tip

    Once you have set relationship rules for a project, you can also view the relationship rules diagram in Single Item View or on the dashboard.

  7. To delete a rule, select the X at the end of the rule's row. To delete an entire rule set, select the X at the top right of the rule set. After editing or deleting a rule, the rule set diagram will update with any changes made.

  8. Select Add project to apply the rule set to one or more projects. If a rule set is applied to a project with existing items, nothing will change in that project, even if the existing relationships break the new rules. Only future relationships will be required to conform with the rule set. 

    Important

    A project can only have one rule set. If a rule set has already been applied to a project and you attempt to apply a second rule set, the application will remove the first rule set from the project and apply the second one instead.

  9. If you select the box next to Allow relationships with item types not in this rule users will be able to create relationships outside of the rule set you have applied to the project.

    Rules are between item types. If you do not define a rule for a particular item type, that item type can have a relationship with anything, or nothing if the user chooses, even if the rule set is exclusive.