Adding item mapping rules

You can add item mapping rules to specify the fields to copy to new requirements created from existing requirements. For example, you can create a rule for creating functional requirements from business requirements or functional requirements from other functional requirements. You can also indicate if the requirements should be linked and if new requirements are added to the same folders as source requirements.

Note: You can only add rules for creating requirements from requirements and not other item types. Default rules already exist for all other item types. See Default item mapping rules. Edit an existing rule to change the mappings and other information. See Editing item mapping rules. You can only add one rule with the same source and new requirement types.

Keep the following in mind:

1. Choose Tools > Administration > Item Mapping Rules.

The Item Mapping Rules dialog box opens.

2. Click Add.

The Add Item Mapping Rule dialog box opens.

3. Select the requirement type to create and the source requirement type.

4. To edit a default field mapping, select it and make any changes.

The following fields are mapped between source and new requirements by default:

5. To add a mapping, click Add.

A new row is added to the Field Mappings list.

Note: You must select a field to copy before setting other mapping options.

6. To delete a mapping, select it and click Delete. To delete all mappings, click Delete All.

7. Click Restore Default Values to restore the default field mappings.

8. Select Add the requirement to the same folders as the source requirement to add new requirements to the same folders as the source requirements.

After the new requirement is added, users can open the folder or remove the requirement from the folder on the Folders tab.

9. Select Require adding new requirements to a document to require users to add new requirements to a document.

If this option is selected, users are prompted to select a document in the Select Requirement Document dialog box before adding a new requirement. New requirements are appended to the end of the selected document. When the new requirement is saved, the document opens with the new requirement, making it easier to find.

Note: If this option is selected, users can only create requirements based on this rule if the Add Requirements to Requirement Documents security command is enabled for their security group. See Requirement documents security commands.

10. Select a Link definition to use when a new requirement is created from an existing requirement. The list includes all link definitions that allow linking the two requirement types.

Select Prompt user before adding link to prompt users to create a link when creating new requirements from existing requirements. If this option is not selected, the link is automatically created. The selected link definition is always used. See Working with Related Items.

11. Select a mapping and click Top, Move Up, Move Down, or Bottom to organize the field order.

If multiple fields are mapped to the same field in a new requirement, values are added in the order displayed in the Field Mappings list.

12. Click OK to save the changes.