使用RallyConnectorforJira-Ruby-2.7.4我正在尝试配置连接器以在http://www.rallydev.com/help/Jira-config-RallyJiraCommentLinker.pxml中记录的Rally和JIRA之间同步注释,但是当我将以下内容添加到我的jira_config.xml时:
<RelatedObjectLinkers>
<RallyJiraCommentLinker />
</RelatedObjectLinkers>
连接器在启动后立即死亡,“相关对象链接器无法找到RallyJiraCommentLinker的类”错误(下面的日志内容)。
我有什么问题或者不再支持RallyJiraCommentLinker吗?
谢谢,
安德鲁。
---开始记录---
************************************************************************************************************
rally2_jira_connector
pid: 1234
starting at: 2012-08-15 15:08:02 Z
cwd: /opt/RallyConnectorforJira-Ruby-2.7.4
configs: jira_config.xml
interval: 15
************************************************************************************************************
[2012-08-15 15:08:02 Z] ANY : ConnectorRunner.block in run - processing to commence using content from jira_config.xml
[2012-08-15 15:08:02 Z] INFO : Class.read_config_file - jira_config.xml last modified 2012-08-15 15:06:45 UTC, size: 2665 chars
[2012-08-15 15:08:02 Z] INFO : RallyConnection.initialize - Initializing Rally connection version 2.7.4
[2012-08-15 15:08:02 Z] INFO : RallyConnection.initialize - Rally Web Services version 1.16
[2012-08-15 15:08:02 Z] INFO : JiraConnection.initialize - Initializing JIRA connection version 2.7.4
[2012-08-15 15:08:02 Z] INFO : Class.read_workflow_file - jira_workflow.xml
[2012-08-15 15:08:02 Z] ERROR : Connector.rescue in block in read_related_object_linkers - Related Object Linker could not find a class for RallyJiraCommentLinker
[2012-08-15 15:08:02 Z] ERROR : ConnectorRunner.initialize - uninitialized constant Kernel::RallyJiraCommentLinker
[2012-08-15 15:08:02 Z] ERROR : Object.exception - Message uninitialized constant Kernel::RallyJiraCommentLinker
[2012-08-15 15:08:02 Z] ERROR : Object.exception - Stack Trace
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/yeti-2.7.4/lib/yeti/connector.rb:364:in `const_get'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/yeti-2.7.4/lib/yeti/connector.rb:364:in `block in read_related_object_linkers'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/nokogiri-1.5.5/lib/nokogiri/xml/node_set.rb:239:in `block in each'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/nokogiri-1.5.5/lib/nokogiri/xml/node_set.rb:238:in `upto'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/nokogiri-1.5.5/lib/nokogiri/xml/node_set.rb:238:in `each'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/yeti-2.7.4/lib/yeti/connector.rb:362:in `read_related_object_linkers'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/yeti-2.7.4/lib/yeti/connector.rb:54:in `read_config'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/yeti-2.7.4/lib/yeti/connector.rb:37:in `initialize'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/yeti-2.7.4/lib/yeti/connector_runner.rb:154:in `new'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/yeti-2.7.4/lib/yeti/connector_runner.rb:154:in `block in run'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/yeti-2.7.4/lib/yeti/connector_runner.rb:136:in `each'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - /usr/local/rvm/gems/ruby-1.9.3-p194/gems/yeti-2.7.4/lib/yeti/connector_runner.rb:136:in `run'
[2012-08-15 15:08:02 Z] ERROR : Object.block in exception - rally2_jira_connector.rb:24:in `<main>'
---结束日志---
答案 0 :(得分:0)
我们最近在2.8.1版本的连接器中实际介绍了它,所以它不在你的版本中。希望有所帮助。