How to add a new Activity type to the Task work it

2019-03-02 13:47发布

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!

1条回答
劳资没心,怎么记你
2楼-- · 2019-03-02 14:05

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:

  1. 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.

    enter image description here

  2. 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.

    enter image description here

  3. 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.

    enter image description here

  4. 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.

enter image description here

enter image description here

Now you can select the new added value from Activity (Activity1 field) dropdown list.

enter image description here

查看更多
登录 后发表回答