Main contacts  CM-Consult company | Mail site: http://rational-tools.info (English site) Company site: http://cmcons.com (Russian site) Blog: IBM Blog (English blog) E'mails:
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
and
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
- Moscow
- Uznobutovskaya st, 23, Moscow, Russia
- Phone & fax: +7(495) 648-63-28
- Kaliningrad
- Office 213, Garajnaya st. 2, Kaliningrad, Russia
- Phone & fax: +7 (4012) 563671
Partners in Europe Internet: http://www.ibts-online.com E-mail:
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
Scheelestr. 108, D-12209 Berlin Tel.: +49 (0)30 755 14 304 Fax: +49 (0)30 755 14 348 | Contents 1. List of Abbreviations and Terms 2. Glossary 3. Introduction 3.1 Field of Application of This Document 3.2 Purpose of This Document 3.3 System Requirements 4. General Description 5. Configuration 5.1 Setting up parameters 5.2 Export and import of settings 6. Using the plug-in 6.1 Building a Gantt chart 6.2 Opening forms 6.3 Modifying planned dates 6.4 Reassigning owners 6.5 Owners workload 6.6 Saving changes 6.7 Export information 6.8 Visualization of states 7. Appendix A List of Abbreviations and Terms | Abbreviation | Expansion | | CM | Change management | | DB | Database |
Glossary | Term | Interpretation | | ClearQuest | IBM Rational change management system | | Change Request | Document/ ClearQuest object | Introduction Field of Application of This DocumentThis Guide is intended for users of ClearQuest.
Purpose of This DocumentThe document provides users with information on functionality of the GanttChart for ClearQuest application that allows effectively use ClearQuest when planning works and tracking their statuses. The document covers the following topics: - Configuring the application
- Using the application
System RequirementsTo be able to use the GanttChart for ClearQuest plug-in you must have - IBM Rational ClearQuest Eclipse Client 7.0.0 or later version.
General DescriptionGanttChart for ClearQuest is the plug-in for the Eclipse client for ClearQuest that provides the following opportunities: Building a Gantt chart on basis of executed queries. It allows building a chart of any necessary view.Visualizing change request hierarchy and relations between the requests in the form of a Gantt chart.Visualizing task completion rate.Visualizing ratio of planned to actual dates.Visualizing change requests using different colour schemes depending on the completion rate and ratio of planned to actual dates.Splitting a Gantt chart on sections for visualization of composite requests for more convenient analysis and work planning.Changing and saving results of updating planned dates of change requests.Assigning owners for change requests;Visualizing workload of an owners;Opening forms of change requests from a Gantt chart;Printing;Visualizing State Chart Diagram;Exporting to MS Project XML file. Configuration Setting up parameters Configuration includes setting up the parameters of record types for which the Gantt chart will be build. First, you should set up the connection to the DB (see Figure 1. Setting up the connection to the ClearQuest database).  Figure 1. Setting up the connection to the ClearQuest database To adjust the module settings, in the Window menu, select Preferences. (see Figure 2. Opening the dialog box for adjusting the module settings).
Figure 2. Opening the dialog box for adjusting the module settings In the Preferences dialog box, on the left, select CMC Plug-ins/GanttChart for ClearQuest. The Preferences dialog box will open. (see Figure 3. Configuring the module (the ALMRequest entity is taken as an example). This dialog box contains the following tabs:
- Record types - on this tab, you can configure all necessary record types, for which the Gantt chart will be built.
- Record types hierarchy - on this tab, you can set up all necessary relations between change requests:
- Hierarchical relations
- Sequential relations
- Advanced - on this tab, you can adjust additional settings.
- Custom - on this tab, you can adjust some custom settings to make your work with GanttChart for ClearQuest more convenient.
 Figure 3. Configuring the module (the ALMRequest entity is taken as an example) The Record types tab contains the following settings:
- Connection - the list of active ClearQuest connections. In this list, you should select the connection to the user's ClearQuest database.
- Record types - the list of record types that are used in the user's ClearQuest DB. In this list, select the record types that should be used for building the Gantt chart. For every record type, you can set up a number of parameters displayed on the right of the record types list:
- Modify action - the action performed by ClearQuest to modify the change request. It is used for saving planned values for the change requests. This is an optional parameter. You need not set it up unless you need to save changes in the Gantt chart.
- Assign action - the action performed by ClearQuest to transfer a change request into the Assigned state. It is used if it is necessary to automatically transfer a change request into the Assigned state when an owner is assigned to the request. This is an optional parameter. You need not set it up unless you need to automatically transfer a change request into the Assigned state.
- Headline - this field contains a brief description. This is a mandatory parameter.
- Owner - this field contains a name of an owner assigned to a change request. This parameter is optional.
- Plan start date - this field contains a planned date of starting work in the ClearQuest request. This field is not mandatory for change requests with child requests.
- Plan end date - this field contains a planned date of finishing work in the ClearQuest request. This field is not mandatory for change requests with child requests.
- Actual start date - this field contains an actual date of starting work in the ClearQuest request. This field is not mandatory for change requests with child requests.
- Actual end date - this field contains an actual date of finishing work in the ClearQuest request. This field is not mandatory for change requests with child requests.
- Completing percent - this field contains the task completion rate. Its value should fall into the range between 0 and 100. This parameter is optional.
 Figure 4. Configuring the hierarchy for the ALMActivity entity For setting up relations between change requests, you should open the Record types hierarchy tab (see Figure 4. Configuring the hierarchy for the ALMActivity entity). This tab contains the Record types list containing the list of record types that were configured on the Record types tab. For every record type, you can set up a number of relationship parameters: - Parameters for hierarchical relations, that are displayed in a Gantt chart as aggregated tasks:
- Parent record - a parent change request for the request that is currently being configured.
- Child record - a child change request for the request that is currently being configured.
- Parameters for the sequential relations:
- Predecessor record - a change request that goes before the request that is currently being configured.
- Successor record - a change request that goes after the request that is currently being configured.
 Figure 5. Additional settings The Advanced tab contains the following settings:
- Color theme - the color scheme that will be applied to a Gantt chart.
- Use color events - if this option is selected, all tasks will be highlighted by different colors depending on their states:
- Grey - the task has not been planned.
- Blue - the task has been planned and the plan end date has not come yet.
- Yellow - the task has been planned and is in progress.
- Crimson - the task has been planned, but the planned start date is past due.
- Red - the task has been planned and the planned finish date is past due.
- Green - the task is completed.
- Split chart by section - if this option is selected, the Gantt chart is divided into sections concerning records of the first level of hierarchy.
- Use AMWorkActivitySchedule package - if this option is selected, you can use the AMWorkActivitySchedule package.
- Use users - allows creating lists of owners for using them in the Gantt chart the workload diagram:
- Use the record choice list - creates the list of owners that corresponds to the selected record and its Owner field;
- Use owners workload - allows selecting the necessary User entity which will be used a basis for building a diagram of workload per owner.
- Use users record type - creates the list of owners on basis of the Users record type;
- Use specified record type - creates the list of owners on basis of the specified type of record Record type and its main field User name, which contains the owner name.
- Use record types for workload - a list of configured record types which will be used as a basis for building a workload diagram;
- Split a diagram into sections - a workload diagram in addition to splitting by owners will also be splitted into sections by record types.
- Enable change preferences by administrators only - if this option is selected, the settings can be edited only by users with Super user and Security admin privileges.
 Figure 6. Custom settings The Custom tab contains the following elements: - Auto build queries - allows defining the list of queries. As a result of execution of these queries, a Gantt chart will be automatically built.
To finish the configuration, click Apply. Export and import of settingsGanttChart for ClearQuest allows exporting and importing settings. You can do it in the Preferences window using the corresponding buttons (see Figure 7. Buttons for exporting and importing settings).  Figure 7. Buttons for exporting and importing settings To export settings, perform the following steps:
- In the Preferences window, click Export.
- In the dialog box, select the directory and specify the name of the file that will store the imported settings.
To import settings, perform the following steps:
- In the Preferences window, click Import.
- In the dialog box, select the file with the settings.
- To apply the new settings, click Apply.
Using the plug-in Building a Gantt chartSince GanttChart for ClearQuest uses requests selected from the ClearQuest, to build a Gantt chart it is necessary to execute a query that will return the list of records (see Figure 8. Configuring the filter of displayed records).  Figure 8. Configuring the filter of displayed records In the CMC Plug-ins menu, select GanttCart for ClearQuest (see Figure 9. Launching the plug-in). The new tab GanttCart for ClearQuest will open (see Figure 10. Plug-in's tab displayed in ClearQuest).  Figure 9. Launching the plug-in On the GanttCart for ClearQuest tab, in the Executed queries list, select the executed query and, to build a Gantt chart, click Fill from result (see Figure 10. Plug-in's tab displayed in ClearQuest, Figure 11. Running a query).  Figure 10. Plug-in's tab displayed in ClearQuest  Figure 11. Running a query As a result of the plug-in installation and configuration, you will get the Gantt chart (see Figure 12. Displaying the Gantt chart).  Figure 12. Displaying the Gantt chart Opening formsGanttChart for ClearQuest allows opening forms of change requests directly from a Gantt chart. To open a change request form, click the necessary task in the Gantt chart. The ClearQuest form will open where you can perform all regular operations with the request, i.e. view, modify, change its state, etc.  Figure 13. ClearQuest Form Opened from a Gantt Chart Modifying planned datesGanttChart for ClearQuest supports changing planned dates directly from a Gantt chart. To be able to modify planned dates for tasks, you should specify the following parameters: - Fields containing planned dates.
- Modify action for a record.
To modify planned dates for a task on a Gantt chart, you should pull one of the tasks ends by the cursor. GanttChart for ClearQuest also supports grouped operations for tasks of a Gantt chart. - Selecting a group of tasks. You can select multiple tasks by clicking Shift or Ctrl and selecting the necessary tasks. Also, you can select a group of tasks by clicking Ctrl and then, using the right mouse button, selecting an area on a Gantt chart where the necessary tasks are displayed (see Figure 14. Selecting a group of tasks)
 Figure 14. Selecting a group of tasks - Modifying a group of tasks. To modify a group of tasks, you should modify one of the selected tasks holding the Ctrl button.
- Modifying connected tasks. To modify connected tasks, you should modify one of the selected tasks holding the Shift button.
- Aggregated tasks. When you move an aggregated task, its child tasks are also moved, including the aggregated ones.
The plug-in allows evaluating how the new planned dates differ from the previous ones. To do it, right-click a Gantt chart and select Show Planned Dates (see Figure 15. Displaying the shift between old and new planned dates). In the chart, additional green and red lines appear indicating the shift between old and new planned start dates and planned finish dates correspondingly. If a task has actual dates, these lines will indicate the shift between actual and planned dates of the task.  Figure 15. Displaying the shift between old and new planned dates Reassigning ownersGanttChart for ClearQuest allows assigning owners for change requests directly from a Gantt chart. To make it possible, it is necessary to apply the following settings for the record type: - Owner field.
- Modify or Assign action.
To assign a new owner or reassign an existing owner, do the following: - On a Gantt chart, right-click a task and select Assign owner.
- The dialog appears (see Figure 16. Selecting an owner) with the list of available owners. To find a necessary owner in a large list, use the filter field.
 Figure 16. Selecting an owner - Click OK to save changes, or Cancel to quit without saving.
- Before you have saved the new settings, you can restore the previous owner by clicking Restore.
Owners workloadGanttChart for ClearQuest allows building a workload diagram by owners on basis of data from the Gantt chart built earlier or data from ClearQuest. There are two ways to open the workload diagram: - From the toolbar of the Gantt Chart
 Figure 17. Opening the workload diagram from the toolbar - From the right-click menu of a task on the Gantt chart. For every task that is used for building the workload diagram, there are two additional items in the right-click menu:
- Show owners workload - the workload diagram will be built for owners that are selected from the Owner list for the selected record type;
- Show workload of available owners - the workload diagram will be built for owners that are available in the Owner list for the selected record type. This menu item is available, if the Use the record choice list option is selected in owner settings.
 Figure 18. Opening the workload diagram from the right-click menu of a task  Figure 19. Toolbar of the workload diagram To build the workload diagram, set the following parameters on the toolbar of the workload diagram (see Figure 19. Toolbar of the workload diagram):
- Period - in this field, specify the start and the end dates of the period for which the diagram should be built. By default, the start date is equal to the current date; the end date is set as current date plus two months.
- Style - allows setting the style of the workload diagram display.
- Tasks - in the workload diagram, in a section for every owner, a list of tasks is displayed that are assigned to the owner for the specified period. The distinguishing feature of this diagram is that you can change the planned dates for the selected tasks right from the diagram;
 Figure 20. Workload diagram: the tasks view.
- Bars - in a section for every owner, a bar chart is build, where the height of bars for every date represents the number of tasks assigned for this owner. The color of bars depends on the number of tasks assigned to the owner:
- Blue - one task is assigned to the owner;
- Yellow - two tasks are assigned to the owner;
- Red - tree or more tasks are assigned to the owner;
 Figure 21. Workload diagram: the bar view - Source - this option allows selecting a source for building the workload diagram:
- GanttChart - the workload diagram is built on basis of tasks from the Gantt chart;
- ClearQuest - the workload diagram is built on basis of ClearQuest records.
- Owners - a list of owners for which the workload diagram is build. To specify the owner list, click the Select owners

 Figure 22. Selecting owners
- To build or refresh the workload diagram, click the Build diagram
 - Synchronization of task parameter changes - when the planned dates of a task are changed on one diagram, they are automatically changed on another. This functionality is available when the task view of workload diagram is selected;
- Synchronization of display period change - when you scroll one diagram in horizontal direction, the other diagram is scrolled synchronously;
- Synchronization of diagram zooming - when you click buttons Zoom in
  Figure 23. Synchronous display of diagrams Saving changesTo save the results of planning in the Gantt chart, you can use two methods (see Figure 17. Saving changes.): - Complete saving of all changes Click

 Figure 17. Saving changes.
 Figure 18. Selecting tasks for saving The process of updating the planned dates is logged into the console window of the Eclipse client for ClearQuest (see Figure 19. Log of the planned dates saving process):  Figure 19. Log of the planned dates saving process Export informationGanttChart for ClearQuest allows you to export the displayed information to the file in MS Project XML. For export, follow these steps:
 Figure 20. Exporting data - Set the file name that you want to export the information;
 Figure 21. Selecting file name - Launch MS Project and select "FileaOpen";
- Choose a file export;
 Figure 22. Opening file - Select "Append the data to active project"
 Figure 23. Import Wizard - The new plan to add a display field "Text1" and "Text2", which contain CQID information and the type of record ClearQuest;
 Figure 24. Inserting text fields - Information on the planned dates stored in the baseline, so to display it on the MS Project Gantt chart to choose the type of View "Tracking Gantt"
Figure 25. View "Tracking Gantt" Visualization of statesGanttChart for ClearQuest allows you to view a state chart diagram for the selected change request. To do this, follow these steps:
- At the required change request, right-click and choose "Show state chart"

Figure 26. Openning state chart - On the resulting graph displays the states and transitions between states. In parentheses at the transitions is also reflected in the number of transitions executed during the entire lifecycle of the change request.

Figure 27. StateChart Vizualizer Appendix A Example of ALM-schema configuration The following configuration is given for guidance only. This appendix contains detailed description of configuration and step-by-step instructions for adjusting the ALM-schema:
- Changes in the schema. Since the ALM-schema does not have all necessary fields for setting planned and actual dates, you should add them using ClearQuest Designer. For the ALMActivity record type it is necessary to add the following fields:
- Plan_start - planned start date, type DATE_TIME;
- Plan_start - planned end date, type DATE_TIME;
- Fact_start - actual start date, type DATE_TIME;
- Fact_end - actual end date, type DATE_TIME;
- Percent_complete - completion rate, type INT;
- PredecessorActivity - predecessor for a task, type REFERENCE_LIST for the record type ALMActivity;
- Configuring the application
- Configuring fields for ALMRequest:
Configuring fields for ALMTask: Configuring fields for ALMAcivity: Configuring relations for ALMTask: Configuring relations for ALMRequest:  |