Rally - HP ALM - QC-config-RallyCSVUserMapping.pxml
search cancel

Rally - HP ALM - QC-config-RallyCSVUserMapping.pxml

book

Article ID: 125058

calendar_today

Updated On:

Products

CA Agile Central On Premise (Rally) CA Agile Central SaaS (Rally)

Issue/Introduction

How to setup HP QC Connector for Agile Central CSV User Mapping

Environment

Release:
Component: ACSAAS

Resolution

Below are the sections relating to this QC connector run:

  1. This configuration file: QC-config-RallyCSVUserMapping.pxml
  2. This configuration file: QC-config-RallyCSVUserMapping.csv
  3. The logfile 1 of 4: rallylog1.log
  4. The logfile 2 of 4: rallylog2.log
  5. The logfile 3 of 4: rallylog3.log
  6. The logfile 4 of 4: rallylog4.log

Configuration File QC-config-RallyCSVUserMapping.pxml

<!-- **********************************************************************
FILE:    QC-config-RallyCSVUserMapping.pxml

PURPOSE: To demonstrate the <RallyCSVUserMappingFieldHandler> tag.

USAGE:   Replace all the "Your-..." strings below with values appropriate
         for your environment.
*********************************************************************** -->
<config>
        <RallyConnection>
                <Url>Your-Rally-URL</Url>
                <WorkspaceName>Your-Rally-Workspace</WorkspaceName>
                <Projects>
                        <Project>Your-Rally-Project</Project>
                </Projects>
                <User>Your-Rally-Username</User>
                <Password>Your-Rally-Password</Password>
                <ArtifactType>Defect</ArtifactType>
                <ExternalIDField>Your-Rally-ExternalID</ExternalIDField>
                <CopySelectors>
                        <CopySelector>FormattedID = DE469</CopySelector>
                </CopySelectors>
                <UpdateSelectors>
                        <UpdateSelector>FormattedID = DE469</UpdateSelector>
                </UpdateSelectors>
        </RallyConnection>

        <QCConnection>
                <Url>Your-QC-URL</Url>
                <Domain>Your-QC-Domain</Domain>
                <Project>Your-QC-Project</Project>
                <User>Your-QC-Username</User>
                <Password>Your-QC-Password</Password>
                <ArtifactType>BUG</ArtifactType>
                <IDField>BG_BUG_ID</IDField>
                <ExternalIDField>Your-QC-ExternalID</ExternalIDField>        
                <ExternalEndUserIDField>BG_USER_03</ExternalEndUserIDField>        
                <FieldDefaults>
                        <Field><Name>BG_DETECTION_DATE</Name>   <Default>2013-01-01</Default></Field>
                        <Field><Name>BG_SEVERITY</Name>         <Default>1-Low</Default></Field>
                </FieldDefaults>
                <CopySelectors>
                        <CopySelector>BG_BUG_ID = 82</CopySelector>
                </CopySelectors>
                <UpdateSelectors>
                        <UpdateSelector>BG_BUG_ID = 82</UpdateSelector>
                </UpdateSelectors>
        </QCConnection>

        <Connector>
                <FieldMapping>
                        <Field><Rally>Name</Rally>              <Other>BG_SUMMARY</Other>       </Field>
                        <Field><Rally>Description</Rally>       <Other>BG_DESCRIPTION</Other>   </Field>
                        <Field><Rally>Owner</Rally>             <Other>BG_RESPONSIBLE</Other>   </Field>
                        <Field><Rally>SubmittedBy</Rally>       <Other>BG_DETECTED_BY</Other>   </Field>
                </FieldMapping>

                <RallyFieldHandlers>
                        <RallyCSVUserMappingFieldHandler>
                                <FieldName>Owner</FieldName>
                                <FileName>QC-config-RallyCSVUserMapping.csv</FileName>
                        </RallyCSVUserMappingFieldHandler>

                        <RallyCSVUserMappingFieldHandler>
                                <FieldName>SubmittedBy</FieldName>
                                <FileName>QC-config-RallyCSVUserMapping.csv</FileName>
                        </RallyCSVUserMappingFieldHandler>
                </RallyFieldHandlers>
        </Connector>

        <ConnectorRunner>
                <Preview>false</Preview>
                <LogLevel>Debug</LogLevel>
                <Services>      COPY_QC_TO_RALLY,
                                COPY_RALLY_TO_QC,
                                UPDATE_QC_TO_RALLY,
                                UPDATE_RALLY_TO_QC
                </Services>
        </ConnectorRunner>
</config>

The CSV File QC-config-RallyCSVUserMapping.csv

(Note the first line is a required header)

RallyUserName,			OtherUserName
[email protected],	someQCuser01
[email protected],		testqc11
[email protected],	someQCuser02

The Logfile for Run 1 of 4, for QC-config-RallyCSVUserMapping.pxml


**************************************************************************************************
     rally2_qc_connector
         pid: 1836
         starting at: 2013-12-03 20:22:51 Z
         cwd: C:/Users/testuser/testQC
         configs: x078-csv-fieldhandler.xml
         interval: -1
         connector-version: Connector version: 3.3.3-513-master-586780a12a6ebc079c80f586d05ca1ae88404432
         rally-version: Rally Spoke version 3.2.0 using rally_api gem version 0.9.22
         other-spoke: QCConnection version 2.10.0
**************************************************************************************************
  ANY : ConnectorRunner.block in run - processing to commence using content from x078-csv-fieldhandler.xml
  ANY : Class.read_config_file - x078-csv-fieldhandler.xml last modified 2013-12-03 20:22:22 UTC, size: 2177 chars
  ANY : RallyConnection.initialize - Initializing Rally connection version 3.2.0
 INFO : RallyConnection.initialize - Rally Web Services version 1.42
  ANY : QCConnection.initialize - Initializing Quality Center connection version 2.10.0
DEBUG : RallyCSVUserMappingFieldHandler.read_config - loaded Rally CSV user mapping field handler file |x078-csv-fieldhandler.csv|
DEBUG : RallyCSVUserMappingFieldHandler.read_config - loaded Rally CSV user mapping field handler file |x078-csv-fieldhandler.csv|
 INFO : Connector.initialize - Ruby platform i386-mingw32
 INFO : Connector.initialize - Ruby version 1.9.2
 INFO : QCConnection.connect - Connecting to Quality Center at http://vmwin2008qc11.f4tech.com:8080/qcbin as user testqc11
DEBUG : QCConnection.block in identify_qc_version - Preparing to open Registry to examine: Software\Classes\CLSID\{C5CBD7B2-490C-45f5-8C40-B8C3D108E6D7}\InprocServer32
DEBUG : QCConnection.block in identify_qc_version - Registry Software\Classes\CLSID\{C5CBD7B2-490C-45f5-8C40-B8C3D108E6D7}\InprocServer32 opened...
DEBUG : QCConnection.block (2 levels) in identify_qc_version - Registry path to HPQC OTAClient.dll ==> C:\PROGRA~2\COMMON~1\MERCUR~1\TDAPIC~1\OTACLI~1.DLL
DEBUG : QCConnection.win_path_expanded - expanded Registry path to DLL target: C:/Program Files (x86)/Common Files/Mercury Interactive/TDAPIClient/OTAClient.dll
 INFO : QCConnection.connect - Connected to Quality Center at http://vmwin2008qc11.f4tech.com:8080/qcbin/wcomsrv.dll (version 11.0.0.8258)
 INFO : QCConnection.connect -   Domain: DEFAULT
 INFO : QCConnection.connect -   Project: Testproject11
 INFO : RallyConnection.connect - Connecting to Rally
DEBUG : RallyConnection.connect - In connect begin clause - connecting to Rally via rally_api
DEBUG : RallyConnection.connect - Looking up projects
 INFO : RallyConnection.connect - Connected to Rally at https://rally1.rallydev.com/slm -  Workspace: WS01
 INFO : RallyConnection.connect -   Projects: PR01
 INFO : Connector.validate - Beginning validation
