Hi,
How can I add the Root Cause field to the bug.xml file (in order
to customize the bug work item).
I can see the field in the Column Option window, but can't
see it in other work item types (Risk, Task..).
Thanks,
Michael
Hi,
How can I add the Root Cause field to the bug.xml file (in order
to customize the bug work item).
I can see the field in the Column Option window, but can't
see it in other work item types (Risk, Task..).
Thanks,
Michael
How to add the Root Cause field to a Work Item
smith_kbase
You can use the witexport and witimport tools to customize your workitemtypes.
1. Use the WitExport tool to get your current WorkItemType definition.
2. Modify the definition (add the field you want, etc)
3. Import the new definition back into the project using the witimport tool.
Here's the definition of the "Root Cause" field from the current CMMI Bug definition. You can customize this and then add it into your workitem types. You cannot change the Name and the ReferenceName for the field (using the import/export tools). To display this field on the UI, you will also need to change the Workitem type for definition which is in the same file.
<FIELD name="Root Cause" refname="Microsoft.VSTS.CMMI.RootCause" type="String">
<HELPTEXT>Indicates the general area for locating the root cause of the bug</HELPTEXT>
<ALLOWEDVALUES>
<LISTITEM value="Coding Error" />
<LISTITEM value="Design Error" />
<LISTITEM value="Specification Error" />
<LISTITEM value="Communication Error" />
<LISTITEM value="Unknown" />
</ALLOWEDVALUES>
<DEFAULT from="value" value="Unknown" />
</FIELD>
sergio_samayoa
Hi,
I'm using the Agile template.
What should I do
Thanks,
Michael
Kelly S
Where do you want to add the Root Cause field You say to the bug.xml file, but it is already there if you are using a CMMI template.