如何在VSTS中的“任务"工作项中添加新的“活动"类型 [英] How to add a new Activity type to the Task work item in VSTS
问题描述
是否可以在VSTS中的任务"工作项上添加新的活动"类型,如果可以,该如何做?谢谢!
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!
推荐答案
对于VSTS,您无法在系统进程(敏捷,Scrum和CMMI)中更改系统字段(例如活动").
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.
就像您正在使用敏捷系统流程一样,您可以从敏捷创建一个继承的流程(myagile),然后将您的团队项目更改为继承的流程.并添加一个新字段(例如Activity1)以替换系统的Activity字段.详细步骤如下:
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
在流程"标签中( https://account.visualstudio.com/_admin/_process )->从系统进程创建继承的进程->输入名称(例如myagile)->创建.
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
单击…
按钮以继承过程myagile->将团队项目更改为使用myagile->选择要使用继承过程的团队项目->确定.
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.
为Task WIT添加新字段
Add a new field for Task WIT
单击继承的进程(myagile)->任务->新建字段-> c使用选择列表(字符串)类型创建字段Activity1->将值添加为系统活动字段具有的值(部署,设计,开发,文档,需求和测试) )->添加要添加的新值(例如MyActivity)->布局标签->将标签更改为活动->添加字段.
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.
替换自定义字段Activity1来替换系统的Activity字段
Replace custom field Activity1 to replace system Activity field
单击系统活动字段的…
按钮->从布局中隐藏->将自定义活动1字段移至系统活动字段的相同位置.
Click …
button for the system Activity field -> Hide from layout -> move the custom Activity1 field to the same position of the system Activity field.
现在,您可以从活动"(活动1"字段)下拉列表中选择新添加的值.
Now you can select the new added value from Activity (Activity1 field) dropdown list.
这篇关于如何在VSTS中的“任务"工作项中添加新的“活动"类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!