【发布时间】:2019-07-30 06:39:02
【问题描述】:
我正在设置流程模板并希望在迭代中对列进行排序。我在哪里可以更改此顺序?
我已经设置了我的 STATES 和 TRANSITIONS,但是当显示在 Web 上时,我的顺序发生了变化。
【问题讨论】:
我正在设置流程模板并希望在迭代中对列进行排序。我在哪里可以更改此顺序?
我已经设置了我的 STATES 和 TRANSITIONS,但是当显示在 Web 上时,我的顺序发生了变化。
【问题讨论】:
如何为敏捷看板排序迭代列?
根据文档On-premises XML process customization,我们可以Set default columns。
因此,要为敏捷看板排序迭代列,您可以尝试以下步骤:
解压Agile.zip,打开WorkItem Tracking\Process文件夹下的ProcessConfiguration.xml文件。然后我们改变列的顺序,比如把TitleState改成StateTitle:
用户故事下默认列的 XML 应该是:
<RequirementBacklog category="Microsoft.RequirementCategory" pluralName="Stories" singularName="User Story" workItemCountLimit="1000">
<States>
...
</States>
<Columns>
<Column refname="System.WorkItemType" width="100" />
<Column refname="System.Title" width="400" />
<Column refname="System.State" width="100" />
...
</Columns>
然后我改变了Title和State的顺序:
<RequirementBacklog category="Microsoft.RequirementCategory" pluralName="Stories" singularName="User Story" workItemCountLimit="1000">
<States>
...
</States>
<Columns>
<Column refname="System.WorkItemType" width="100" />
<Column refname="System.State" width="100" />
<Column refname="System.Title" width="400" />
...
</Columns>
更改文件夹根目录下ProcessTemplate.xml文件中的名称和版本类型(随意修改几位):
<?xml version="1.0" encoding="utf-8"?>
<ProcessTemplate>
<metadata>
<name>AgileTestByLeo</name>
<description>This template is flexible and will work great for most teams using Agile planning methods, including those practicing Scrum.</description>
<version type="ADCC42AB-9882-485E-A3ED-7678F01F56BD" major="16" minor="1" />
<plugins>
...
</plugins>
</metadata>
现在,列的顺序已正确修改。
注意:TRANSITION 元素用于定义从一种状态到另一种状态的每个有效进程和回归的转换。
希望这会有所帮助。
【讨论】: