Übergibt einen neuen Datensatz an die aktuelle Rational-ClearQuest-Datenbank. Wenn Sie diesen Befehl ohne Optionen ausführen, werden Sie in einem Dialog zur Eingabe der erforderlichen Felder aufgefordert. Ein neuer Defect kann erst erstellt werden, wenn alle (im Rational-ClearQuest-Schema definierten) Felder angegeben sind.
Übergabe eines Datensatzes an den Satztyp "Defect" ohne Angabe von Feldwerten
CQTOOL submit -rec Defect Value required for field Headline [SHORT_STRING]: This is a test. Value required for field Severity [SHORT_STRING] (? to see list): ? 1-Critical 2-Major 3-Average 4-Minor 5-Enhancement Values can be given by an unambiguous prefix Value required for field Severity [SHORT_STRING] (? to see list): 1 Created Defect SAMPL00000059 -----------------------------------------------------------
Übergabe eines Defect mit allen erforderlichen Feldern in der Befehlszeile
CQTOOL submit -headline "Typo in the online help." -severity 3 Created Defect SAMPL00000060 − ----------------------------------------------------------
Übergabe eines Datensatzes an den Satztyp "Defect" nach Anforderung zusätzlicher zu setzender Felder
CQTOOL submit -ask -rec Defect Value required for field Headline [SHORT_STRING]: This is a another test Value required for field Severity [SHORT_STRING] (? to see list): 2 Enter field name [RETURN to continue] (? to see list): ? Attachments Keywords Resolution customer Note_Entry Severity customer severity Owner Symptoms Description Priority Headline Project Names can be given by an unambiguous prefix Enter field name [RETURN to continue] (? to see list): Symptoms Value for field Symptoms [MULTILINE_STRING] (? to see list): ? Cosmetic Flaw Incorrect Operation System Crash Data Corruption Installation Problem Unexpected Behavior Data Loss Missing Feature Unfriendly Behavior Documentation Issue Slow Performance Values can be given by an unambiguous prefix Value for field Symptoms [MULTILINE_STRING] (? to see list): Data Loss Enter field name [RETURN to continue] (? to see list): Created Defect SAMPL00000060 −-------------------------------------------------------------
Übergabe eines Datensatzes an den Standardsatztyp nach Angabe mehrerer Werte für die Schlüsselwörter für Feldnamen
CQTOOL submit -keywords "ClearQuest multisite" "rational" or CQTOOL submit -field keywords "ClearQuest multisite" "rational"