SlideShare a Scribd company logo
1 of 17
Download to read offline
CM-Consult Company
                                                and
                     Rational Tools project
                    www.rational-tools.info
               https://twitter.com/rrationaltools
  _____________________________________________________

Configuring
GanttChart for
ClearQuest
Tuesday, 20 July 2010
   1. Introduction
   2. Requirements to package use
   3. Requirements to ClearQuest schema
          1. Requirements to the record type fields
          2. Requirements to actions
          3. Requirements to record type dependencies
                  1. Use case
   4. Configuring ALM schema to use AMWorkActivitySchedule packag
          1. Adding AMWorkActivitySchedule package
          2. Editing AMWorkActivitySchedule package
   5. Configuring GanttChart for ClearQuest with supplied configuration 13



1.1.        1. Introduction
To facilitate installation and use of our GanttChart for ClearQuest solution, we provide special
configuration files within the installation package that allow automatically configure the program
to use the ALM schema. You can also download the configuration files from our web site.
Configuration files allow facilitating the GanttChart for ClearQuest configuration if the ALM
schema is used (see 5. Configuring GanttChart for ClearQuest with supplied configuration). If you
use another schema, it is recommended that you read the User Guide to be able to configure
GanttChart for ClearQuest manually according to your ClearQuest schema. Our solutions are
compatible with any ClearQuest schema. If you have difficulties with configuration, contact our
support service. In complex cases we can release the package for your ClearQuest schema that
will allow you to use our solutions to the maximum.

1.2.        2. Requirements to package use
To work with GanttChart for ClearQuest you do not need special ClearQuest packages. It is
enough to have fields, listed and described in the section 3.2. Besides, the solution supports use of
AMWorkActivitySchedule package that is used for integration with MS Project. For detailed
description of AMWorkActivitySchedule package configuration and customization, see section 4.

1.3.        3. Requirements to ClearQuest schema
In GanttChart for ClearQuest, two types of records can be used:

           1. Non-planned or partially planned. Record types that do not use planned and
              actual dates, or use one field (for example, Resolve before). Such record types are
              used mainly for representing some high-level requests (for example, expansion
CM-Consult Company
                                                        and
                              Rational Tools project
                             www.rational-tools.info
                    https://twitter.com/rrationaltools
  _____________________________________________________
          request or defect) which are further decomposed into final tasks.
       2. Planned. Record types that use fields containing planned and actual dates. Such
          record types mainly represent owner tasks, which can be further decomposed into
          smaller sub-tasks.

Depending on the record type, different requirements can be imposed on it. These requirements
are listed in the table below.

3.1. Requirements to the record type fields
The following reqiurements (see Table 1. Requirements to the fields used for planning) are put on
the fields used for planning in GanttChart for ClearQuest. The requirements for the fields
representing dependencies between records are listed in the next section (see 2.2 Requirements to
record type dependencies).

Table 1. Requirements to the fields used for planning

                                                    Mandatory/ Optional
       Field name             Field type          Non-                     Additional description
                                                              Planned
                                                  planned
                                                                          Contains the name of a
  1   Headline         STRING                     Mandatory Mandatory
                                                                          task or high-level request
                                                                          Contains the owner
                                                                          name. If during planning
                       REFERENCE
  2   Owner                                       Optional    Optional    it is necessary to specify
                       REFERENCE_LIST
                                                                          the owner, then this field
                                                                          is mandatory.
      Plan start                                                          The fields contain
 3                     DATE_TIME                  Optional    Mandatory
      date                                                                planned dates and are
      Plan end                                                            mandatory for the
  4                    DATE_TIME                  Optional    Mandatory
      date                                                                planned record types.
                                                                          The fields contain actual
      Fact start                                                          dates. If it is necessary to
  5                    DATE_TIME                  Optional    Mandatory
      date                                                                track actual completion
                                                                          rate of final tasks, then
      Fact end                                                            these fields are
  6                    DATE_TIME                  Optional    Mandatory
      date                                                                mandatory.
                                                                          Contains the completion
                                                                          rate of the current task. If
      Completing                                                          it is necessary to track the
  7                    INT (0..100)               Optional    Optional
      percent                                                             completion rate of final
                                                                          tasks, then this field is
                                                                          mandator



