Creating and modifying attribute groups

You can create and edit attribute groups in a project. Edits include adding and removing attributes, modifying attribute types and values, and identifying applicable artifact types.

Procedure

  1. Open the project Administration page, by doing one of the following actions:
    • Click the Open button in the editor toolbar and select a project.
    • Right-click a project in the Project Explorer and click Open.
  2. In the project pages, click the Administration tab.
  3. Do one of the following actions:
    • To add a new attribute group, click New Attribute Group in the Attribute Groups section toolbar.
    • To modify an attribute group, click a group name in the Attribute Groups list and click Open.
  4. In the Modify Attribute Group window, enter or edit the Group Name.
  5. If this attribute group is applied to artifact types that integrate with Rational® RequisitePro® (typically, requirement artifacts), the Group ID must match the prefix of the corresponding requirement type in Rational RequisitePro; for example, the Feature attribute group has a Group ID of FEAT to integrate with feature requirements in Rational RequisitePro. No Group ID is required if the group is not used to integrate with Rational RequisitePro.
  6. Optionally, add or modify the Description for the attribute group.
  7. Click check boxes in the field Available on these kinds of artifacts to enable this attribute group available for the selected types. The Resource Wrapper type is for all external artifacts that have been uploaded to the repository.
  8. Select an artifact type and click Apply to all new artifacts to include this group in all new artifacts of the selected type by default. Click Do not apply to all new artifacts to remove the default designation.
  9. In the Attribute Definitions section, add an attribute to the group or select an attribute and use the controls to perform the following actions. The order of the attributes in this section is the order they will appear in the artifact editor sidebar.
    Option Description
    Add a new attribute. The new entry is named My attribute and defaults to a List type.
    Delete the selected entry from the list.
    Move the selected entry up in the list.
    Move the selected entry down in the list.
  10. In the Edit Selected Attribute section, modify the Attribute Name, Attribute Description, Type, and Allowed Values. For List type attributes, the controls are similar to those described in the previous step. For List type attributes, click an attribute value in the Allowed Values list to edit it.
  11. To designate an attribute as mandatory for user input, click the check box Attribute must have a value. If the selected attribute is a List-type attribute, you must select a value in the Allowed values list and click Default value. For mandatory attributes, a value is only required if the attribute group is applied to the artifact.
  12. Click OK to save your changes and close the window.

Feedback