我正在使用 Jira/Rally 和 Ruby 连接器。我被派去测试连接器,并确保它能满足我们的一切需求。我必须承认,这不是我的专业领域,我无法在 Rally 网站上找到相关帮助,并且这里之前的主题与不同的问题相关。
我遇到的错误是:
[2013-01-18 15:21:38 Z] DEBUG : Finding method getIssuesFromJqlSearch
[2013-01-18 15:21:39 Z] ERROR : ConnectorRunner.rescue in run_services - Unexpected exception occurred
[2013-01-18 15:21:39 Z] ERROR : ConnectorRunner.exception - Message undefined method `key' for nil:NilClass
[2013-01-18 15:21:39 Z] ERROR : ConnectorRunner.exception - Stack Trace
我连接到这两个服务都很好(在解决了一些有趣的代理问题之后),并且正在处理连接器附带的基本 jira_config.xml。我只更改了必填字段,即 UN/PW/URL/Project/Workspace
相关xml代码:
<RallyConnection>
<Url>rally1.rallydev.com</Url>
<WorkspaceName>CMSJiraIntegrationTestWorkspace</WorkspaceName>
<Projects>
<Project>Sample Project</Project>
</Projects>
<User>***************</User>
<Password>encoded-T-i-F-j-b-2-x-l-M-j-A-=-</Password>
<ArtifactType>Defect</ArtifactType>
<ExternalIDField>JiraDefectKey</ExternalIDField>
<CrosslinkUrlField>JiraLink</CrosslinkUrlField>
</RallyConnection>
<JiraConnection>
<Url>http://10.34.10.175:8080</Url>
<User>***************</User>
<Password>encoded-a-m-F-t-Z-X-M-u-Y-m-V-p-b-n-M-=-</Password>
<ArtifactType>Bug</ArtifactType>
<Project>SP</Project>
<ExternalIDField>RallyID</ExternalIDField>
<CrosslinkUrlField>RallyURL</CrosslinkUrlField>
<CopySelectors>
<CopySelector>Status != Closed</CopySelector>
</CopySelectors>
</JiraConnection>
有没有人知道为什么这会失败?
非常感谢您的帮助