3.2. Requirements to actions
CM-Consult Company
                                                and
                     Rational Tools project
                    www.rational-tools.info
               https://twitter.com/rrationaltools
  _____________________________________________________

For GanttChart for ClearQuest to be able to save changes made to planned dates and owners, you
will need to specify at least one action in the selected record type settings. It can be one of the
following actions:

           1. Modify - action used for changing the record data (planned dates and owner). It is
              recommended that you use this action.
           2. Assign - action used for assigning an owner to a task. This action will save new
              data concerning planned dates and owner, and automatically transit the record into
              the next state (according to the transition matrx of the selected record type).

3.3. Requirements to record type dependencies
GanttChart for ClearQuest supports two types of dependencies between records:

           1. Hierarchical dependencies - parent-child relations are represented as aggregate
              tasks in the GanttChart for ClearQuest plan. Number of nesting levels for records is
              not limited. Certain requirements are put on the parent records (aggregate tasks):
                  1. For aggregate tasks, actual dates are not used.
                  2. For aggregate tasks, completion rate is not used. It is calculated on basis of
                      child task comletion rates.
           2. Sequential relations - represented as execution sequence arrows in the GanttChart
              for ClearQuest plan.

The following requirements are put on the record type fields that represent these relations
regardless of the relation type:

           1. The field must be of the REFERENCE or REFERENCE_LIST type.
           2. For reference fields, it is recommended that you create a backward reference from
              the record type they refer to.

1.3.1.1        3.3.1. Use case
One of the possible use cases is represented in the figure below.




                                          Figure 1. Use case
CM-Consult Company
                                                 and
                                   Rational Tools project
                                  www.rational-tools.info
                           https://twitter.com/rrationaltools
  _____________________________________________________
In this use case, the following record types are represented:

           1. Request - record type that represents a change request or high-level request. It can
              be an expansion request, defect, etc. A high-level request can have planned dates,
              but it is not necessary for this record type.
           2. Task - record type that represent a final task for an owner. A final task must have
              planned dates and an owner.

In this use case, Request and Task are in the hierarchical relation used for decomposition of a
high-level request into individual tasks for owners. Besides, Task has a hierarchical relation with
records of the same type that can be used for decomposing complex tasks into smaller tasks or
assigning the same task to several owners. Again, high-level requests can have hierarchical
relations with other requests (for example, the Project->Change request->Task relation can be
used). This use case also contains execution sequential relations between Request 1 and Request
2, Task 1.1 and Task 2.1. GanttChart for ClearQuest does not restrict use of sequential relations
between records of the same type. So, if the ClearQuest schema supports sequential relations
between different record types, they will be displayed in the Gantt chart. The figure above
represents an example of such use case for the ALM schema which implements the ALMRequest-
>ALMTast->ALMActivity hierarchy and sequential relations for records of the same type.




                           Figure 2. Request-Task-Activity hierarchy example


1.4.       4. Configuring ALM schema to use
           AMWorkActivitySchedule package
The AMWorkActivitySchedule package allows quickly configuring the ClearQuest schema for
CM-Consult Company
                                              and
                                   Rational Tools project
                                  www.rational-tools.info
                          https://twitter.com/rrationaltools
  _____________________________________________________
using with GanttChart for ClearQuest. This package adds all necessary fields, such as planned and
actual dates. Besides, using the package allows setting up the parallel use of GanttChart for
ClearQuest and integration with MS Project.

4.1. Adding AMWorkActivitySchedule package
To add the AMWorkActivitySchedule package to the schema, follow the steps below:

       Open ClearQuestDesigner and connect to the required schema.

       Right-click the last schema version and, in the context menu, select Apply Package.




                                    Figure 3. Applying package

       In the Package Wizard window, select the last version of the AMWorkActivitySchedule
       package and click Next.
CM-Consult Company
                                         and
                   Rational Tools project
                  www.rational-tools.info
             https://twitter.com/rrationaltools
_____________________________________________________




                          Figure 4. Selecting package version

  Select record types to which the packages must be applied. It is recommended, that you
  select ALMActivity. If necessary, select ALMTask and ALMRequest.




                            Figure 5. Selecting record type

  If the package has been applied successfully, the following dialog window will appear,
  where you should click K.
