現在の Rational® ClearQuest® データベースに新規レコードを登録します。 オプションを指定せずに実行しても、対話式のプロ ンプトが表示されるのは必須フィールドについての みです。 すべての必須フィールド (Rational ClearQuest スキーマに定義されているもの) を指定しない限り、新 規の障害は作成できません。
フィールド値を指定せずに、レコードを Defect レコード タイプに登録します。
CQTOOL submit -type 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 -----------------------------------------------------------
すべての必須フィールドをコマンド行で設定して、障害を登録します。
CQTOOL submit -headline "Typo in the online help." -severity 3 Created Defect SAMPL00000060 − ----------------------------------------------------------
追加フィールドの設定を要求してから、レコードを Defect レコード タイプに登録します。
CQTOOL submit -ask -type 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 −-------------------------------------------------------------
フィールド名のキーワードとして複数の値を指定してから、レコードをデフォルトのレコード タイプに登録します。
CQTOOL submit -keywords "ClearQuest multisite" "rational" or CQTOOL submit -field keywords "ClearQuest multisite" "rational"