是否有人使用Rally-Bugzilla连接器同步状态字段(例如,将Rally中的Schedule State字段与Bugzilla中的状态字段同步 - 其中包含诸如“NEW”,“EVALUATED”,“ASSIGNED”,“ IN_WORK“等)?在我看来,由于两个系统之间的值之间没有1:1的关系,这很复杂,在这种情况下,是否有人对方法有任何建议?
答案 0 :(得分:0)
这通常通过config.xml中的字段处理程序为连接器提供便利。在http://www.rallydev.com/help/rally-integrations-faq-and-best-practices#How-to-map-fields对此进行了不错的讨论。一般的想法是:
<Connector>
<FieldMapping>
<Field> <Rally>State</Rally>
<Other>BG_STATUS</Other>
</Field>
....
<OtherFieldHandlers>
<OtherEnumFieldHandler>
<FieldName>BG_STATUS</FieldName>
<Mappings>
<Field><Rally>Defined</Rally> <Other>New</Other></Field>
<Field><Rally>In-Progress</Rally> <Other>Assigned</Other></Field>
<!-- Etc -->
</Mappings>
</OtherEnumFieldHandler>
</Connector>
请注意,您可能需要进入Rally工具为State字段/下拉列表定义一些自定义值,以便在Bugzilla中容纳State值的启发式映射。