Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to add a new work item State & Triage to all/bug work items. I searched Google but can't find anything useful if anyone knows how to do it please let me know.

I know it has something to do with the process template but I can't find the area where I can add these two pieces of information?

Any Help would be appreciated!

Thanks!

share|improve this question

1 Answer 1

up vote 1 down vote accepted

First you need to export the work item template from Team Foundation Server. To do this start Visual Studio command line and enter this command:

witexport /f "File Path\task.xml" /t "TFS name" /p WITLab /n Bug

Now you have the Work Item definition on you local machine. Open the file in your favorite XML editor and find this location in the file:

<FIELD name="Triage" refname="Microsoft.VSTS.Common.Triage" type="String" reportable="dimension">
  <HELPTEXT>Status of triaging the bug</HELPTEXT>
  <ALLOWEDVALUES expanditems="true">
    <LISTITEM value="Approved" />
    <LISTITEM value="Investigate" />
  </ALLOWEDVALUES>
</FIELD>

This is the Triage section for the Bug Work Item. This is where you need to add the new sections that we need.

<FIELD name="Triage" refname="Microsoft.VSTS.Common.Triage" type="String" reportable="dimension">
  <HELPTEXT>Status of triaging the bug</HELPTEXT>
  <ALLOWEDVALUES expanditems="true">
    <LISTITEM value="Approved" />
    <LISTITEM value="Investigate" />
    <LISTITEM value="Differed" />
    <LISTITEM value="No Plans To Resolve" />
  </ALLOWEDVALUES>
</FIELD>

Save the file and exit the editor. Now you need to upload the definition back to Team Fundation Server so that it can be used by your team. Open Visual Studio command line and enter this import command:

witimport /f "File Path\specialtask.xml" /t "TFS name" /p WITLab

When import is done you can use your work item in your project.

Hope this helps!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.