DEBUG : RallyConnection.validate - Rally Connection - user entry "[email protected]" detected in config file
DEBUG : RallyConnection.validate - Rally Connection - password entry detected in config file
DEBUG : RallyConnection.validate - Rally Connection - artifact type "defect" validated
DEBUG : RallyConnection.validate - Rally Connection - IDField entry "ObjectID" validated
DEBUG : RallyConnection.validate - Rally Connection - ExternalIDField entry "QCPR01ExtID" validated
DEBUG : RallyConnection.validate - Rally Connection - FieldHandler target fields existence validated
DEBUG : RallyConnection.validate - Rally Connection - Field Defaults settings validated
DEBUG : Connector.validate - RallyConnection validate succeeded
DEBUG : QCConnection.validate - Quality Center Connection - user entry "testqc11" detected in config file
DEBUG : QCConnection.validate - Quality Center Connection - password entry detected in config file
DEBUG : QCConnection.validate - Quality Center Connection - artifact type "bug" validated
DEBUG : QCConnection.validate - Quality Center Connection - IDField entry "BG_BUG_ID" validated
DEBUG : QCConnection.validate - Quality Center Connection - ExternalIDField entry "BG_USER_01" validated
DEBUG : QCConnection.validate - Quality Center Connection - FieldHandler target fields existence validated
DEBUG : QCConnection.validate - Quality Center Connection - Field Defaults settings validated
DEBUG : Connector.validate - Quality Center Connection validate succeeded
DEBUG : Connector.block in validate - RallyConnection field_mapping target "Name" existence validated
DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "BG_SUMMARY" existence validated
DEBUG : Connector.block in validate - RallyConnection field_mapping target "Description" existence validated
DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "BG_DESCRIPTION" existence validated
DEBUG : Connector.block in validate - RallyConnection field_mapping target "Owner" existence validated
DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "BG_RESPONSIBLE" existence validated
DEBUG : Connector.block in validate - RallyConnection field_mapping target "SubmittedBy" existence validated
DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "BG_DETECTED_BY" existence validated
DEBUG : Connector.block in validate - Rally Connection field_handler validation for "Owner" succeeded
DEBUG : Connector.block in validate - Rally Connection field_handler validation for "SubmittedBy" succeeded
 INFO : Connector.validate - Validation complete
  ANY : ConnectorRunner.run_services - Last Run 2013-12-03 20:21:23 UTC  --- Now 2013-12-03 20:22:57 UTC
  ANY : ConnectorRunner.process_service - Starting Service COPY_QUALITY CENTER_TO_RALLY
 INFO : QCConnection.find_new - find_new query: BG_USER_01 ="" and BG_BUG_ID ="82"
 INFO : QCConnection.find_new -   Found 0 New bugs in QC
  ANY : ConnectorRunner.process_service - Finished Service COPY_QUALITY CENTER_TO_RALLY
  ANY : ConnectorRunner.process_service - Starting Service COPY_RALLY_TO_QUALITY CENTER
 INFO : RallyConnection.find_new - Find New Rally defects
DEBUG : RallyConnection.find_new - Rally using find_new query: (((QCPR01ExtID = "") AND (Project.Name = "PR01")) AND (FormattedID = "DE469"))
 WARN : RallyConnection.block in check_for_warnings - Please update your client to use the latest version of the API. You can find the latest version at https://rally1.rallydev.com/slm/doc/webservice/index.jsp?version=v2.0. API status is Deprecated and will become Not Supported on 2014-May-08.
 INFO : RallyConnection.find_new -   Found 1 new defects in Rally
 INFO : Connector.copy_to_other - Copy DE469 to Quality Center
DEBUG : Connector.block in map_fields_to_other -   Mapping Name(Test RallyID and screens....) - to - BG_SUMMARY(Test RallyID and screens....)
DEBUG : Connector.block in map_fields_to_other -   Mapping Description(Desc-line-1  
Desc-line-2
 
Desc-line-3
) - to - BG_DESCRIPTION(Desc-line-1  
Desc-line-2
 
Desc-line-3
)
DEBUG : Connector.block in map_fields_to_other -   Mapping Owner() - to - BG_RESPONSIBLE() (this field skipped as BG_RESPONSIBLE is nil)
DEBUG : Connector.block in map_fields_to_other -   Mapping SubmittedBy() - to - BG_DETECTED_BY() (this field skipped as BG_DETECTED_BY is nil)
DEBUG : QCConnection.create_internal - set all artifact fields
 INFO : QCConnection.create_internal -   Created bug 83 in QC
