如何向 VSTS 中的任务工作项添加新的活动类型 [英] How to add a new Activity type to the Task work item in VSTS
问题描述
是否可以在 VSTS 中的任务工作项上添加新的活动类型,如果可以,我该怎么做?谢谢!
对于 VSTS,您不能更改系统进程(Agile、Scrum 和 CMMI)中的系统字段(例如 Activity).
解决方法是创建一个继承的进程和一个新字段来替换系统活动字段.
比如你在使用Agile系统流程,你可以从Agile创建一个继承的流程(myagile),然后把你的团队项目改成继承的流程.并新增一个字段(如Activity1)来替换系统Activity字段.详细步骤如下:
创建继承进程
处理中选项卡(
更改您的团队项目以使用继承的流程
点击继承流程myagile的
...
按钮->更改团队项目以使用myagile->选择您要使用继承流程的团队项目->确定.为 Task WIT 添加一个新字段
点击继承的流程(myagile)->任务->新字段->c创建带有picklist(字符串)类型的字段Activity1->添加值作为系统活动字段具有(部署、设计、开发、文档、需求和测试)) -> 添加要添加的新值(如 MyActivity) -> Layout Tab -> 将标签更改为 Activity -> 添加字段.
替换自定义字段Activity1以替换系统Activity字段
点击系统Activity字段的...
按钮->从布局隐藏->将自定义Activity1字段移动到系统Activity字段的相同位置.
现在您可以从活动(活动 1 字段)下拉列表中选择新添加的值.
Is it possible to add a new Activity type on the Task work item in VSTS and, if so, how can I do it? Thanks!
For VSTS, you can not change system fields (such as Activity) in System processes (Agile, Scrum and CMMI).
The workaround is create an inherited prcess and a new field to replace the system Activity field.
Such as if you are using Agile system process, you can create an inherited process (myagile) from Agile, then change your team project to the inherited process. And add a new field (such as Activity1) to replace the system Activity field. Detail steps as below:
Create inherited process
In Process Tab (https://account.visualstudio.com/_admin/_process) -> Create inherited process from system process -> input the name (such as myagile) -> Create.
Change your team project to use inherited process
Click
…
button for the inherited process myagile -> Change team projects to use myagile -> select your team project which you want to use the inherited process -> OK.Add a new field for Task WIT
Click the inherited process (myagile) -> Task -> New field ->cCreate the field Activity1 with picklist(string) type -> add values as system Activity field has (Deployment, Design, Development, Documentation, Requirements and Testing) -> add the new value you want to add (such as MyActivity) -> Layout Tab -> Change the Label as Activity -> Add field.
Replace custom field Activity1 to replace system Activity field
Click …
button for the system Activity field -> Hide from layout -> move the custom Activity1 field to the same position of the system Activity field.
Now you can select the new added value from Activity (Activity1 field) dropdown list.
这篇关于如何向 VSTS 中的任务工作项添加新的活动类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!