Creating attributes

You can create attributes to use in your change request process.

Procedure

  1. Display the CR Process dialog box.
  2. On the CR Process subbutton bar, click Edit.

    The Edit CR Process Properties dialog box opens.

  3. Click the Attributes tab, and then click Create.

    A placeholder, named _New_Attribute_, for the new attribute are displayed in the Change Request Attributes list and in the Name field.

    Note: If your CR process includes child CRs, you must create a relation attribute to use to define the copy transition that creates a child CR. This attribute can have any name (for example, cr_test to create a child CR for testing), and must be DB Type child and Web Type CCM_RELATION. For more information about defining lifecycles for child CRs, see Rational® Change Customization Reference, Release 5.2, which is the most recent version of this document.
  4. Set the attribute properties.
    1. In Name field, change _New_Attribute_ to the name of the new attribute.

      See the Rational Change 5.2 Known Problems technical document for naming restrictions.

    2. In Label field, type a label for the attribute (example, CR ID for the problem_number attribute).
    3. In the DBType list, click a database type (example, string or boolean).

      In releases before 5.3.1, the attributes of web type CCM_NUMBER were stored as strings in the database. For 5.3.1 and later, you can set their DB Type as integer. When the DB Type is set as integer, they can hold only integer values and users can query on them using mathematical operators such as =, !=, >, < >=, or <=. If you want your attributes of web type CCM_NUMBER to be treated as integers, create the attributes of web type CCM_NUMBER and select integer in the DBType list. Then, recreate and reinstall the process package. When the attributes display in the CR dialogs, users can enter integer values and run queries using mathematical operators.

      Do not update the DB Type of the old CCM_NUMBER attributes to integer. Doing so will result in inconsistent query results.

    4. In the Web Type list, click a web type for the attribute (example, CCM_STRING for a string attribute).

      To create a list box, click CCM_LISTBOX in the Web Type list.

      If the web type is CCM_LISTBOX, you can make the attribute dependent on another attribute by clicking an attribute in the Parent list. For example, make the browser_version child attribute dependent on the browser parent attribute.

    5. Select Queriable to query on the new attribute, if it makes sense to query on that attribute.
    6. Select Reportable to display the attribute in reports.
  5. Click Update.

Feedback