DEBUG : RallyConnection.block in has_changed? -  83 !=  is true
 INFO : RallyConnection.update_internal -   Updating DE469
 INFO : Connector.copy_to_other - Rally defect DE469 copied to Quality Center bug 83
  ANY : ConnectorRunner.process_service - Finished Service COPY_RALLY_TO_QUALITY CENTER
  ANY : ConnectorRunner.process_service - Starting Service UPDATE_QUALITY CENTER_TO_RALLY
 INFO : QCConnection.find_updates - Looking for updates made after QC server time of: '2013-12-03 13:21:17'
 INFO : QCConnection.find_updates -   Found 3 Updated bugs in QC
 WARN : RallyConnection.block in check_for_warnings - Please update your client to use the latest version of the API. You can find the latest version at https://rally1.rallydev.com/slm/doc/webservice/index.jsp?version=v2.0. API status is Deprecated and will become Not Supported on 2014-May-08.
 INFO : Connector.update_rally - Updating Rally defect DE273 from Quality Center bug 81 ...
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_SUMMARY(test 123.45) - to - Name(test 123.45)
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_DESCRIPTION() - to - Description() (this field skipped as Description is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_in - transformed || to Rally user ||
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_RESPONSIBLE() - to - Owner() (this field skipped as Owner is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_in - transformed |testqc11| to Rally user |[email protected]|
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_DETECTED_BY(testqc11) - to - SubmittedBy([email protected])
DEBUG : RallyConnection.block in has_changed? -  test 123.45 != test 123.45 is false
DEBUG : RallyConnection.block in has_changed? -  https://rally1.rallydev.com/slm/webservice/1.42/user/11678681085.js !=  is true
 INFO : RallyConnection.update_internal -   Updating DE273
 INFO : Connector.update_rally - Rally defect DE273 updated from Quality Center bug 81
 WARN : RallyConnection.block in check_for_warnings - Please update your client to use the latest version of the API. You can find the latest version at https://rally1.rallydev.com/slm/doc/webservice/index.jsp?version=v2.0. API status is Deprecated and will become Not Supported on 2014-May-08.
 INFO : Connector.update_rally - Updating Rally defect DE471 from Quality Center bug 82 ...
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_SUMMARY(Test's test issue123) - to - Name(Test's test issue123)
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_DESCRIPTION() - to - Description() (this field skipped as Description is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_in - transformed || to Rally user ||
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_RESPONSIBLE() - to - Owner() (this field skipped as Owner is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_in - transformed |testqc11| to Rally user |[email protected]|
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_DETECTED_BY(testqc11) - to - SubmittedBy([email protected])
DEBUG : RallyConnection.block in has_changed? -  Test's test issue123 != Test's test issue123 is false
DEBUG : RallyConnection.block in has_changed? -  https://rally1.rallydev.com/slm/webservice/1.42/user/11678681085.js != https://rally1.rallydev.com/slm/webservice/1.42/user/11678681085.js is false
DEBUG : RallyConnection.has_changed? - Skipped update for DE471 since there was no change on non-external id fields
 INFO : Connector.update_rally - Rally defect DE471 updated from Quality Center bug 82
 WARN : RallyConnection.block in check_for_warnings - Please update your client to use the latest version of the API. You can find the latest version at https://rally1.rallydev.com/slm/doc/webservice/index.jsp?version=v2.0. API status is Deprecated and will become Not Supported on 2014-May-08.
 INFO : Connector.update_rally - Updating Rally defect DE469 from Quality Center bug 83 ...
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_SUMMARY(Test RallyID and screens....) - to - Name(Test RallyID and screens....)
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_DESCRIPTION(Desc-line-1  
Desc-line-2
 
Desc-line-3
) - to - Description(Desc-line-1  
Desc-line-2
 
Desc-line-3
)
DEBUG : RallyCSVUserMappingFieldHandler.transform_in - transformed || to Rally user ||
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_RESPONSIBLE() - to - Owner() (this field skipped as Owner is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_in - transformed |testqc11| to Rally user |[email protected]|
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_DETECTED_BY(testqc11) - to - SubmittedBy([email protected])
DEBUG : RallyConnection.block in has_changed? -  Test RallyID and screens.... != Test RallyID and screens.... is false
DEBUG : RallyConnection.block in has_changed? -  Desc-line-1  
Desc-line-2
 
Desc-line-3
 != Desc-line-1  
Desc-line-2
 
Desc-line-3
 is false
DEBUG : RallyConnection.block in has_changed? -  https://rally1.rallydev.com/slm/webservice/1.42/user/11678681085.js !=  is true
 INFO : RallyConnection.update_internal -   Updating DE469
 INFO : Connector.update_rally - Rally defect DE469 updated from Quality Center bug 83
  ANY : ConnectorRunner.process_service - Finished Service UPDATE_QUALITY CENTER_TO_RALLY
  ANY : ConnectorRunner.process_service - Starting Service UPDATE_RALLY_TO_QUALITY CENTER
 INFO : RallyConnection.find_updates - Find Rally defects updated after 2013-12-03 20:21:18 UTC (last run time - epsilon seconds)
 INFO : RallyConnection.find_updates - Rally find_updates query: ((QCPR01ExtID != "") AND ( LastUpdateDate > 2013-12-03T20:21:18Z))
 WARN : RallyConnection.block in check_for_warnings - Please update your client to use the latest version of the API. You can find the latest version at https://rally1.rallydev.com/slm/doc/webservice/index.jsp?version=v2.0. API status is Deprecated and will become Not Supported on 2014-May-08.
 INFO : RallyConnection.find_updates -   Found 2 updated defects in Rally
 INFO : Connector.update_other - Updating Quality Center bug 81 from Rally defect DE273 ...
DEBUG : Connector.block in map_fields_to_other -   Mapping Name(test 123.45) - to - BG_SUMMARY(test 123.45)
DEBUG : Connector.block in map_fields_to_other -   Mapping Description() - to - BG_DESCRIPTION()
DEBUG : Connector.block in map_fields_to_other -   Mapping Owner() - to - BG_RESPONSIBLE() (this field skipped as BG_RESPONSIBLE is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_out - transformed Rally user |[email protected]| to |testqc11|
DEBUG : Connector.block in map_fields_to_other -   Mapping SubmittedBy(TestUser 209) - to - BG_DETECTED_BY(testqc11)
DEBUG : QCConnection.block in has_changed? - QC has_changed - String, false for test 123.45 != String, test 123.45
DEBUG : QCConnection.block in has_changed? - QC has_changed - String, true for  != NilClass, 
 INFO : QCConnection.update_internal -   Updated bug 81 in QC
 INFO : Connector.update_other - Quality Center bug 81 updated from Rally defect DE273
 INFO : Connector.update_other - Updating Quality Center bug 83 from Rally defect DE469 ...
DEBUG : Connector.block in map_fields_to_other -   Mapping Name(Test RallyID and screens....) - to - BG_SUMMARY(Test RallyID and screens....)
DEBUG : Connector.block in map_fields_to_other -   Mapping Description(Desc-line-1  
Desc-line-2
 
Desc-line-3
) - to - BG_DESCRIPTION(Desc-line-1  
Desc-line-2
 
Desc-line-3
)
DEBUG : Connector.block in map_fields_to_other -   Mapping Owner() - to - BG_RESPONSIBLE() (this field skipped as BG_RESPONSIBLE is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_out - transformed Rally user |[email protected]| to |testqc11|
DEBUG : Connector.block in map_fields_to_other -   Mapping SubmittedBy(TestUser 209) - to - BG_DETECTED_BY(testqc11)
DEBUG : QCConnection.block in has_changed? - QC has_changed - String, false for Test RallyID and screens.... != String, Test RallyID and screens....
DEBUG : QCConnection.block in has_changed? - QC has_changed - String, false for Desc-line-1  
Desc-line-2
 
Desc-line-3
 != String, Desc-line-1  
Desc-line-2
 
Desc-line-3

DEBUG : QCConnection.block in has_changed? - QC has_changed - String, false for testqc11 != String, testqc11
DEBUG : QCConnection.has_changed? - Skipped update for bug 83 since no fields changed.
 INFO : Connector.update_other - Quality Center bug 83 updated from Rally defect DE469
  ANY : ConnectorRunner.process_service - Finished Service UPDATE_RALLY_TO_QUALITY CENTER
 INFO : QCConnection.disconnect - Disconnected from Quality Center
  ANY : ConnectorRunner.run_services - time file written with value of 2013-12-03 20:22:57 UTC
  ANY : ConnectorRunner.block in log_service_statistics - x078-csv-fieldhandler.xml: 0 items copied from Quality center to Rally 
  ANY : ConnectorRunner.block in log_service_statistics - x078-csv-fieldhandler.xml: 1 items copied from Rally to Quality center 
  ANY : ConnectorRunner.block in log_service_statistics - x078-csv-fieldhandler.xml: 2 items updated from Quality center to Rally 
  ANY : ConnectorRunner.block in log_service_statistics - x078-csv-fieldhandler.xml: 1 items updated from Rally to Quality center 
  ANY : ConnectorRunner.log_service_statistics - x078-csv-fieldhandler.xml: service run took 9 seconds

The Logfile for Run 2 of 4, for QC-config-RallyCSVUserMapping.pxml


**************************************************************************************************
     rally2_qc_connector
         pid: 704
         starting at: 2013-12-03 20:23:56 Z
         cwd: C:/Users/test/TestUserQC
         configs: x078-csv-fieldhandler.xml
         interval: -1
         connector-version: Connector version: 3.3.3-513-master-586780a12a6ebc079c80f586d05ca1ae88404432
         rally-version: Rally Spoke version 3.2.0 using rally_api gem version 0.9.22
         other-spoke: QCConnection version 2.10.0
**************************************************************************************************
  ANY : ConnectorRunner.block in run - processing to commence using content from x078-csv-fieldhandler.xml
  ANY : Class.read_config_file - x078-csv-fieldhandler.xml last modified 2013-12-03 20:22:22 UTC, size: 2177 chars
  ANY : RallyConnection.initialize - Initializing Rally connection version 3.2.0
 INFO : RallyConnection.initialize - Rally Web Services version 1.42
  ANY : QCConnection.initialize - Initializing Quality Center connection version 2.10.0
DEBUG : RallyCSVUserMappingFieldHandler.read_config - loaded Rally CSV user mapping field handler file |x078-csv-fieldhandler.csv|
DEBUG : RallyCSVUserMappingFieldHandler.read_config - loaded Rally CSV user mapping field handler file |x078-csv-fieldhandler.csv|
 INFO : Connector.initialize - Ruby platform i386-mingw32
 INFO : Connector.initialize - Ruby version 1.9.2
 INFO : QCConnection.connect - Connecting to Quality Center at http://vmwin2008qc11.f4tech.com:8080/qcbin as user testqc11
DEBUG : QCConnection.block in identify_qc_version - Preparing to open Registry to examine: Software\Classes\CLSID\{C5CBD7B2-490C-45f5-8C40-B8C3D108E6D7}\InprocServer32
DEBUG : QCConnection.block in identify_qc_version - Registry Software\Classes\CLSID\{C5CBD7B2-490C-45f5-8C40-B8C3D108E6D7}\InprocServer32 opened...
DEBUG : QCConnection.block (2 levels) in identify_qc_version - Registry path to HPQC OTAClient.dll ==> C:\PROGRA~2\COMMON~1\MERCUR~1\TDAPIC~1\OTACLI~1.DLL
DEBUG : QCConnection.win_path_expanded - expanded Registry path to DLL target: C:/Program Files (x86)/Common Files/Mercury Interactive/TDAPIClient/OTAClient.dll
 INFO : QCConnection.connect - Connected to Quality Center at http://vmwin2008qc11.f4tech.com:8080/qcbin/wcomsrv.dll (version 11.0.0.8258)
 INFO : QCConnection.connect -   Domain: DEFAULT
 INFO : QCConnection.connect -   Project: Testproject11
 INFO : RallyConnection.connect - Connecting to Rally
DEBUG : RallyConnection.connect - In connect begin clause - connecting to Rally via rally_api
DEBUG : RallyConnection.connect - Looking up projects
 INFO : RallyConnection.connect - Connected to Rally at https://rally1.rallydev.com/slm -  Workspace: WS01
 INFO : RallyConnection.connect -   Projects: PR01
 INFO : Connector.validate - Beginning validation
DEBUG : RallyConnection.validate - Rally Connection - user entry "[email protected]" detected in config file
DEBUG : RallyConnection.validate - Rally Connection - password entry detected in config file
DEBUG : RallyConnection.validate - Rally Connection - artifact type "defect" validated
DEBUG : RallyConnection.validate - Rally Connection - IDField entry "ObjectID" validated
DEBUG : RallyConnection.validate - Rally Connection - ExternalIDField entry "QCPR01ExtID" validated
DEBUG : RallyConnection.validate - Rally Connection - FieldHandler target fields existence validated
DEBUG : RallyConnection.validate - Rally Connection - Field Defaults settings validated
DEBUG : Connector.validate - RallyConnection validate succeeded
DEBUG : QCConnection.validate - Quality Center Connection - user entry "testqc11" detected in config file
DEBUG : QCConnection.validate - Quality Center Connection - password entry detected in config file
DEBUG : QCConnection.validate - Quality Center Connection - artifact type "bug" validated
DEBUG : QCConnection.validate - Quality Center Connection - IDField entry "BG_BUG_ID" validated
DEBUG : QCConnection.validate - Quality Center Connection - ExternalIDField entry "BG_USER_01" validated
DEBUG : QCConnection.validate - Quality Center Connection - FieldHandler target fields existence validated
DEBUG : QCConnection.validate - Quality Center Connection - Field Defaults settings validated
DEBUG : Connector.validate - Quality Center Connection validate succeeded
DEBUG : Connector.block in validate - RallyConnection field_mapping target "Name" existence validated
DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "BG_SUMMARY" existence validated
DEBUG : Connector.block in validate - RallyConnection field_mapping target "Description" existence validated
DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "BG_DESCRIPTION" existence validated
DEBUG : Connector.block in validate - RallyConnection field_mapping target "Owner" existence validated
DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "BG_RESPONSIBLE" existence validated
DEBUG : Connector.block in validate - RallyConnection field_mapping target "SubmittedBy" existence validated
DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "BG_DETECTED_BY" existence validated
DEBUG : Connector.block in validate - Rally Connection field_handler validation for "Owner" succeeded
DEBUG : Connector.block in validate - Rally Connection field_handler validation for "SubmittedBy" succeeded
 INFO : Connector.validate - Validation complete
  ANY : ConnectorRunner.run_services - Last Run 2013-12-03 20:22:57 UTC  --- Now 2013-12-03 20:24:04 UTC
  ANY : ConnectorRunner.process_service - Starting Service COPY_QUALITY CENTER_TO_RALLY
 INFO : QCConnection.find_new - find_new query: BG_USER_01 ="" and BG_BUG_ID ="82"
 INFO : QCConnection.find_new -   Found 1 New bugs in QC
 INFO : Connector.copy_to_rally - Copy Quality Center bug ID 82 to Rally
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_SUMMARY(Test's test issue123) - to - Name(Test's test issue123)
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_DESCRIPTION() - to - Description() (this field skipped as Description is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_in - transformed || to Rally user ||
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_RESPONSIBLE() - to - Owner() (this field skipped as Owner is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_in - transformed |testqc11| to Rally user |[email protected]|
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_DETECTED_BY(testqc11) - to - [email protected])
 INFO : RallyConnection.create_internal -   Created DE472
DEBUG : QCConnection.update_external_id_fields - set QC Bug BG_BUG_ID: 82  external id field BG_USER_01 --> |15607153242|
DEBUG : QCConnection.update_external_id_fields - set QC Bug BG_BUG_ID: 82  external end user id field BG_USER_03 --> |DE472|
 INFO : Connector.copy_to_rally - Quality Center bug 82 copied to Rally defect DE472
  ANY : ConnectorRunner.process_service - Finished Service COPY_QUALITY CENTER_TO_RALLY
  ANY : ConnectorRunner.process_service - Starting Service COPY_RALLY_TO_QUALITY CENTER
 INFO : RallyConnection.find_new - Find New Rally defects
DEBUG : RallyConnection.find_new - Rally using find_new query: (((QCPR01ExtID = "") AND (Project.Name = "PR01")) AND (FormattedID = "DE469"))
 WARN : RallyConnection.block in check_for_warnings - Please update your client to use the latest version of the API. You can find the latest version at https://rally1.rallydev.com/slm/doc/webservice/index.jsp?version=v2.0. API status is Deprecated and will become Not Supported on 2014-May-08.
 INFO : RallyConnection.find_new -   Found 1 new defects in Rally
 INFO : Connector.copy_to_other - Copy DE469 to Quality Center
DEBUG : Connector.block in map_fields_to_other -   Mapping Name(Test RallyID and screens....) - to - BG_SUMMARY(Test RallyID and screens....)
DEBUG : Connector.block in map_fields_to_other -   Mapping Description(Desc-line-1  
Desc-line-2
 
Desc-line-3
) - to - BG_DESCRIPTION(Desc-line-1  
Desc-line-2
 
Desc-line-3
)
DEBUG : Connector.block in map_fields_to_other -   Mapping Owner() - to - BG_RESPONSIBLE() (this field skipped as BG_RESPONSIBLE is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_out - transformed Rally user |[email protected]| to |testqc11|
DEBUG : Connector.block in map_fields_to_other -   Mapping SubmittedBy(TestUser 209) - to - BG_DETECTED_BY(testqc11)
DEBUG : QCConnection.create_internal - set all artifact fields
 INFO : QCConnection.create_internal -   Created bug 84 in QC
DEBUG : RallyConnection.block in has_changed? -  84 !=  is true
 INFO : RallyConnection.update_internal -   Updating DE469
 INFO : Connector.copy_to_other - Rally defect DE469 copied to Quality Center bug 84
  ANY : ConnectorRunner.process_service - Finished Service COPY_RALLY_TO_QUALITY CENTER
  ANY : ConnectorRunner.process_service - Starting Service UPDATE_QUALITY CENTER_TO_RALLY
 INFO : QCConnection.find_updates - Looking for updates made after QC server time of: '2013-12-03 13:22:50'
 INFO : QCConnection.find_updates -   Found 2 Updated bugs in QC
 WARN : RallyConnection.block in check_for_warnings - Please update your client to use the latest version of the API. You can find the latest version at https://rally1.rallydev.com/slm/doc/webservice/index.jsp?version=v2.0. API status is Deprecated and will become Not Supported on 2014-May-08.
 INFO : Connector.update_rally - Updating Rally defect DE472 from Quality Center bug 82 ...
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_SUMMARY(Tests's test issue123) - to - Name(Test's test issue123)
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_DESCRIPTION() - to - Description() (this field skipped as Description is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_in - transformed || to Rally user ||
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_RESPONSIBLE() - to - Owner() (this field skipped as Owner is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_in - transformed |testqc11| to Rally user |[email protected]|
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_DETECTED_BY(testqc11) - to - SubmittedBy([email protected])
DEBUG : RallyConnection.block in has_changed? -  Test's test issue123 != Test's test issue123 is false
DEBUG : RallyConnection.block in has_changed? -  https://rally1.rallydev.com/slm/webservice/1.42/user/11678681085.js != https://rally1.rallydev.com/slm/webservice/1.42/user/11678681085.js is false
DEBUG : RallyConnection.has_changed? - Skipped update for DE472 since there was no change on non-external id fields
 INFO : Connector.update_rally - Rally defect DE472 updated from Quality Center bug 82
 WARN : RallyConnection.block in check_for_warnings - Please update your client to use the latest version of the API. You can find the latest version at https://rally1.rallydev.com/slm/doc/webservice/index.jsp?version=v2.0. API status is Deprecated and will become Not Supported on 2014-May-08.
 INFO : Connector.update_rally - Updating Rally defect DE469 from Quality Center bug 84 ...
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_SUMMARY(Test RallyID and screens....) - to - Name(Test RallyID and screens....)
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_DESCRIPTION(Desc-line-1  
Desc-line-2
 
Desc-line-3
) - to - Description(Desc-line-1  
Desc-line-2
 
Desc-line-3
)
DEBUG : RallyCSVUserMappingFieldHandler.transform_in - transformed || to Rally user ||
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_RESPONSIBLE() - to - Owner() (this field skipped as Owner is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_in - transformed |testqc11| to Rally user |testuserrallydev.com|
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_DETECTED_BY(testqc11) - to - SubmittedBy([email protected])
DEBUG : RallyConnection.block in has_changed? -  Test RallyID and screens.... != Test RallyID and screens.... is false
DEBUG : RallyConnection.block in has_changed? -  Desc-line-1  
Desc-line-2
 
Desc-line-3
 != Desc-line-1  
Desc-line-2
 
Desc-line-3
 is false
DEBUG : RallyConnection.block in has_changed? -  https://rally1.rallydev.com/slm/webservice/1.42/user/11678681085.js != https://rally1.rallydev.com/slm/webservice/1.42/user/11678681085.js is false
DEBUG : RallyConnection.has_changed? - Skipped update for DE469 since there was no change on non-external id fields
 INFO : Connector.update_rally - Rally defect DE469 updated from Quality Center bug 84
  ANY : ConnectorRunner.process_service - Finished Service UPDATE_QUALITY CENTER_TO_RALLY
  ANY : ConnectorRunner.process_service - Starting Service UPDATE_RALLY_TO_QUALITY CENTER
 INFO : RallyConnection.find_updates - Find Rally defects updated after 2013-12-03 20:22:52 UTC (last run time - epsilon seconds)
 INFO : RallyConnection.find_updates - Rally find_updates query: ((QCPR01ExtID != "") AND ( LastUpdateDate > 2013-12-03T20:22:52Z))
 WARN : RallyConnection.block in check_for_warnings - Please update your client to use the latest version of the API. You can find the latest version at https://rally1.rallydev.com/slm/doc/webservice/index.jsp?version=v2.0. API status is Deprecated and will become Not Supported on 2014-May-08.
 INFO : RallyConnection.find_updates -   Found 2 updated defects in Rally
 INFO : Connector.update_other - Updating Quality Center bug 81 from Rally defect DE273 ...
DEBUG : Connector.block in map_fields_to_other -   Mapping Name(test 123.45) - to - BG_SUMMARY(test 123.45)
DEBUG : Connector.block in map_fields_to_other -   Mapping Description() - to - BG_DESCRIPTION()
DEBUG : Connector.block in map_fields_to_other -   Mapping Owner() - to - BG_RESPONSIBLE() (this field skipped as BG_RESPONSIBLE is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_out - transformed Rally user |[email protected]| to |testqc11|
DEBUG : Connector.block in map_fields_to_other -   Mapping SubmittedBy(TestUser 209) - to - BG_DETECTED_BY(testqc11)
DEBUG : QCConnection.block in has_changed? - QC has_changed - String, false for test 123.45 != String, test 123.45
DEBUG : QCConnection.block in has_changed? - QC has_changed - String, true for  != NilClass, 
 INFO : QCConnection.update_internal -   Updated bug 81 in QC
 INFO : Connector.update_other - Quality Center bug 81 updated from Rally defect DE273
 INFO : Connector.update_other - Updating Quality Center bug 84 from Rally defect DE469 ...
DEBUG : Connector.block in map_fields_to_other -   Mapping Name(Test RallyID and screens....) - to - BG_SUMMARY(Test RallyID and screens....)
DEBUG : Connector.block in map_fields_to_other -   Mapping Description(Desc-line-1  
Desc-line-2
 
Desc-line-3
) - to - BG_DESCRIPTION(Desc-line-1  
Desc-line-2
 
Desc-line-3
)
DEBUG : Connector.block in map_fields_to_other -   Mapping Owner() - to - BG_RESPONSIBLE() (this field skipped as BG_RESPONSIBLE is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_out - transformed Rally user |[email protected]| to |testqc11|
DEBUG : Connector.block in map_fields_to_other -   Mapping SubmittedBy(TestUser 209) - to - BG_DETECTED_BY(testqc11)
DEBUG : QCConnection.block in has_changed? - QC has_changed - String, false for Test RallyID and screens.... != String, Test RallyID and screens....
DEBUG : QCConnection.block in has_changed? - QC has_changed - String, false for Desc-line-1  
Desc-line-2
 
Desc-line-3
 != String, Desc-line-1  
Desc-line-2
 
Desc-line-3

DEBUG : QCConnection.block in has_changed? - QC has_changed - String, false for testqc11 != String, testqc11
DEBUG : QCConnection.has_changed? - Skipped update for bug 84 since no fields changed.
 INFO : Connector.update_other - Quality Center bug 84 updated from Rally defect DE469
  ANY : ConnectorRunner.process_service - Finished Service UPDATE_RALLY_TO_QUALITY CENTER
 INFO : QCConnection.disconnect - Disconnected from Quality Center
  ANY : ConnectorRunner.run_services - time file written with value of 2013-12-03 20:24:04 UTC
  ANY : ConnectorRunner.block in log_service_statistics - x078-csv-fieldhandler.xml: 1 items copied from Quality center to Rally 
  ANY : ConnectorRunner.block in log_service_statistics - x078-csv-fieldhandler.xml: 1 items copied from Rally to Quality center 
  ANY : ConnectorRunner.block in log_service_statistics - x078-csv-fieldhandler.xml: 0 items updated from Quality center to Rally 
  ANY : ConnectorRunner.block in log_service_statistics - x078-csv-fieldhandler.xml: 1 items updated from Rally to Quality center 
  ANY : ConnectorRunner.log_service_statistics - x078-csv-fieldhandler.xml: service run took 10 seconds

The Logfile for Run 3 of 4, for QC-config-RallyCSVUserMapping.pxml


**************************************************************************************************
     rally2_qc_connector
         pid: 1444
         starting at: 2013-12-03 20:26:01 Z
         cwd: C:/Users/test/testQC
         configs: x078-csv-fieldhandler.xml
         interval: -1
         connector-version: Connector version: 3.3.3-513-master-586780a12a6ebc079c80f586d05ca1ae88404432
         rally-version: Rally Spoke version 3.2.0 using rally_api gem version 0.9.22
         other-spoke: QCConnection version 2.10.0
**************************************************************************************************
  ANY : ConnectorRunner.block in run - processing to commence using content from x078-csv-fieldhandler.xml
  ANY : Class.read_config_file - x078-csv-fieldhandler.xml last modified 2013-12-03 20:25:04 UTC, size: 2372 chars
  ANY : RallyConnection.initialize - Initializing Rally connection version 3.2.0
 INFO : RallyConnection.initialize - Rally Web Services version 1.42
  ANY : QCConnection.initialize - Initializing Quality Center connection version 2.10.0
DEBUG : RallyCSVUserMappingFieldHandler.read_config - loaded Rally CSV user mapping field handler file |x078-csv-fieldhandler.csv|
DEBUG : RallyCSVUserMappingFieldHandler.read_config - loaded Rally CSV user mapping field handler file |x078-csv-fieldhandler.csv|
 INFO : Connector.initialize - Ruby platform i386-mingw32
 INFO : Connector.initialize - Ruby version 1.9.2
 INFO : QCConnection.connect - Connecting to Quality Center at http://vmwin2008qc11.f4tech.com:8080/qcbin as user testqc11
DEBUG : QCConnection.block in identify_qc_version - Preparing to open Registry to examine: Software\Classes\CLSID\{C5CBD7B2-490C-45f5-8C40-B8C3D108E6D7}\InprocServer32
DEBUG : QCConnection.block in identify_qc_version - Registry Software\Classes\CLSID\{C5CBD7B2-490C-45f5-8C40-B8C3D108E6D7}\InprocServer32 opened...
DEBUG : QCConnection.block (2 levels) in identify_qc_version - Registry path to HPQC OTAClient.dll ==> C:\PROGRA~2\COMMON~1\MERCUR~1\TDAPIC~1\OTACLI~1.DLL
DEBUG : QCConnection.win_path_expanded - expanded Registry path to DLL target: C:/Program Files (x86)/Common Files/Mercury Interactive/TDAPIClient/OTAClient.dll
 INFO : QCConnection.connect - Connected to Quality Center at http://vmwin2008qc11.f4tech.com:8080/qcbin/wcomsrv.dll (version 11.0.0.8258)
 INFO : QCConnection.connect -   Domain: DEFAULT
 INFO : QCConnection.connect -   Project: testproject11
 INFO : RallyConnection.connect - Connecting to Rally
DEBUG : RallyConnection.connect - In connect begin clause - connecting to Rally via rally_api
DEBUG : RallyConnection.connect - Looking up projects
 INFO : RallyConnection.connect - Connected to Rally at https://rally1.rallydev.com/slm -  Workspace: WS01
 INFO : RallyConnection.connect -   Projects: PR01
 INFO : Connector.validate - Beginning validation
DEBUG : RallyConnection.validate - Rally Connection - user entry "[email protected]" detected in config file
DEBUG : RallyConnection.validate - Rally Connection - password entry detected in config file
DEBUG : RallyConnection.validate - Rally Connection - artifact type "defect" validated
DEBUG : RallyConnection.validate - Rally Connection - IDField entry "ObjectID" validated
DEBUG : RallyConnection.validate - Rally Connection - ExternalIDField entry "QCPR01ExtID" validated
DEBUG : RallyConnection.validate - Rally Connection - FieldHandler target fields existence validated
DEBUG : RallyConnection.validate - Rally Connection - Field Defaults settings validated
DEBUG : Connector.validate - RallyConnection validate succeeded
DEBUG : QCConnection.validate - Quality Center Connection - user entry "testqc11" detected in config file
DEBUG : QCConnection.validate - Quality Center Connection - password entry detected in config file
DEBUG : QCConnection.validate - Quality Center Connection - artifact type "bug" validated
DEBUG : QCConnection.validate - Quality Center Connection - IDField entry "BG_BUG_ID" validated
DEBUG : QCConnection.validate - Quality Center Connection - ExternalIDField entry "BG_USER_01" validated
DEBUG : QCConnection.validate - Quality Center Connection - FieldHandler target fields existence validated
DEBUG : QCConnection.validate - Quality Center Connection - Field Defaults settings validated
DEBUG : Connector.validate - Quality Center Connection validate succeeded
DEBUG : Connector.block in validate - RallyConnection field_mapping target "Name" existence validated
DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "BG_SUMMARY" existence validated
DEBUG : Connector.block in validate - RallyConnection field_mapping target "Description" existence validated
DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "BG_DESCRIPTION" existence validated
DEBUG : Connector.block in validate - RallyConnection field_mapping target "Owner" existence validated
DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "BG_RESPONSIBLE" existence validated
DEBUG : Connector.block in validate - RallyConnection field_mapping target "SubmittedBy" existence validated
DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "BG_DETECTED_BY" existence validated
DEBUG : Connector.block in validate - Rally Connection field_handler validation for "Owner" succeeded
DEBUG : Connector.block in validate - Rally Connection field_handler validation for "SubmittedBy" succeeded
 INFO : Connector.validate - Validation complete
  ANY : ConnectorRunner.run_services - Last Run 2013-12-03 20:24:04 UTC  --- Now 2013-12-03 20:26:08 UTC
  ANY : ConnectorRunner.process_service - Starting Service COPY_QUALITY CENTER_TO_RALLY
 INFO : QCConnection.find_new - find_new query: BG_USER_01 ="" and BG_BUG_ID ="82"
 INFO : QCConnection.find_new -   Found 1 New bugs in QC
 INFO : Connector.copy_to_rally - Copy Quality Center bug ID 82 to Rally
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_SUMMARY(test's test issue123) - to - Name(test's test issue123)
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_DESCRIPTION() - to - Description() (this field skipped as Description is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_in - transformed || to Rally user ||
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_RESPONSIBLE() - to - Owner() (this field skipped as Owner is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_in - transformed |testqc11| to Rally user |[email protected]|
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_DETECTED_BY(testqc11) - to - SubmittedBy([email protected])
 INFO : RallyConnection.create_internal -   Created DE473
DEBUG : QCConnection.update_external_id_fields - set QC Bug BG_BUG_ID: 82  external id field BG_USER_01 --> |15607254068|
DEBUG : QCConnection.update_external_id_fields - set QC Bug BG_BUG_ID: 82  external end user id field BG_USER_03 --> |DE473|
 INFO : Connector.copy_to_rally - Quality Center bug 82 copied to Rally defect DE473
  ANY : ConnectorRunner.process_service - Finished Service COPY_QUALITY CENTER_TO_RALLY
  ANY : ConnectorRunner.process_service - Starting Service COPY_RALLY_TO_QUALITY CENTER
 INFO : RallyConnection.find_new - Find New Rally defects
DEBUG : RallyConnection.find_new - Rally using find_new query: (((QCPR01ExtID = "") AND (Project.Name = "PR01")) AND (FormattedID = "DE469"))
 WARN : RallyConnection.block in check_for_warnings - Please update your client to use the latest version of the API. You can find the latest version at https://rally1.rallydev.com/slm/doc/webservice/index.jsp?version=v2.0. API status is Deprecated and will become Not Supported on 2014-May-08.
 INFO : RallyConnection.find_new -   Found 1 new defects in Rally
 INFO : Connector.copy_to_other - Copy DE469 to Quality Center
DEBUG : Connector.block in map_fields_to_other -   Mapping Name(Test RallyID and screens....) - to - BG_SUMMARY(Test RallyID and screens....)
DEBUG : Connector.block in map_fields_to_other -   Mapping Description(Desc-line-1  
Desc-line-2
 
Desc-line-3
) - to - BG_DESCRIPTION(Desc-line-1  
Desc-line-2
 
Desc-line-3
)
DEBUG : Connector.block in map_fields_to_other -   Mapping Owner() - to - BG_RESPONSIBLE() (this field skipped as BG_RESPONSIBLE is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_out - transformed Rally user |[email protected]| to |testqc11|
DEBUG : Connector.block in map_fields_to_other -   Mapping SubmittedBy(test 209) - to - BG_DETECTED_BY(testqc11)
DEBUG : QCConnection.create_internal - set all artifact fields
 INFO : QCConnection.create_internal -   Created bug 85 in QC
DEBUG : RallyConnection.block in has_changed? -  85 !=  is true
 INFO : RallyConnection.update_internal -   Updating DE469
 INFO : Connector.copy_to_other - Rally defect DE469 copied to Quality Center bug 85
  ANY : ConnectorRunner.process_service - Finished Service COPY_RALLY_TO_QUALITY CENTER
  ANY : ConnectorRunner.process_service - Starting Service UPDATE_QUALITY CENTER_TO_RALLY
 INFO : QCConnection.find_updates - Looking for updates made after QC server time of: '2013-12-03 13:23:57'
 INFO : QCConnection.find_updates -   Found 1 Updated bugs in QC
 WARN : RallyConnection.block in check_for_warnings - Please update your client to use the latest version of the API. You can find the latest version at https://rally1.rallydev.com/slm/doc/webservice/index.jsp?version=v2.0. API status is Deprecated and will become Not Supported on 2014-May-08.
 INFO : Connector.update_rally - Updating Rally defect DE473 from Quality Center bug 82 ...
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_SUMMARY(test's test issue123) - to - Name(test's test issue123)
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_DESCRIPTION() - to - Description() (this field skipped as Description is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_in - transformed || to Rally user ||
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_RESPONSIBLE() - to - Owner() (this field skipped as Owner is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_in - transformed |testqc11| to Rally user |[email protected]|
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_DETECTED_BY(testqc11) - to - SubmittedBy([email protected])
DEBUG : RallyConnection.block in has_changed? -  test's test issue123 != test's test issue123 is false
DEBUG : RallyConnection.block in has_changed? -  https://rally1.rallydev.com/slm/webservice/1.42/user/11678681085.js != https://rally1.rallydev.com/slm/webservice/1.42/user/11678681085.js is false
DEBUG : RallyConnection.has_changed? - Skipped update for DE473 since there was no change on non-external id fields
 INFO : Connector.update_rally - Rally defect DE473 updated from Quality Center bug 82
  ANY : ConnectorRunner.process_service - Finished Service UPDATE_QUALITY CENTER_TO_RALLY
  ANY : ConnectorRunner.process_service - Starting Service UPDATE_RALLY_TO_QUALITY CENTER
 INFO : RallyConnection.find_updates - Find Rally defects updated after 2013-12-03 20:23:59 UTC (last run time - epsilon seconds)
 INFO : RallyConnection.find_updates - Rally find_updates query: (((QCPR01ExtID != "") AND ( LastUpdateDate > 2013-12-03T20:23:59Z)) AND (FormattedID = "DE469"))
 WARN : RallyConnection.block in check_for_warnings - Please update your client to use the latest version of the API. You can find the latest version at https://rally1.rallydev.com/slm/doc/webservice/index.jsp?version=v2.0. API status is Deprecated and will become Not Supported on 2014-May-08.
 INFO : RallyConnection.find_updates -   Found 1 updated defects in Rally
 INFO : Connector.update_other - Updating Quality Center bug 85 from Rally defect DE469 ...
DEBUG : Connector.block in map_fields_to_other -   Mapping Name(Test RallyID and screens....) - to - BG_SUMMARY(Test RallyID and screens....)
DEBUG : Connector.block in map_fields_to_other -   Mapping Description(Desc-line-1  
Desc-line-2
 
Desc-line-3
) - to - BG_DESCRIPTION(Desc-line-1  
Desc-line-2
 
Desc-line-3
)
DEBUG : Connector.block in map_fields_to_other -   Mapping Owner() - to - BG_RESPONSIBLE() (this field skipped as BG_RESPONSIBLE is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_out - transformed Rally user |[email protected]| to |testqc11|
DEBUG : Connector.block in map_fields_to_other -   Mapping SubmittedBy(test 209) - to - BG_DETECTED_BY(testqc11)
DEBUG : QCConnection.block in has_changed? - QC has_changed - String, false for Test RallyID and screens.... != String, Test RallyID and screens....
DEBUG : QCConnection.block in has_changed? - QC has_changed - String, false for Desc-line-1  
Desc-line-2
 
Desc-line-3
 != String, Desc-line-1  
Desc-line-2
 
Desc-line-3

DEBUG : QCConnection.block in has_changed? - QC has_changed - String, false for testqc11 != String, testqc11
DEBUG : QCConnection.has_changed? - Skipped update for bug 85 since no fields changed.
 INFO : Connector.update_other - Quality Center bug 85 updated from Rally defect DE469
  ANY : ConnectorRunner.process_service - Finished Service UPDATE_RALLY_TO_QUALITY CENTER
 INFO : QCConnection.disconnect - Disconnected from Quality Center
  ANY : ConnectorRunner.run_services - time file written with value of 2013-12-03 20:26:08 UTC
  ANY : ConnectorRunner.block in log_service_statistics - x078-csv-fieldhandler.xml: 1 items copied from Quality center to Rally 
  ANY : ConnectorRunner.block in log_service_statistics - x078-csv-fieldhandler.xml: 1 items copied from Rally to Quality center 
  ANY : ConnectorRunner.block in log_service_statistics - x078-csv-fieldhandler.xml: 0 items updated from Quality center to Rally 
  ANY : ConnectorRunner.block in log_service_statistics - x078-csv-fieldhandler.xml: 0 items updated from Rally to Quality center 
  ANY : ConnectorRunner.log_service_statistics - x078-csv-fieldhandler.xml: service run took 9 seconds

The Logfile for Run 4 of 4, for QC-config-RallyCSVUserMapping.pxml


**************************************************************************************************
     rally2_qc_connector
         pid: 276
         starting at: 2013-12-03 20:33:07 Z
         cwd: C:/Users/test/testQC
         configs: x078-csv-fieldhandler.xml
         interval: -1
         connector-version: Connector version: 3.3.3-513-master-586780a12a6ebc079c80f586d05ca1ae88404432
         rally-version: Rally Spoke version 3.2.0 using rally_api gem version 0.9.22
         other-spoke: QCConnection version 2.10.0
**************************************************************************************************
  ANY : ConnectorRunner.block in run - processing to commence using content from x078-csv-fieldhandler.xml
  ANY : Class.read_config_file - x078-csv-fieldhandler.xml last modified 2013-12-03 20:25:04 UTC, size: 2372 chars
  ANY : RallyConnection.initialize - Initializing Rally connection version 3.2.0
 INFO : RallyConnection.initialize - Rally Web Services version 1.42
  ANY : QCConnection.initialize - Initializing Quality Center connection version 2.10.0
DEBUG : RallyCSVUserMappingFieldHandler.read_config - loaded Rally CSV user mapping field handler file |x078-csv-fieldhandler.csv|
DEBUG : RallyCSVUserMappingFieldHandler.read_config - loaded Rally CSV user mapping field handler file |x078-csv-fieldhandler.csv|
 INFO : Connector.initialize - Ruby platform i386-mingw32
 INFO : Connector.initialize - Ruby version 1.9.2
 INFO : QCConnection.connect - Connecting to Quality Center at http://vmwin2008qc11.f4tech.com:8080/qcbin as user testqc11
DEBUG : QCConnection.block in identify_qc_version - Preparing to open Registry to examine: Software\Classes\CLSID\{C5CBD7B2-490C-45f5-8C40-B8C3D108E6D7}\InprocServer32
DEBUG : QCConnection.block in identify_qc_version - Registry Software\Classes\CLSID\{C5CBD7B2-490C-45f5-8C40-B8C3D108E6D7}\InprocServer32 opened...
DEBUG : QCConnection.block (2 levels) in identify_qc_version - Registry path to HPQC OTAClient.dll ==> C:\PROGRA~2\COMMON~1\MERCUR~1\TDAPIC~1\OTACLI~1.DLL
DEBUG : QCConnection.win_path_expanded - expanded Registry path to DLL target: C:/Program Files (x86)/Common Files/Mercury Interactive/TDAPIClient/OTAClient.dll
 INFO : QCConnection.connect - Connected to Quality Center at http://vmwin2008qc11.f4tech.com:8080/qcbin/wcomsrv.dll (version 11.0.0.8258)
 INFO : QCConnection.connect -   Domain: DEFAULT
 INFO : QCConnection.connect -   Project: testproject11
 INFO : RallyConnection.connect - Connecting to Rally
DEBUG : RallyConnection.connect - In connect begin clause - connecting to Rally via rally_api
DEBUG : RallyConnection.connect - Looking up projects
 INFO : RallyConnection.connect - Connected to Rally at https://rally1.rallydev.com/slm -  Workspace: WS01
 INFO : RallyConnection.connect -   Projects: PR01
 INFO : Connector.validate - Beginning validation
DEBUG : RallyConnection.validate - Rally Connection - user entry "[email protected]" detected in config file
DEBUG : RallyConnection.validate - Rally Connection - password entry detected in config file
DEBUG : RallyConnection.validate - Rally Connection - artifact type "defect" validated
DEBUG : RallyConnection.validate - Rally Connection - IDField entry "ObjectID" validated
DEBUG : RallyConnection.validate - Rally Connection - ExternalIDField entry "QCPR01ExtID" validated
DEBUG : RallyConnection.validate - Rally Connection - FieldHandler target fields existence validated
DEBUG : RallyConnection.validate - Rally Connection - Field Defaults settings validated
DEBUG : Connector.validate - RallyConnection validate succeeded
DEBUG : QCConnection.validate - Quality Center Connection - user entry "testqc11" detected in config file
DEBUG : QCConnection.validate - Quality Center Connection - password entry detected in config file
DEBUG : QCConnection.validate - Quality Center Connection - artifact type "bug" validated
DEBUG : QCConnection.validate - Quality Center Connection - IDField entry "BG_BUG_ID" validated
DEBUG : QCConnection.validate - Quality Center Connection - ExternalIDField entry "BG_USER_01" validated
DEBUG : QCConnection.validate - Quality Center Connection - FieldHandler target fields existence validated
DEBUG : QCConnection.validate - Quality Center Connection - Field Defaults settings validated
DEBUG : Connector.validate - Quality Center Connection validate succeeded
DEBUG : Connector.block in validate - RallyConnection field_mapping target "Name" existence validated
DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "BG_SUMMARY" existence validated
DEBUG : Connector.block in validate - RallyConnection field_mapping target "Description" existence validated
DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "BG_DESCRIPTION" existence validated
DEBUG : Connector.block in validate - RallyConnection field_mapping target "Owner" existence validated
DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "BG_RESPONSIBLE" existence validated
DEBUG : Connector.block in validate - RallyConnection field_mapping target "SubmittedBy" existence validated
DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "BG_DETECTED_BY" existence validated
DEBUG : Connector.block in validate - Rally Connection field_handler validation for "Owner" succeeded
DEBUG : Connector.block in validate - Rally Connection field_handler validation for "SubmittedBy" succeeded
 INFO : Connector.validate - Validation complete
  ANY : ConnectorRunner.run_services - Last Run 2013-12-03 20:26:08 UTC  --- Now 2013-12-03 20:33:15 UTC
  ANY : ConnectorRunner.process_service - Starting Service COPY_QUALITY CENTER_TO_RALLY
 INFO : QCConnection.find_new - find_new query: BG_USER_01 ="" and BG_BUG_ID ="82"
 INFO : QCConnection.find_new -   Found 1 New bugs in QC
 INFO : Connector.copy_to_rally - Copy Quality Center bug ID 82 to Rally
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_SUMMARY(test's test issue123) - to - Name(test's test issue123)
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_DESCRIPTION() - to - Description() (this field skipped as Description is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_in - transformed |nickqc11| to Rally user ||
DEBUG : Connector.block in map_fields_to_rally -   Mapping BG_RESPONSIBLE(nickqc11) - to - Owner()  [no valid mapping value found]
ERROR : Connector.rescue in copy_to_rally - Quality Center bug ID 82 not copied to Rally (BG_RESPONSIBLE value of |nickqc11| not mapped to a valid Rally user field value ||)
  ANY : ConnectorRunner.process_service - Finished Service COPY_QUALITY CENTER_TO_RALLY
  ANY : ConnectorRunner.process_service - Starting Service COPY_RALLY_TO_QUALITY CENTER
 INFO : RallyConnection.find_new - Find New Rally defects
DEBUG : RallyConnection.find_new - Rally using find_new query: (((QCPR01ExtID = "") AND (Project.Name = "PR01")) AND (FormattedID = "DE469"))
 WARN : RallyConnection.block in check_for_warnings - Please update your client to use the latest version of the API. You can find the latest version at https://rally1.rallydev.com/slm/doc/webservice/index.jsp?version=v2.0. API status is Deprecated and will become Not Supported on 2014-May-08.
 INFO : RallyConnection.find_new -   Found 1 new defects in Rally
 INFO : Connector.copy_to_other - Copy DE469 to Quality Center
DEBUG : Connector.block in map_fields_to_other -   Mapping Name(Test RallyID and screens....) - to - BG_SUMMARY(Test RallyID and screens....)
DEBUG : Connector.block in map_fields_to_other -   Mapping Description(Desc-line-1  
Desc-line-2
 
Desc-line-3
) - to - BG_DESCRIPTION(Desc-line-1  
Desc-line-2
 
Desc-line-3
)
DEBUG : Connector.block in map_fields_to_other -   Mapping Owner() - to - BG_RESPONSIBLE() (this field skipped as BG_RESPONSIBLE is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_out - transformed Rally user |[email protected]| to |testqc11|
DEBUG : Connector.block in map_fields_to_other -   Mapping SubmittedBy(test 209) - to - BG_DETECTED_BY(testqc11)
DEBUG : QCConnection.create_internal - set all artifact fields
 INFO : QCConnection.create_internal -   Created bug 86 in QC
DEBUG : RallyConnection.block in has_changed? -  86 !=  is true
 INFO : RallyConnection.update_internal -   Updating DE469
 INFO : Connector.copy_to_other - Rally defect DE469 copied to Quality Center bug 86
  ANY : ConnectorRunner.process_service - Finished Service COPY_RALLY_TO_QUALITY CENTER
  ANY : ConnectorRunner.process_service - Starting Service UPDATE_QUALITY CENTER_TO_RALLY
 INFO : QCConnection.find_updates - Looking for updates made after QC server time of: '2013-12-03 13:26:01'
 INFO : QCConnection.find_updates -   Found 0 Updated bugs in QC
  ANY : ConnectorRunner.process_service - Finished Service UPDATE_QUALITY CENTER_TO_RALLY
  ANY : ConnectorRunner.process_service - Starting Service UPDATE_RALLY_TO_QUALITY CENTER
 INFO : RallyConnection.find_updates - Find Rally defects updated after 2013-12-03 20:26:03 UTC (last run time - epsilon seconds)
 INFO : RallyConnection.find_updates - Rally find_updates query: (((QCPR01ExtID != "") AND ( LastUpdateDate > 2013-12-03T20:26:03Z)) AND (FormattedID = "DE469"))
 WARN : RallyConnection.block in check_for_warnings - Please update your client to use the latest version of the API. You can find the latest version at https://rally1.rallydev.com/slm/doc/webservice/index.jsp?version=v2.0. API status is Deprecated and will become Not Supported on 2014-May-08.
 INFO : RallyConnection.find_updates -   Found 1 updated defects in Rally
 INFO : Connector.update_other - Updating Quality Center bug 86 from Rally defect DE469 ...
DEBUG : Connector.block in map_fields_to_other -   Mapping Name(Test RallyID and screens....) - to - BG_SUMMARY(Test RallyID and screens....)
DEBUG : Connector.block in map_fields_to_other -   Mapping Description(Desc-line-1  
Desc-line-2
 
Desc-line-3
) - to - BG_DESCRIPTION(Desc-line-1  
Desc-line-2
 
Desc-line-3
)
DEBUG : Connector.block in map_fields_to_other -   Mapping Owner() - to - BG_RESPONSIBLE() (this field skipped as BG_RESPONSIBLE is nil)
DEBUG : RallyCSVUserMappingFieldHandler.transform_out - transformed Rally user |[email protected]| to |testqc11|
DEBUG : Connector.block in map_fields_to_other -   Mapping SubmittedBy(test 209) - to - BG_DETECTED_BY(testqc11)
DEBUG : QCConnection.block in has_changed? - QC has_changed - String, false for Test RallyID and screens.... != String, Test RallyID and screens....
DEBUG : QCConnection.block in has_changed? - QC has_changed - String, false for Desc-line-1  
Desc-line-2
 
Desc-line-3
 != String, Desc-line-1  
Desc-line-2
 
Desc-line-3

DEBUG : QCConnection.block in has_changed? - QC has_changed - String, false for testqc11 != String, testqc11
DEBUG : QCConnection.has_changed? - Skipped update for bug 86 since no fields changed.
 INFO : Connector.update_other - Quality Center bug 86 updated from Rally defect DE469
  ANY : ConnectorRunner.process_service - Finished Service UPDATE_RALLY_TO_QUALITY CENTER
 INFO : QCConnection.disconnect - Disconnected from Quality Center
  ANY : ConnectorRunner.run_services - time file written with value of 2013-12-03 20:33:15 UTC
  ANY : ConnectorRunner.block in log_service_statistics - x078-csv-fieldhandler.xml: 0 items copied from Quality center to Rally 
  ANY : ConnectorRunner.block in log_service_statistics - x078-csv-fieldhandler.xml: 1 items copied from Rally to Quality center 
  ANY : ConnectorRunner.block in log_service_statistics - x078-csv-fieldhandler.xml: 0 items updated from Quality center to Rally 
  ANY : ConnectorRunner.block in log_service_statistics - x078-csv-fieldhandler.xml: 0 items updated from Rally to Quality center 
  ANY : ConnectorRunner.log_service_statistics - x078-csv-fieldhandler.xml: service run took 9 seconds