Home TFS Adjust process Bug Tempate - Sevirty
Reply: 1

TFS Adjust process Bug Tempate - Sevirty

Greg B Roberts
Greg B Roberts Published in 2018-02-12 06:09:34Z

I am trying to adjust the Bug forms "Severity" to have a new custom field value on creation of "new" (currently it shows 3 of a 1 to 5 choice) however I cant find any specific examples of how to do this , e.g. https://docs.microsoft.com/en-us/vsts/work/customize/add-modify-wit does not go into detail We want to explicitly show that the severity has not explicitly been set yet.

=> Tips or Urls please ?

Below is the default content from a "witadmin exportprocessconfig" command. I am on TFs 2017 up3

<BugWorkItems category="Microsoft.BugCategory" pluralName="Bugs" singularName="Bug">
  <State type="Proposed" value="New" />
  <State type="Proposed" value="Approved" />
  <State type="InProgress" value="Committed" />
  <State type="Complete" value="Done" />

Cece Dong - MSFT
Cece Dong - MSFT Reply to 2018-02-13 02:42:26Z

You need to modify the Bug.xml file to add a new LISTITEM in Severity field rule. Check the example below:

<FieldDefinition name=" refname="Microsoft.VSTS.Common.Severity" type="String" reportable="dimension">
  <DEFAULT from="value" value="3 - Medium" />
  <ALLOWEDVALUES expanditems="true">
    <LISTITEM value="1 - Critical" />
    <LISTITEM value="2 - High" />
    <LISTITEM value="3 - Medium" />
    <LISTITEM value="4 - Low" />
    <LISTITEM value="5 - NewCustom" />
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.311951 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO