user3329073
user3329073

Reputation: 141

How to add a new Activity type to the Task work item in 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!

Upvotes: 7

Views: 20861

Answers (2)

Joakim Höglund
Joakim Höglund

Reputation: 111

To add activities that is also available in the Work Details page and Sprint capacity view you need to go to the Process used by the Project (Make sure you have a Process that is editable for the project) and edit a work item type that use the activity field.

You can then edit the work item field and add values to the pick list

Edit work item activity picklist

Upvotes: 11

Marina Liu
Marina Liu

Reputation: 38106

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

Upvotes: 2

Related Questions