http://rational-tools.info
UML2ClearQuest. ClearQuest Defect schema report
The purpose of this application is to ease the process of programming ClearQuest Designer's state transitions matrix for change requests. UML2ClearQuest can export UML state charts to ClearQuest Designer, which makes for a simple visual design process. UML Export is supported from StarUML, IBM Rational Software Architect or MS Visio. The demo version can export diagrams to IBM Rational ClearQuest with no more than 3 states. See success story. Compatibility: Compatible with any ClearQuest version (including ClearQuest 7.1).
RSA Conference Exhibitor List 2024 - Exhibitors Data
UML2ClearQuest. ClearQuest Defect schema report
1. Report on the DefectTracking Schema
This document is generated by UML2ClearQuest v 3.0
2. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
Contents
1 DefectTracking Schema .................................................................................................................................................... 3
1.1 General Information ................................................................................................................................................... 3
1.2 Relations Between Requests ................................................................................................................................... 3
2 Description of Record Types ........................................................................................................................................... 4
2.1 Defect .............................................................................................................................................................................. 4
2.1.1 Relations with Other Requests ....................................................................................................................... 4
2.1.2 State Diagram ...................................................................................................................................................... 5
2.1.3 Transition Matrix .................................................................................................................................................. 6
2.1.4 List of Actions ....................................................................................................................................................... 6
2.1.5 List of Fields .......................................................................................................................................................... 7
2.1.6 Description of the field behavior ................................................................................................................. 10
3 Description of Stateless Record Types ...................................................................................................................... 12
3.1 attachments ................................................................................................................................................................ 12
3.1.1 List of Fields ........................................................................................................................................................ 12
3.1.2 Description of the field behavior ................................................................................................................. 13
3.2 Customer ...................................................................................................................................................................... 14
3.2.1 Relations with Other Requests ..................................................................................................................... 14
3.2.2 List of Fields ........................................................................................................................................................ 15
3.2.3 Description of the field behavior ................................................................................................................. 16
3.3 Email_Rule ................................................................................................................................................................... 17
3.3.1 Relations with Other Requests ..................................................................................................................... 17
3.3.2 List of Fields ........................................................................................................................................................ 18
3.3.3 Description of the field behavior ................................................................................................................. 25
3.4 groups............................................................................................................................................................................ 26
3.4.1 Relations with Other Requests ..................................................................................................................... 26
3.4.2 List of Fields ........................................................................................................................................................ 27
3.4.3 Description of the field behavior ................................................................................................................. 28
3.5 Project ........................................................................................................................................................................... 29
3.5.1 Relations with Other Requests ..................................................................................................................... 29
3.5.2 List of Fields ........................................................................................................................................................ 30
3.5.3 Description of the field behavior ................................................................................................................. 31
3.6 users............................................................................................................................................................................... 32
3.6.1 Relations with Other Requests ..................................................................................................................... 32
3.6.2 List of Fields ........................................................................................................................................................ 33
3.6.3 Description of the field behavior ................................................................................................................. 34
2
3. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
1 DefectTracking Schema
1.1 General Information
Table 1. DefectTracking Schema - general information
Name Value
Version 1
Description Schema for defect tracking.
Unix Script Language PERL
Windows Script Language BASIC
Package_Notes_Windows_Script_Language PERL
Package_Notes_Return_String_Mode RETURN_STRING_UNICODE
Applied Package Form Tab Names_Notes_9 SUBMITTABNAMES=;RECORDTABNAMES=&Notes
Package_Resolution_Return_String_Mode RETURN_STRING_UNICODE
Applied Package Form Tab Names_Resolution_4 SUBMITTABNAMES=;RECORDTABNAMES=&Resolutio
n
Applied Package Form Tab Names_Attachments_2 SUBMITTABNAMES=&Attachments;RECORDTABNAME
S=&Attachments
Applied Package Form Tab Names_History_2 SUBMITTABNAMES=;RECORDTABNAMES=&History
Package_Email_Return_String_Mode RETURN_STRING_UNICODE
Applied Package Form Tab Names_Email_13 SUBMITTABNAMES=;RECORDTABNAMES=
Applied Package Form Tab Names_Project_1 SUBMITTABNAMES=;RECORDTABNAMES=
Applied Package Form Tab Names_Customer_4 SUBMITTABNAMES=&Customer;RECORDTABNAMES=
&Customer
1.2 Relations Between Requests
Figure 1. DefectTracking Schema - relations between requests
3
4. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
2 Description of Record Types
2.1 Defect
2.1.1 Relations with Other Requests
Figure 2. Defect - relations with other requests
4
5. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
2.1.2 State Diagram
Figure 3. Defect - state diagram
5
6. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
2.1.3 Transition Matrix
Table 2. Defect - transition matrix
To From Assigned Closed Duplicate Opened Postponed Resolved Submitted
Assigned Assign Assign
Closed Close Close Validate Close
Duplicate Duplicate Duplicate Duplicate Duplicate
Opened Open Re_open Reject
Postponed Postpone Postpone Postpone
Resolved Resolve
Submitted
2.1.4 List of Actions
Table 3. Defect - list of actions
Name Description Access control Initialization Validation Commit Notification
Assign All Users
Close All Users
Delete All Users
Duplicate Make a Defect a All Users
duplicate
Import All Users
Init_Note_Entry All Users PERL PERL
Modify All Users
Open All Users
Postpone All Users
Re_open All Users
Reject All Users
Resolve All Users
Send_Email_Notif All Users BASIC
Submit All Users
Unduplicate Makes a previous All Users
duplicated Defect back
to it's original state
Validate All Users
6
7. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
2.1.5 List of Fields
Table 4. Defect - list of fields
Name Type Size Description Default value Permission Value Changed Validation Choice List
dbid DBID 0
history JOURNAL 0
id ID 13
is_active INT 0
is_duplicate INT 0
lock_version INT 0
locked_by REFERENCE 0 DEFAULT
ratl_mastership REFERENCE 0 the replica site DEFAULT
where this record
can be modified
record_type RECORDTYPE 30
Resolution_Statet STATETYPE 0
ype
State STATE 0
unduplicate_state SHORT_STRING 50
version INT 0
Attachments ATTACHMENT_ 0 N/A
LIST
customer REFERENCE_LI 0 DEFAULT
ST
customer_severity SHORT_STRING 50 CONSTANT_LIS
T:
1-Critical
2-Major
3-Average
4-Minor
5-Enhancement
Description MULTILINE_ST 0
RING
Headline SHORT_STRING 125
7
8. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
Keywords MULTILINE_ST 0 CONSTANT_LIS
RING T:
Keywords 1
Keywords 2
Keywords 3
Keywords 4
Keywords 5
Note_Entry MULTILINE_ST 0 PERL
RING
Notes_Log MULTILINE_ST 0
RING
old_id SHORT_STRING 50 This field is used
for importing
other data into the
default schema.
Owner REFERENCE 0 DEFAULT
Priority SHORT_STRING 30 CONSTANT_LIS
T:
1-Resolve
Immediately
2-Give High
Attention
3-Normal Queue
4-Low Priority
Project REFERENCE 0 Select a project DEFAULT
name. A project
might be a
product, code
shared across
products or a
component of a
product.
8
9. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
Resolution SHORT_STRING 50 BASIC CONSTANT_LIS
T:
Duplicate
Enhancement
Request
Fixed
Fixed Indirectly
Functions as
Designed
Severity SHORT_STRING 30 CONSTANT_LIS
T:
1-Critical
2-Major
3-Average
4-Minor
5-Enhancement
Submit_Date DATE_TIME 0 BASIC
Submitter REFERENCE 0 BASIC DEFAULT
Symptoms MULTILINE_ST 0 CONSTANT_LIS
RING T:
Cosmetic Flaw
Data Corruption
Data Loss
Documentation
Issue
Incorrect
Operation
Installation
Problem
Missing Feature
Slow Performance
System Crash
Unexpected
Behavior
Unfriendly
Behavior
9
12. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
3 Description of Stateless Record Types
3.1 attachments
3.1.1 List of Fields
Table 6. attachments - list of fields
Name Type Size Description Default value Permission Value Changed Validation Choice List
dbid DBID 0
description SHORT_STRING 50
entity_dbid DBID 0
entity_fielddef_id DBID 0
filename SHORT_STRING 50
filesize INT 0
history JOURNAL 0
is_active INT 0
lock_version INT 0
locked_by INT 0
ratl_keysite REFERENCE 0 the replica site DEFAULT
where this record
was last re-keyed
ratl_mastership REFERENCE 0 the replica site DEFAULT
where this record
can be modified
record_type RECORDTYPE 30
version INT 0
12
13. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
3.1.2 Description of the field behavior
Table 7. attachments - description of the field behavior
Behavior
dbid READONLY
description OPTIONAL
entity_dbid OPTIONAL
entity_fielddef_id OPTIONAL
filename OPTIONAL
filesize OPTIONAL
history READONLY
is_active READONLY
lock_version READONLY
locked_by READONLY
ratl_keysite READONLY
ratl_mastership OPTIONAL
record_type READONLY
version READONLY
13
14. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
3.2 Customer
3.2.1 Relations with Other Requests
Figure 4. Customer - relations with other requests
14
15. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
3.2.2 List of Fields
Table 8. Customer - list of fields
Name Type Size Description Default value Permission Value Changed Validation Choice List
dbid DBID 0
history JOURNAL 0
is_active INT 0
lock_version INT 0
locked_by REFERENCE 0 DEFAULT
ratl_keysite REFERENCE 0 the replica site DEFAULT
where this record
was last re-keyed
ratl_mastership REFERENCE 0 the replica site DEFAULT
where this record
can be modified
record_type RECORDTYPE 30
version INT 0
Attachment ATTACHMENT_ 0 N/A
LIST
CallTrackingID SHORT_STRING 50
Company SHORT_STRING 150
Description MULTILINE_ST 0
RING
Email SHORT_STRING 150 This is the
customer's e-mail
address.
Fax SHORT_STRING 50 This is the fax
number of the
customer.
Name SHORT_STRING 150 Name of the
customer.
Phone SHORT_STRING 50 This is the
customer's phone
number.
15
16. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
3.2.3 Description of the field behavior
Table 9. Customer - description of the field behavior
Behavior
dbid READONLY
history READONLY
is_active READONLY
lock_version READONLY
locked_by READONLY
ratl_keysite READONLY
ratl_mastership OPTIONAL
record_type READONLY
version READONLY
Attachment OPTIONAL
CallTrackingID OPTIONAL
Company OPTIONAL
Description OPTIONAL
Email OPTIONAL
Fax OPTIONAL
Name OPTIONAL
Phone OPTIONAL
16
17. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
3.3 Email_Rule
3.3.1 Relations with Other Requests
Figure 5. Email_Rule - relations with other requests
17
18. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
3.3.2 List of Fields
Table 10. Email_Rule - list of fields
Name Type Size Description Default value Permission Value Changed Validation Choice List
dbid DBID 0
history JOURNAL 0
is_active INT 0
lock_version INT 0
locked_by REFERENCE 0 DEFAULT
ratl_keysite REFERENCE 0 the replica site DEFAULT
where this record
was last re-keyed
ratl_mastership REFERENCE 0 the replica site DEFAULT
where this record
can be modified
record_type RECORDTYPE 30
version INT 0
Action_Types MULTILINE_ST 0 Select one or BASIC
RING more action types
upon which
ClearQuest should
run the e-mail
rule. If one or
more of the
selected action
types was used to
modify the record,
then the e-mail
rule will trigger.
18
19. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
Actions MULTILINE_ST 0 Select one or BASIC
RING more actions upon
which ClearQuest
should run the e-
mail rule. If one
or more of the
chosen actions
was used to
modify the record,
then the e-mail
rule will trigger.
CC_Actioner INT 0 Check this box if CONSTANT:
you want the 0
modifier of the
record to receive
an e-mail
notification.
CC_Additional MULTILINE_ST 0 Enter the full e-
RING mail address to
send e-mail to a
specific address
that may not
necessarily belong
to a ClearQuest
user.
CC_Addr_Fields MULTILINE_ST 0 You can select BASIC
RING additional
recipient(s) based
on field values.
These fields must
contain a full e-
mail address (e.g.
name@company.c
om).
19
20. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
CC_Groups REFERENCE_LI 0 Select one or DEFAULT
ST more ClearQuest
groups as
additional
recipient(s) of the
e-mail. The users
in these group(s)
must have their e-
mail address
defined in their
user information.
CC_Users REFERENCE_LI 0 Select one or DEFAULT
ST more ClearQuest
users as additional
recipient(s) of the
e-mail. These
user(s) must have
their e-mail
address defined in
their user
information.
Change_Fields MULTILINE_ST 0 Enter a list of BASIC
RING fields upon which
ClearQuest should
check to
determine
whether to trigger
this e-mail rule.
If any field is
changed, this e-
mail rule will be
triggered.
Display_Fields MULTILINE_ST 0 Enter the fields to BASIC
RING display in the e-
mail message
body.
Entity_Def SHORT_STRING 50 Select a record to BASIC BASIC
which this rule
applies.
20
21. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
Filter_Query SHORT_STRING 254 Select a public BASIC
query to use as an
additional e-mail
trigger.
From_Addr SHORT_STRING 254 Enter the return CONSTANT:
address of the e- Current User
mail.
Include_Defect INT 0 Check this box to CONSTANT: BASIC
include all the 0
record's fields in
the e-mail
message body.
Is_Active_Rule INT 0 Uncheck this box CONSTANT:
if you would like 1
to disable this e-
mail rule.
Name SHORT_STRING 100 The name used to
identify the e-mail
rule. This name
must be unique.
Operator_Value INT 0 This specifies CONSTANT:
whether or not 0
you want to do an
AND or an OR
operation between
Fields to Check
for Change and
the parameters on
the Action
Controls tab.
21
22. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
Show_Previous INT 0 Check this box to CONSTANT:
show the field's 0
previous values.
This is done
against the list of
fields selected in
the Fields to
Display control or
for all fields, if
the Include Entire
Defect is checked.
Source_States MULTILINE_ST 0 Select one or BASIC
RING more states upon
which ClearQuest
should run the e-
mail rule. If one
or more of the
selected source
states was the
original state of
the record, then
the e-mail rule
will trigger.
Subject_Fields MULTILINE_ST 0 Select the fields BASIC
RING you wish to
appear on the
subject line of the
e-mail.
22
23. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
Target_States MULTILINE_ST 0 Select one or BASIC
RING more destination
states upon which
ClearQuest should
run the e-mail
rule. If one or
more of the
selected
destination states
was the resulting
state of the record,
then the e-mail
rule will trigger.
To_Additional MULTILINE_ST 0 Enter the full e-
RING mail address to
send e-mail to a
specific address
that may not
necessarily belong
to a ClearQuest
user.
To_Addr_Fields MULTILINE_ST 0 You can select BASIC
RING recipient(s) based
on field values.
These fields must
contain a full e-
mail address (e.g.
name@company.c
om).
To_Groups REFERENCE_LI 0 Select one or DEFAULT
ST more ClearQuest
groups as
recipient(s) of the
e-mail. The users
in these group(s)
must have their e-
mail address
defined in their
user information.
23
24. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
To_Users REFERENCE_LI 0 Select one or DEFAULT
ST more ClearQuest
users as
recipient(s) of the
e-mail. These
user(s) must have
their e-mail
address defined in
their user
information.
24
25. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
3.3.3 Description of the field behavior
Table 11. Email_Rule - description of the field behavior
Behavior
dbid READONLY
history READONLY
is_active READONLY
lock_version READONLY
locked_by READONLY
ratl_keysite READONLY
ratl_mastership OPTIONAL
record_type READONLY
version READONLY
Action_Types OPTIONAL
Actions OPTIONAL
CC_Actioner OPTIONAL
CC_Additional OPTIONAL
CC_Addr_Fields OPTIONAL
CC_Groups OPTIONAL
CC_Users OPTIONAL
Change_Fields OPTIONAL
Display_Fields OPTIONAL
Entity_Def OPTIONAL
Filter_Query OPTIONAL
From_Addr OPTIONAL
Include_Defect OPTIONAL
Is_Active_Rule OPTIONAL
Name OPTIONAL
Operator_Value OPTIONAL
Show_Previous OPTIONAL
Source_States OPTIONAL
Subject_Fields OPTIONAL
Target_States OPTIONAL
To_Additional OPTIONAL
To_Addr_Fields OPTIONAL
To_Groups OPTIONAL
To_Users OPTIONAL
25
26. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
3.4 groups
3.4.1 Relations with Other Requests
Figure 6. groups - relations with other requests
26
27. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
3.4.2 List of Fields
Table 12. groups - list of fields
Name Type Size Description Default value Permission Value Changed Validation Choice List
dbid DBID 0
history JOURNAL 0
is_active INT 0
lock_version INT 0
locked_by INT 0
master_dbid INT 0
name SHORT_STRING 30
ratl_keysite REFERENCE 0 the replica site DEFAULT
where this record
was last re-keyed
ratl_mastership REFERENCE 0 the replica site DEFAULT
where this record
can be modified
record_type RECORDTYPE 30
version INT 0
27
28. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
3.4.3 Description of the field behavior
Table 13. groups - description of the field behavior
Behavior
dbid READONLY
history READONLY
is_active READONLY
lock_version READONLY
locked_by READONLY
master_dbid READONLY
name OPTIONAL
ratl_keysite READONLY
ratl_mastership OPTIONAL
record_type READONLY
version READONLY
28
29. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
3.5 Project
3.5.1 Relations with Other Requests
Figure 7. Project - relations with other requests
29
30. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
3.5.2 List of Fields
Table 14. Project - list of fields
Name Type Size Description Default value Permission Value Changed Validation Choice List
dbid DBID 0
history JOURNAL 0
is_active INT 0
lock_version INT 0
locked_by REFERENCE 0 DEFAULT
ratl_keysite REFERENCE 0 the replica site DEFAULT
where this record
was last re-keyed
ratl_mastership REFERENCE 0 the replica site DEFAULT
where this record
can be modified
record_type RECORDTYPE 30
version INT 0
Description MULTILINE_ST 0 An explanation or
RING description of this
project.
Name SHORT_STRING 50 A unique name
used to identify a
project. A project
might be a
product, code
shared across
products or a
component of a
product.
30
31. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
3.5.3 Description of the field behavior
Table 15. Project - description of the field behavior
Behavior
dbid READONLY
history READONLY
is_active READONLY
lock_version READONLY
locked_by READONLY
ratl_keysite READONLY
ratl_mastership OPTIONAL
record_type READONLY
version READONLY
Description OPTIONAL
Name OPTIONAL
31
32. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
3.6 users
3.6.1 Relations with Other Requests
Figure 8. users - relations with other requests
32
33. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
3.6.2 List of Fields
Table 16. users - list of fields
Name Type Size Description Default value Permission Value Changed Validation Choice List
dbid DBID 0
email SHORT_STRING 50
encrypted_passwo SHORT_STRING 10
rd
fullname SHORT_STRING 50
groups REFERENCE_LI 0 DEFAULT
ST
history JOURNAL 0
is_active INT 0
is_appbuilder INT 0
is_superuser INT 0
is_user_maint INT 0
lock_version INT 0
locked_by INT 0
login_name SHORT_STRING 30
master_dbid INT 0
misc_info SHORT_STRING 254
phone SHORT_STRING 50
ratl_keysite REFERENCE 0 the replica site DEFAULT
where this record
was last re-keyed
ratl_mastership REFERENCE 0 the replica site DEFAULT
where this record
can be modified
ratl_priv_mask INT 0 Extended global
privilege mask
record_type RECORDTYPE 30
version INT 0
33
34. CM-Consult, Ltd.
info@cmcons.com
www.rational-tools.com
3.6.3 Description of the field behavior
Table 17. users - description of the field behavior
Behavior
dbid READONLY
email OPTIONAL
encrypted_password OPTIONAL
fullname OPTIONAL
groups OPTIONAL
history READONLY
is_active READONLY
is_appbuilder OPTIONAL
is_superuser OPTIONAL
is_user_maint OPTIONAL
lock_version READONLY
locked_by READONLY
login_name OPTIONAL
master_dbid READONLY
misc_info OPTIONAL
phone OPTIONAL
ratl_keysite READONLY
ratl_mastership OPTIONAL
ratl_priv_mask OPTIONAL
record_type READONLY
version READONLY
34