TFS2012-config-CrosslinkUrlField.pxml

Below are the sections relating to this TFS2012 workitem connector run:

  1. This configuration file: TFS2012-config-CrosslinkUrlField.pxml
  2. The rallylog.log output: rallylog.log

Configuration File TFS2012-config-CrosslinkUrlField.pxml

<!-- **********************************************************************
FILE:    TFS2012-config-CrosslinkUrlField.pxml
                        
PURPOSE: Test the <CrosslinkUrlField> feature in the TFS2012 connector.

USAGE:   Replace all the "Your-..." strings below with values appropriate
         for your environment.
*********************************************************************** -->
<config>
        <RallyConnection>
                <Url>rally1.rallydev.com</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>
                <CrosslinkUrlField>Your-Rally-CrosslinkUrl</CrosslinkUrlField>
                <CopySelectors>
                        <CopySelector>FormattedID = DE15320</CopySelector>
                </CopySelectors>
        </RallyConnection>

        <TFSConnection>
                <Collection>Your-TFS-Collection</Collection>
                <TeamProject>Your-TFS-TeamProject</TeamProject>
                <ArtifactType>Bug</ArtifactType>
                <IDField>System.Id</IDField>
                <ExternalIDField>Your-TFS-ExternalId</ExternalIDField>
                <ExternalEndUserIDField>Your-TFS-FormattedID</ExternalEndUserIDField>
                <CrosslinkUrlField>Your-TFS-CrosslinkUrlHtml</CrosslinkUrlField>
                <CopySelectors>
                        <CopySelector>System.Id = 4504</CopySelector>
                </CopySelectors>
        </TFSConnection>

        <Connector>
                <FieldMapping>
                        <Field><Rally>Name</Rally>      <Other>System.Title</Other></Field>
                        <Field><Rally>Priority</Rally>  <Other>Microsoft.VSTS.Common.Priority</Other></Field>
                </FieldMapping>

                <OtherFieldHandlers>
                        <OtherEnumFieldHandler>
                                <FieldName>Microsoft.VSTS.Common.Priority</FieldName>
                                <Mappings>
                                        <Field><Rally>Resolve Immediately</Rally>       <Other>1</Other></Field>
                                        <Field><Rally>High Attention</Rally>            <Other>2</Other></Field>
                                        <Field><Rally>Normal</Rally>                    <Other>3</Other></Field>
                                        <Field><Rally>Low</Rally>                       <Other>4</Other></Field>
                                </Mappings>
                        </OtherEnumFieldHandler>
                </OtherFieldHandlers>
        </Connector>

        <ConnectorRunner>
                <Preview>True</Preview>
                <LogLevel>Debug</LogLevel>
                <Services>COPY_TFS_TO_RALLY,  COPY_RALLY_TO_TFS</Services>
        </ConnectorRunner>
</config>

The rallylog.log Output

**************************************************************************************************
     rally2_tfs_connector
         pid: 1384
         starting at: 2013-09-18 16:16:40 Z
         cwd: C:/Users/Administrator/Desktop/Organize
         configs: tfs_config_JPKole.xml
         interval: -1
         connector-version: Connector version: 3.3.2-50-dev-779d29f928b74bddd3042e1466b34929b466750e
         rally-version: Rally Spoke version 3.2.0 using rally_api gem version 0.9.22
         other-spoke: TFSConnection version 2.10.0
**************************************************************************************************
   ANY : ConnectorRunner.block in run - processing to commence using content from tfs_config_JPKole.xml
   ANY : Class.read_config_file - tfs_config_JPKole.xml last modified 2013-09-18 16:16:14 UTC, size: 1908 chars
   ANY : RallyConnection.initialize - Initializing Rally connection version 3.2.0
  INFO : RallyConnection.initialize - Rally Web Services version 1.42
   ANY : TFSConnection.initialize - Initializing Team Foundation Server connection version 2.10.0
  INFO : Connector.initialize - Ruby platform i386-mingw32
  INFO : Connector.initialize - Ruby version 1.9.2
  INFO : TFSConnection.connect - Connecting to Team Foundation Server
  INFO : TFSConnection.connect - Collection: http://Win2012-TFS2012:8080/tfs/Rally
  INFO : TFSConnection.connect - Connected to Win2012-TFS2012\Rally via TFSBridge version: 0.9.0.1
  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: MyTFSworkspace
  INFO : RallyConnection.connect -   Projects: MyTFSproject
  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 "ExternalID" 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 : Connector.validate - Team Foundation Server Connection validate succeeded
 DEBUG : Connector.block in validate - RallyConnection field_mapping target "Name" existence validated
 DEBUG : Connector.block in validate - Team Foundation Server Connection field_mapping target "System.Title" existence validated
 DEBUG : Connector.block in validate - RallyConnection field_mapping target "Priority" existence validated
 DEBUG : Connector.block in validate - Team Foundation Server Connection field_mapping target "Microsoft.VSTS.Common.Priority" existence validated
 DEBUG : Connector.block in validate - Team Foundation Server Connection field_handler validation for "Microsoft.VSTS.Common.Priority" succeeded
 DEBUG : Connector.validate - Rally CrossLinkUrlField validated
 DEBUG : Connector.validate - Team Foundation Server CrossLinkUrlField validated
  INFO : Connector.validate - Validation complete
   ANY : ConnectorRunner.run_services - Last Run 2013-09-18 16:02:54 UTC  --- Now 2013-09-18 16:16:42 UTC

   ANY : ConnectorRunner.process_service - Starting Service COPY_TEAM FOUNDATION SERVER_TO_RALLY
  INFO : TFSConnection.find_new - Beginning find_new query
 DEBUG : TFSConnection.run_query - Search String: select * from WorkItems where [Work Item Type] = 'Bug'  and [Rally.Common.ExternalId] = '' and [System.TeamProject] = 'Integrations' and [System.Id] = '4504' order by [System.Id]
  INFO : TFSConnection.find_new - Found 1 new items
  INFO : Connector.copy_to_rally - Copy Team Foundation Server Bug ID 4504 to Rally
 DEBUG : Connector.block in map_fields_to_rally -   Mapping System.Title(Bug) - to - Name(Bug)
 DEBUG : Connector.block in map_fields_to_rally -   Mapping Microsoft.VSTS.Common.Priority(2) - to - Priority(High Attention)
  INFO : RallyConnection.create_internal -   Created DE15484
  INFO : TFSConnection.update_internal - Updating Bug
  INFO : TFSConnection.block in update_internal -  Rally.Common.ExternalId -> 14136697983
  INFO : TFSConnection.block in update_internal -  Rally.Common.FormattedID -> DE15484
  INFO : TFSConnection.block in update_internal -  Rally.Common.CrosslinkUrlHtml -> <a href="https://rally1.rallydev.com/slm/#/detail/defect/14163697983">14163697983</a>
  INFO : Connector.copy_to_rally - Team Foundation Server Bug 4504 copied to Rally defect DE15484
   ANY : ConnectorRunner.process_service - Finished Service COPY_TEAM FOUNDATION SERVER_TO_RALLY

   ANY : ConnectorRunner.process_service - Starting Service COPY_RALLY_TO_TEAM FOUNDATION SERVER
  INFO : RallyConnection.find_new - Find New Rally defects
 DEBUG : RallyConnection.find_new - Rally using find_new query: (((ExternalID = "") AND (Project.Name = "Sample Project")) AND (FormattedID = "DE15320"))
  WARN : RallyConnection.block in check_for_warnings - API status is Deprecated and will become Not Supported on 05/08/2014
  INFO : RallyConnection.find_new -   Found 1 new defects in Rally
  INFO : Connector.copy_to_other - Copy DE15320 to Team Foundation Server
 DEBUG : Connector.block in map_fields_to_other -   Mapping Name(130917093522232812) - to - System.Title(130917093522232812)
 DEBUG : Connector.block in map_fields_to_other -   Mapping Priority(Normal) - to - Microsoft.VSTS.Common.Priority(3)
  INFO : TFSConnection.create_internal - Creating a new Bug
  INFO : TFSConnection.block in create_internal -  System.Title -> 130917093522232812
  INFO : TFSConnection.block in create_internal -  Microsoft.VSTS.Common.Priority -> 3
  INFO : TFSConnection.block in create_internal -  Rally.Common.ExternalId -> 14117664901
  INFO : TFSConnection.block in create_internal -  Rally.Common.FormattedID -> DE15320
  INFO : TFSConnection.block in create_internal -  Rally.Common.CrosslinkUrlHtml -> <a href="https://rally1.rallydev.com/slm/#/detail/defect/14171664901">14171664901</a>
  INFO : RallyConnection.update_internal -   Updating DE15320
  INFO : Connector.copy_to_other - Rally defect DE15320 copied to Team Foundation Server Bug 4507
   ANY : ConnectorRunner.process_service - Finished Service COPY_RALLY_TO_TEAM FOUNDATION SERVER

  INFO : TFSConnection.disconnect - Disconnected from Team Foundation Server
   ANY : ConnectorRunner.run_services - time file written with value of 2013-09-18 16:16:42 UTC
   ANY : ConnectorRunner.block in log_service_statistics - tfs_config_JPKole.xml: 1 items copied from Team foundation server to Rally 
   ANY : ConnectorRunner.block in log_service_statistics - tfs_config_JPKole.xml: 1 items copied from Rally to Team foundation server 
   ANY : ConnectorRunner.log_service_statistics - tfs_config_JPKole.xml: service run took 4 seconds

 

Feedback

Need more help? The CA Agile Central Community is your one-stop shop for self-service and support. To submit feedback or cases to CA Agile Central Support, find answers, and collaborate with others, please join us in the CA Agile Central Community.