CM-Consult Company
                                            and
                   Rational Tools project
                  www.rational-tools.info
             https://twitter.com/rrationaltools
_____________________________________________________
                             Figure 6. Confirming completion

  Check whether the required fields and tabs were added to the selected record types.




                        Figure 7. Package fields in record type fields




                                 Figure 8. New package tab

  Save changes and check in the schema.
CM-Consult Company
                                        and
                   Rational Tools project
                  www.rational-tools.info
             https://twitter.com/rrationaltools
_____________________________________________________




                             Figure 9. Submitting changes

  Enter comments for the changes and click OK.




                        Figure 10. Adding comments for changes

  Apply changes to the user database. To do it, in the ClearQuest Database
  Administration tab, right-click the required database and select Upgrade Database in the
  context menu.
CM-Consult Company
                                                and
                     Rational Tools project
                    www.rational-tools.info
               https://twitter.com/rrationaltools
  _____________________________________________________




                              Figure 11. Updating ClearQuest database

       In the Upgrade User Database window, select the last schema version and click OK.




                                 Figure 12. Selecting schema version

4.2. Editing AMWorkActivitySchedule package
By default, GanttChart for ClearQuest cannot save planned dates for record types for which the
AMWorkActivitySchedule package has been applied, i.e. it works only in read and visualize
mode. To allow this functionality, perform the following steps:

       Allow the user who will apply changes to the schema to edit the package. For this, run the
       packageutil unility with the following parameters: packageutil enableediting -dbset
       DEMOALM admin password -enable designer, where - enableediting - parameter used
       for managing package editing permissions; - -dbset DEMOALM - connection name; -
       admin - login of a user with Super User permissions; - password - password of the user
       specified above; - -enable designer - list of users who must have ability to edit packages;

       Run ClearQuest Designer and open the required schema for editing:
CM-Consult Company
                                         and
                   Rational Tools project
                  www.rational-tools.info
             https://twitter.com/rrationaltools
_____________________________________________________




                         Figure 13. Opening schema for editing

  Open the section Global Scripts->Basic and open the GetSchedulePermissions script for
  editing.




                      Figure 14. GetSchedulePermissions function

  Replace the string 'Elseif v = True Then' by the string 'Elseif v = True Or v = "True"
  Then'
CM-Consult Company
                                          and
                   Rational Tools project
                  www.rational-tools.info
             https://twitter.com/rrationaltools
_____________________________________________________




                    Figure 15. Edited GetSchedulePermissions function

  Save changes and check in the schema.




                             Figure 16. Submitting changes

  Enter comments for the changes and click OK.
CM-Consult Company
                                         and
                   Rational Tools project
                  www.rational-tools.info
             https://twitter.com/rrationaltools
_____________________________________________________




                        Figure 17. Adding comments for changes

  Apply changes to the user database. To do it, in the ClearQuest Database
  Administration tab, right-click the required database and select Upgrade Database in the
  context menu.




                        Figure 18. Updating ClearQuest database

  In the Upgrade User Database window, select the last schema version and click OK.
CM-Consult Company
                                                 and
                     Rational Tools project
                    www.rational-tools.info
               https://twitter.com/rrationaltools
  _____________________________________________________




                                 Figure 19. Selecting schema version

       At the last step, forbid the user who edited the schema to edit packages. For this, use the
       packageutil command with the following parameters: packageutil enableediting -dbset
       DEMOALM admin password -disable designer

1.5.       5. Configuring GanttChart for ClearQuest with supplied
           configuration
Before configuring the solution with the supplied configuration, you should configure the
AMWorkActivitySchedule package as described in the section 4. To configure the application
for working with ALM, follow the steps below:

       Since GanttChart for ClearQuest for security reasons supports import/ export within one
       connection and database only, as a first step you need to edit the exported configuration
       file ALM_export.cfg . Open the configuration file (provided with the installation package)
       in Notepad, and set the connection and database names to required values (default value is
       CQALM@SAMPL). You can find the right values in ClearQuest:




                                     Figure 20. Connection name

       Save changes to the configuration file.
