Tool Mentor: Viewing the History of a DefectPurposeThis tool mentor tells how to view the history of a ClearQuest defect. It also tells the ClearQuest administrator how to set up the ClearQuest defect form so it includes a History control that will allow ClearQuest users to view and track the history of defects. Rational Unified Process Related Steps: Define Configuration Status Reporting Requirements. OverviewThis Tool Mentor is applicable when running Windows NT 4.0. Defects move through a pattern, or life cycle, from submission through resolution. In ClearQuest, each stage in this life cycle is called a state, and each movement from one state to another is called a state-transition. Each state has specific actions associated with it, as you move a change request from one state to another, you will notice that fields associated with that state become required, and certain business rules apply. For example, within ClearQuests default application, the Impacts Doc field is only mandatory when a defect is moved to the Resolved state. By setting up rules for state-transitions, you can double-check that your change requests are being thoroughly completed and tracked. Within the ClearQuest Designer, ClearQuest administrators can customize states and the actions associated with them. For example, in the default application, ClearQuest is set up to notify users with e-mail when defects are assigned to them. Within the ClearQuest client, you can view the history of a defect. This command displays information about the defect including the date actions occurred (such as moving to the next state or making a modification), the user name, the action name, the old state, and the new state, if applicable. Tool Steps for Viewing the History of a DefectThe View History command displays the changes in the state of a record and the dates on which the changes occurred. The contents of the View History dialog are read-only. To view the history of a record, you first must run a query whose results include that specific record.
Tool Steps for adding a History Control to ClearQuests record formClearQuest Designer lets you create customized forms for submitting, viewing and modifying records. You can create forms for each record type in your schema. You can include a history control on a form to display the actions that have been incurred on the given record. The history control displays information about the action including the date the action occurred, the user name, the action name, the old state, and the new state.
Check out the schema you want to work with.When you want to edit a schema, you must check out the schema from the schema repository. When you check out a schema, ClearQuest creates a new version of the schema for you to edit.
Add a history control to the form.You can include a history control on a form to display the actions that have been incurred on the given record. The history control displays information about the action including the date the action occurred, the user name, the action name, the old state, and the new state. To add a history control to a form:
Check in the schema.When you finish editing a schema, you should check it in to save your changes and make it available for use by your databases. When you check in a schema, ClearQuest increments the version number of the schema in the schema repository. You must check in a schema before you can use it with any of your user databases.
Notes:
Upgrade your database(s).To apply an updated schema to an existing database, you must upgrade the database.
Notes:
|
|
|