I would like to do exactly what is being proposed in this question, but instead of VSTS, I\'d like to do it in on a On-Premise TFS(2018):
\"Is it possible
Try below ways to achieve that:
Export the specific work item type definition file (Task
in your scenario). Run command prompt with administrator, if you are
using VS 2017, then cd C:\Program Files (x86)\Microsoft Visual
Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team
Explorer
witadmin exportwitd /collection:http://server:8080/tfs/DefaultCollection /p:ProjectName
/f:C:\temp\MyTask.xml /n:Task
Edit the exported WIT definition file (xml
) with text editor, add a new Activity Type (e.g.: TestActivity0727
in below
sample)
like below:
Save the file and import to TFS with witadmin
command:
witadmin importwitd /collection:http://server:8080/tfs/DefaultCollection /p:ProjectName
/f:C:\temp\MyTask.xml /n:Task
Task
work item.For VS 2017, install the extension TFS Process Template Editor
For VS 2015, just install Microsoft Visual Studio Team Foundation Server 2015 Power Tools