元素 'APIKey':此元素不是预期的 - Rally 和 Jira 连接器版本 4.7.2

Element 'APIKey': This element is not expected - Rally and Jira connector version 4.7.2

我是 运行 Ubuntu 14.04 上的 Rally 和 Jira 集成工具版本 4.7.2,并且不断收到此错误:

ERROR : Class.initialize - The configuration file is not valid - the errors were:
Element 'APIKey': This element is not expected. Expected is one of ( WorkspaceName, Projects, User, Password, ArtifactType, ExternalIDField, SuppressDeprecationWarning, CrosslinkUrlField, CopySelectors, UpdateSelectors ).

在版本 4.6.5 上相同的配置文件 运行 成功。

我也遇到了同样的错误。这是我解决它的方法:

  1. 更新您的 config.xml 文件以包含以下带有明文用户名和密码的标签:

    <User>username</User> 
    <Password>password</Password>
    
  2. 执行连接器,例如 ca_agile_central2_jira_connector.rbconfig.xml-1

  3. 打开config.xml,您会看到加密的用户名和密码,例如

    <User>SECURED-HASH</User> 
    <Password>SECURED-HASH</Password>
    
  4. 安全散列现在可以在生成它的机器上连续使用。当你改变工作站时,重新生成哈希,否则你会得到以下错误:

    ERROR : Class.initialize - EnvironmentalKey ident_vector not valid for decryption target value