CM-Consult Company
                                          and
                   Rational Tools project
                  www.rational-tools.info
             https://twitter.com/rrationaltools
_____________________________________________________




                          Figure 21. Editing configuration file

  Connect to the database and open the Preferences window.




                            Figure 22. Opening preferences

  In the Preferences window, open the GanttChart for ClearQuest section, click Import
  and select the configuration file.
CM-Consult Company
                                          and
                   Rational Tools project
                  www.rational-tools.info
             https://twitter.com/rrationaltools
_____________________________________________________




                           Figure 23. Importing configuration

  Check whether all parameters for record types and their relations have been imported, and
  check whether the Use AMWorkActivitySchedule package option is selected.




                            Figure 24. Imported field settings
CM-Consult Company
                                              and
                     Rational Tools project
                    www.rational-tools.info
               https://twitter.com/rrationaltools
  _____________________________________________________




                              Figure 25. Imported hierarchy settings




                  Figure 26. Selected Use AMWorkActivitySchedule package option

      Apply changes by clicking Apply and close the Preferences window.

Downloads: GanttChart for ClearQuest configuration file for ALM scheme ALM_export.cfg.
CM-Consult Company
                                              and
                     Rational Tools project
                    www.rational-tools.info
               https://twitter.com/rrationaltools
  _____________________________________________________



About CM-Consult and Rational-Tools project
      «CM-Consult» was founded in 2004. The main business is consulting in project
management area, implementation and support IBM Rational tools and technologies as well as
methodic (RUP). Distribution, setup and customization, support of IBM Rational software and
Microsoft tools.
      «CM-Consult» is in TOP-5 of the Russian consulting companies implementing IBM
Rational and team conducted over 25 successful projects of IBM Rational technologies
implementation, we trained over 700 specialists.
      «CM-Consult» is a business partner of IBM for all these years and has a status
Premier IBM Partner as well as Value Advantage Plus (V.A.P.).
      The base of the team is the certified professionals and experts whose experience and deep
knowledge are beyond doubts.
      «Rational-Tools» project starts at 2008 for international promoting the solutions and
services of «CM-Consult» which are worked through the real projects of the company.
«Rational-Tools» is the set of the unique solutions and software which extends and
complements the capabilities of IBM Rational tools and it has no analogues in the world. Some of
these products are registered in IBM as Value Advantage Plus (V.A.P.) solutions (Project
Tracker and UML2ClearQuest), that confirms their high quality and relevance for the broad
spectrum of customers. All products is added to the IBM Global Solutions Directory.
      The clients of «CM-Consult» are the biggest international companies: HUK-COBURG
(Germany), Banco do Nordeste (Brazil), United Aviation Group (Russia), Tatneft (Tatarstan oil,
Russia), VTB bank (state external trade bank, Russia), Irkut avia plant (Russia), Russian
Aluminum (RUSAL) and many others.

