Add fields

To add required fields for requirement customization, follow these steps.

  1. Log on to ALM as a project administrator.
  2. Click Tools / Customize. The "Application Lifecycle Management - Project Customization" module opens.
  3. Add the following fields for the requirement entity in project entities (XX and XY are sequential numbers auto-generated by ALM).

    Field Name

    Field Label

    Field Type

    RQ_USER_XX

    Change ID

    String

    RQ_USER_XY

    Created from

    String

    Note The data type requirements for QC fields are described in Matching types.

    This is shown in the following figure.

  4. In Requirement Types add fields "Change ID"/"Created from" to the Business type requirement.

    Business type is the default requirement type for incoming requirements (other types can be used).

  5. Click Workflow > Script Editor.
  6. Select Requirements module script.
  7. Add the following code to Req_New and Req_Moveto (Req_New is called when a new Requirement is created; Req_Moveto is called when an existing Requirement is opened.)
    Req_Fields.Field("RQ_USER_XX").IsReadOnly=True

    Req_Fields.Field("RQ_USER_XY").IsReadOnly=True

  8. Save your changes.