DEFECTID

Syntax

Example

Description/Remarks

DEFECTID " defect_desc"

DEFECTID "Broken"

If a defect called "Broken" or "BROKEN" already exists, then this formula returns the defect ID assigned to this description. If it does not exist, the number 0 is returned.

This command returns the internal defect code for the corresponding text by querying the defect master list. This command ignores the case of a defect description. For example, it will identify "Broken" or "BROKEN". If no matching text is found then it returns 0.

This command is used to determine whether a defect that a user is going to create already exists. If it does no exist, then users can create it by using the DEFECTCREATE command.