More Related Content

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Configuring GanttChart for ClearQuest

  • 1. CM-Consult Company and Rational Tools project www.rational-tools.info https://twitter.com/rrationaltools _____________________________________________________ Configuring GanttChart for ClearQuest Tuesday, 20 July 2010 1. Introduction 2. Requirements to package use 3. Requirements to ClearQuest schema 1. Requirements to the record type fields 2. Requirements to actions 3. Requirements to record type dependencies 1. Use case 4. Configuring ALM schema to use AMWorkActivitySchedule packag 1. Adding AMWorkActivitySchedule package 2. Editing AMWorkActivitySchedule package 5. Configuring GanttChart for ClearQuest with supplied configuration 13 1.1. 1. Introduction To facilitate installation and use of our GanttChart for ClearQuest solution, we provide special configuration files within the installation package that allow automatically configure the program to use the ALM schema. You can also download the configuration files from our web site. Configuration files allow facilitating the GanttChart for ClearQuest configuration if the ALM schema is used (see 5. Configuring GanttChart for ClearQuest with supplied configuration). If you use another schema, it is recommended that you read the User Guide to be able to configure GanttChart for ClearQuest manually according to your ClearQuest schema. Our solutions are compatible with any ClearQuest schema. If you have difficulties with configuration, contact our support service. In complex cases we can release the package for your ClearQuest schema that will allow you to use our solutions to the maximum. 1.2. 2. Requirements to package use To work with GanttChart for ClearQuest you do not need special ClearQuest packages. It is enough to have fields, listed and described in the section 3.2. Besides, the solution supports use of AMWorkActivitySchedule package that is used for integration with MS Project. For detailed description of AMWorkActivitySchedule package configuration and customization, see section 4. 1.3. 3. Requirements to ClearQuest schema In GanttChart for ClearQuest, two types of records can be used: 1. Non-planned or partially planned. Record types that do not use planned and actual dates, or use one field (for example, Resolve before). Such record types are used mainly for representing some high-level requests (for example, expansion
  • 2. CM-Consult Company and Rational Tools project www.rational-tools.info https://twitter.com/rrationaltools _____________________________________________________ request or defect) which are further decomposed into final tasks. 2. Planned. Record types that use fields containing planned and actual dates. Such record types mainly represent owner tasks, which can be further decomposed into smaller sub-tasks. Depending on the record type, different requirements can be imposed on it. These requirements are listed in the table below. 3.1. Requirements to the record type fields The following reqiurements (see Table 1. Requirements to the fields used for planning) are put on the fields used for planning in GanttChart for ClearQuest. The requirements for the fields representing dependencies between records are listed in the next section (see 2.2 Requirements to record type dependencies). Table 1. Requirements to the fields used for planning Mandatory/ Optional Field name Field type Non- Additional description Planned planned Contains the name of a 1 Headline STRING Mandatory Mandatory task or high-level request Contains the owner name. If during planning REFERENCE 2 Owner Optional Optional it is necessary to specify REFERENCE_LIST the owner, then this field is mandatory. Plan start The fields contain 3 DATE_TIME Optional Mandatory date planned dates and are Plan end mandatory for the 4 DATE_TIME Optional Mandatory date planned record types. The fields contain actual Fact start dates. If it is necessary to 5 DATE_TIME Optional Mandatory date track actual completion rate of final tasks, then Fact end these fields are 6 DATE_TIME Optional Mandatory date mandatory. Contains the completion rate of the current task. If Completing it is necessary to track the 7 INT (0..100) Optional Optional percent completion rate of final tasks, then this field is mandator 3.2. Requirements to actions
  • 3. CM-Consult Company and Rational Tools project www.rational-tools.info https://twitter.com/rrationaltools _____________________________________________________ For GanttChart for ClearQuest to be able to save changes made to planned dates and owners, you will need to specify at least one action in the selected record type settings. It can be one of the following actions: 1. Modify - action used for changing the record data (planned dates and owner). It is recommended that you use this action. 2. Assign - action used for assigning an owner to a task. This action will save new data concerning planned dates and owner, and automatically transit the record into the next state (according to the transition matrx of the selected record type). 3.3. Requirements to record type dependencies GanttChart for ClearQuest supports two types of dependencies between records: 1. Hierarchical dependencies - parent-child relations are represented as aggregate tasks in the GanttChart for ClearQuest plan. Number of nesting levels for records is not limited. Certain requirements are put on the parent records (aggregate tasks): 1. For aggregate tasks, actual dates are not used. 2. For aggregate tasks, completion rate is not used. It is calculated on basis of child task comletion rates. 2. Sequential relations - represented as execution sequence arrows in the GanttChart for ClearQuest plan. The following requirements are put on the record type fields that represent these relations regardless of the relation type: 1. The field must be of the REFERENCE or REFERENCE_LIST type. 2. For reference fields, it is recommended that you create a backward reference from the record type they refer to. 1.3.1.1 3.3.1. Use case One of the possible use cases is represented in the figure below. Figure 1. Use case
  • 4. CM-Consult Company and Rational Tools project www.rational-tools.info https://twitter.com/rrationaltools _____________________________________________________ In this use case, the following record types are represented: 1. Request - record type that represents a change request or high-level request. It can be an expansion request, defect, etc. A high-level request can have planned dates, but it is not necessary for this record type. 2. Task - record type that represent a final task for an owner. A final task must have planned dates and an owner. In this use case, Request and Task are in the hierarchical relation used for decomposition of a high-level request into individual tasks for owners. Besides, Task has a hierarchical relation with records of the same type that can be used for decomposing complex tasks into smaller tasks or assigning the same task to several owners. Again, high-level requests can have hierarchical relations with other requests (for example, the Project->Change request->Task relation can be used). This use case also contains execution sequential relations between Request 1 and Request 2, Task 1.1 and Task 2.1. GanttChart for ClearQuest does not restrict use of sequential relations between records of the same type. So, if the ClearQuest schema supports sequential relations between different record types, they will be displayed in the Gantt chart. The figure above represents an example of such use case for the ALM schema which implements the ALMRequest- >ALMTast->ALMActivity hierarchy and sequential relations for records of the same type. Figure 2. Request-Task-Activity hierarchy example 1.4. 4. Configuring ALM schema to use AMWorkActivitySchedule package The AMWorkActivitySchedule package allows quickly configuring the ClearQuest schema for
  • 5. CM-Consult Company and Rational Tools project www.rational-tools.info https://twitter.com/rrationaltools _____________________________________________________ using with GanttChart for ClearQuest. This package adds all necessary fields, such as planned and actual dates. Besides, using the package allows setting up the parallel use of GanttChart for ClearQuest and integration with MS Project. 4.1. Adding AMWorkActivitySchedule package To add the AMWorkActivitySchedule package to the schema, follow the steps below: Open ClearQuestDesigner and connect to the required schema. Right-click the last schema version and, in the context menu, select Apply Package. Figure 3. Applying package In the Package Wizard window, select the last version of the AMWorkActivitySchedule package and click Next.
  • 6. CM-Consult Company and Rational Tools project www.rational-tools.info https://twitter.com/rrationaltools _____________________________________________________ Figure 4. Selecting package version Select record types to which the packages must be applied. It is recommended, that you select ALMActivity. If necessary, select ALMTask and ALMRequest. Figure 5. Selecting record type If the package has been applied successfully, the following dialog window will appear, where you should click K.
  • 7. CM-Consult Company and Rational Tools project www.rational-tools.info https://twitter.com/rrationaltools _____________________________________________________ Figure 6. Confirming completion Check whether the required fields and tabs were added to the selected record types. Figure 7. Package fields in record type fields Figure 8. New package tab Save changes and check in the schema.
  • 8. CM-Consult Company and Rational Tools project www.rational-tools.info https://twitter.com/rrationaltools _____________________________________________________ Figure 9. Submitting changes Enter comments for the changes and click OK. Figure 10. Adding comments for changes Apply changes to the user database. To do it, in the ClearQuest Database Administration tab, right-click the required database and select Upgrade Database in the context menu.
  • 9. CM-Consult Company and Rational Tools project www.rational-tools.info https://twitter.com/rrationaltools _____________________________________________________ Figure 11. Updating ClearQuest database In the Upgrade User Database window, select the last schema version and click OK. Figure 12. Selecting schema version 4.2. Editing AMWorkActivitySchedule package By default, GanttChart for ClearQuest cannot save planned dates for record types for which the AMWorkActivitySchedule package has been applied, i.e. it works only in read and visualize mode. To allow this functionality, perform the following steps: Allow the user who will apply changes to the schema to edit the package. For this, run the packageutil unility with the following parameters: packageutil enableediting -dbset DEMOALM admin password -enable designer, where - enableediting - parameter used for managing package editing permissions; - -dbset DEMOALM - connection name; - admin - login of a user with Super User permissions; - password - password of the user specified above; - -enable designer - list of users who must have ability to edit packages; Run ClearQuest Designer and open the required schema for editing:
  • 10. CM-Consult Company and Rational Tools project www.rational-tools.info https://twitter.com/rrationaltools _____________________________________________________ Figure 13. Opening schema for editing Open the section Global Scripts->Basic and open the GetSchedulePermissions script for editing. Figure 14. GetSchedulePermissions function Replace the string 'Elseif v = True Then' by the string 'Elseif v = True Or v = "True" Then'
  • 11. CM-Consult Company and Rational Tools project www.rational-tools.info https://twitter.com/rrationaltools _____________________________________________________ Figure 15. Edited GetSchedulePermissions function Save changes and check in the schema. Figure 16. Submitting changes Enter comments for the changes and click OK.
  • 12. CM-Consult Company and Rational Tools project www.rational-tools.info https://twitter.com/rrationaltools _____________________________________________________ Figure 17. Adding comments for changes Apply changes to the user database. To do it, in the ClearQuest Database Administration tab, right-click the required database and select Upgrade Database in the context menu. Figure 18. Updating ClearQuest database In the Upgrade User Database window, select the last schema version and click OK.
  • 13. CM-Consult Company and Rational Tools project www.rational-tools.info https://twitter.com/rrationaltools _____________________________________________________ Figure 19. Selecting schema version At the last step, forbid the user who edited the schema to edit packages. For this, use the packageutil command with the following parameters: packageutil enableediting -dbset DEMOALM admin password -disable designer 1.5. 5. Configuring GanttChart for ClearQuest with supplied configuration Before configuring the solution with the supplied configuration, you should configure the AMWorkActivitySchedule package as described in the section 4. To configure the application for working with ALM, follow the steps below: Since GanttChart for ClearQuest for security reasons supports import/ export within one connection and database only, as a first step you need to edit the exported configuration file ALM_export.cfg . Open the configuration file (provided with the installation package) in Notepad, and set the connection and database names to required values (default value is CQALM@SAMPL). You can find the right values in ClearQuest: Figure 20. Connection name Save changes to the configuration file.
  • 14. CM-Consult Company and Rational Tools project www.rational-tools.info https://twitter.com/rrationaltools _____________________________________________________ Figure 21. Editing configuration file Connect to the database and open the Preferences window. Figure 22. Opening preferences In the Preferences window, open the GanttChart for ClearQuest section, click Import and select the configuration file.
  • 15. CM-Consult Company and Rational Tools project www.rational-tools.info https://twitter.com/rrationaltools _____________________________________________________ Figure 23. Importing configuration Check whether all parameters for record types and their relations have been imported, and check whether the Use AMWorkActivitySchedule package option is selected. Figure 24. Imported field settings
  • 16. CM-Consult Company and Rational Tools project www.rational-tools.info https://twitter.com/rrationaltools _____________________________________________________ Figure 25. Imported hierarchy settings Figure 26. Selected Use AMWorkActivitySchedule package option Apply changes by clicking Apply and close the Preferences window. Downloads: GanttChart for ClearQuest configuration file for ALM scheme ALM_export.cfg.
  • 17. CM-Consult Company and Rational Tools project www.rational-tools.info https://twitter.com/rrationaltools _____________________________________________________ About CM-Consult and Rational-Tools project «CM-Consult» was founded in 2004. The main business is consulting in project management area, implementation and support IBM Rational tools and technologies as well as methodic (RUP). Distribution, setup and customization, support of IBM Rational software and Microsoft tools. «CM-Consult» is in TOP-5 of the Russian consulting companies implementing IBM Rational and team conducted over 25 successful projects of IBM Rational technologies implementation, we trained over 700 specialists. «CM-Consult» is a business partner of IBM for all these years and has a status Premier IBM Partner as well as Value Advantage Plus (V.A.P.). The base of the team is the certified professionals and experts whose experience and deep knowledge are beyond doubts. «Rational-Tools» project starts at 2008 for international promoting the solutions and services of «CM-Consult» which are worked through the real projects of the company. «Rational-Tools» is the set of the unique solutions and software which extends and complements the capabilities of IBM Rational tools and it has no analogues in the world. Some of these products are registered in IBM as Value Advantage Plus (V.A.P.) solutions (Project Tracker and UML2ClearQuest), that confirms their high quality and relevance for the broad spectrum of customers. All products is added to the IBM Global Solutions Directory. The clients of «CM-Consult» are the biggest international companies: HUK-COBURG (Germany), Banco do Nordeste (Brazil), United Aviation Group (Russia), Tatneft (Tatarstan oil, Russia), VTB bank (state external trade bank, Russia), Irkut avia plant (Russia), Russian Aluminum (RUSAL) and many others.