Rally Software

 View Only

 Rally connector for TFS/DevOps: Message undefined method `upcase' for nil:NilClass

Jump to Best Answer
danf879's profile image
danf879 posted Jul 06, 2021 04:11 PM
Hi there!
We've used the TFS Workitems connector for many years to sync Rally User Stories with an on-prem TFS server.
We're now attempting to see if CAAgileCentralConnectorforTFSWorkItems-4.8.2-master-11 can copy Rally User Stories to our Azure DevOps instance.
Is this a supported configuration?  It's a little unclear.
I've set up a configuration using a PAT from DevOps.  I've verified both RallyID and RallyLink have been added to the Agile process in DevOps.
Running the Ruby script everything seems to validate fine but I'm seeing this in the log:

[2021-07-06 19:58:50 Z] DEBUG : RallyEIF::WRK::Connector.validate - Rally CrosslinkUrlField name of "TFSLink" validated
[2021-07-06 19:58:50 Z] DEBUG : RallyEIF::WRK::Connector.validate - CrosslinkUrlField name of "RallyLink" validated
[2021-07-06 19:58:50 Z] INFO : RallyEIF::WRK::Connector.validate - Validation complete
[2021-07-06 19:58:50 Z] ANY : RallyEIF::WRK::ConnectorRunner.run_services - Last Run 2021-07-06 19:53:50 UTC --- Now 2021-07-06 19:58:50 UTC
[2021-07-06 19:58:50 Z] ERROR : RallyEIF::WRK::ConnectorRunner.rescue in run_services - Unexpected exception occurred
[2021-07-06 19:58:50 Z] ERROR : RallyEIF::WRK::ConnectorRunner.exception - Message undefined method `upcase' for nil:NilClass
[2021-07-06 19:58:50 Z] ERROR : RallyEIF::WRK::ConnectorRunner.exception - Stack Trace
[2021-07-06 19:58:50 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.2/lib/rallyeif/wrk/connector_runner.rb:399:in `process_service'
[2021-07-06 19:58:50 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.2/lib/rallyeif/wrk/connector_runner.rb:529:in `block in run_services'
[2021-07-06 19:58:50 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.2/lib/rallyeif/wrk/connector_runner.rb:528:in `each'
[2021-07-06 19:58:50 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.2/lib/rallyeif/wrk/connector_runner.rb:528:in `run_services'
[2021-07-06 19:58:50 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.2/lib/rallyeif/wrk/connector_runner.rb:347:in `block in run'
[2021-07-06 19:58:50 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.2/lib/rallyeif/wrk/connector_runner.rb:286:in `each'
[2021-07-06 19:58:50 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.2/lib/rallyeif/wrk/connector_runner.rb:286:in `run'
[2021-07-06 19:58:50 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-tfs-4.8.2/bin/ca_agile_central2_tfs_connector.rb:12:in `<top (required)>'
[2021-07-06 19:58:50 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - c:/Ruby22-x64/bin/ca_agile_central2_tfs_connector.rb:23:in `load'
[2021-07-06 19:58:50 Z] ERROR : RallyEIF::WRK::ConnectorRunner.block in exception - c:/Ruby22-x64/bin/ca_agile_central2_tfs_connector.rb:23:in `<main>'
[2021-07-06 19:58:50 Z] INFO : RallyEIF::WRK::TFSConnection.disconnect - Disconnected from
Attachment  View in library
Sagi Gabay's profile image
Broadcom Employee Sagi Gabay Best Answer
Hi Dan.

I believe this tech doc should help. Please let us know if it did help.

Thanks,
Sagi
danf879's profile image
danf879
Hi Sagi
Sorry for the delay. This worked for us, thanks so much!
-Dan
Sagi Gabay's profile image
Broadcom Employee Sagi Gabay
Good news Dan. Glad it helped.

Sagi