Customizing Range Values for Defect and Defect Action Attributes

Defect Management includes several attributes for defects and defect actions that define a specified range of selectable values. You can add additional values or remove values as needed for your business processes.

Note: Only follow this procedure if you want to change the values that users can select from a drop-down list in the Create Defect panel when entering the values for these attributes:
  • Cause
  • Defect Action Type
  • Defect Reason for Rejection
  • Resolution Category
  • When Found
  • Where Found

  1. Open the Run MQL window:
    1. From the compass, select Collaboration and Approvals.
    2. In the navigation pane, click Utilities > Run MQL.
    To run an MQL command, enter the command in the MQL Command box and click Run or press Enter.
  2. To view the current attribute values, run the following command:

    print attribute "<attribute name>";

    where <attribute name> is the name of the attribute whose range value you want to customize.

    For example:

    print attribute "When Found";

  3. To add a new range value for the attribute, run the following command:

    modify attribute "<attribute name>" add range = "<range value>";

    where:

    • <attribute name> is the name of the attribute whose range you want to customize.
    • <range value> is the new range value that you want to add. Range values can only contain letters, numbers, spaces, and slashes.

    For example:

    modify attribute "When Found" add range = "Audit Check";

  4. To remove a range value for the attribute, run the following command:

    modify attribute "<attribute name>" remove range = "<range value>";

    where:

    • <attribute name> is the name of the attribute whose range you want to customize.
    • <range value> is an existing range value that you want to remove from the attribute.

    For example:

    modify attribute "When Found" remove range = "Second Pass Test";

  5. To define a new default value for the attribute, run the following command:

    modify attribute "<attribute name>" default = "<range value>";

    where:

    • <attribute name> is the name of the attribute whose range you want to customize.
    • <range value> is an existing range value that you want to make the default value for the attribute.

    For example:

    modify attribute "When Found" default "Development";

    Note: You must change the attribute's default value setting if you have deleted or modified the range value defined as the default.

  6. To review the changes that you have made to the attribute values, run the following command:

    print attribute "<attribute name>";
    where <attribute name> is the name of the attribute whose updated range values you want to view.

    For example:

    print attribute "When Found";

  7. Stop, then restart the 3DSpace app to see your changes to attribute values reflected in the Create Defect panel of the Defect Management and Collaboration user interface.