Rally - TFS Connector: Error in tfs_task_to_parent_linker
search cancel

Rally - TFS Connector: Error in tfs_task_to_parent_linker

book

Article ID: 137483

calendar_today

Updated On:

Products

Rally SaaS

Issue/Introduction

When running the connector while using a TFSTaskToParentLinker the following error is seen in the log:

ERROR : RallyEIF::WRK::ConnectorRunner.exception - Message undefined method `_ref' for nil:NilClass

ERROR : RallyEIF::WRK::ConnectorRunner.exception - Stack Trace

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../gems/rallyeif-tfs-4.8.0/lib/rallyeif/tfs/related_object_linkers/tfs_task_to_parent_linker.rb:23:in `link_related_objects_in_other'

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector.rb:390:in `block in copy_to_other'

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector.rb:389:in `each'

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector.rb:389:in `copy_to_other'

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:470:in `block in process_service_artifacts'

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../gems/rally_api-1.2.1/lib/rally_api/rally_query_result.rb:22:in `block in each'

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../gems/rally_api-1.2.1/lib/rally_api/rally_query_result.rb:21:in `each'

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../gems/rally_api-1.2.1/lib/rally_api/rally_query_result.rb:21:in `each'

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:467:in `process_service_artifacts'

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:409:in `process_service'

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:529:in `block in run_services'

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:528:in `each'

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:528:in `run_services'

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:347:in `block in run'

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:286:in `each'

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:286:in `run'

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../gems/rallyeif-tfs-4.8.0/bin/ca_agile_central2_tfs_connector.rb:12:in `<top (required)>'

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../bin/ca_agile_central2_tfs_connector.rb:23:in `load'

ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - .../bin/ca_agile_central2_tfs_connector.rb:23:in `<main>'


Environment

Release : SAAS

Component : AGILE CENTRAL

Cause

Caused by using a <TFSTaskToParentLinker /> on a work item type that is not a task.  Only tasks can use this <RelatedObjectLinkers>

Resolution

To resolve this issue, remove the <TFSTaskToParentLinker /> line from the configuration file.