HOWTO: Customize the Bug that Team Build creates on Failure

When a Daily Build fails, Team Build creates a "Bug" in the Work Items list.

We have customized the "Bug" Work Item Type Definition and added several additional <REQUIRED/> fields. 

Is there a way to customize the way Team Build creates the Bug so that it can populate the new <REQUIRED/> fields

Joe.




Answer this question

HOWTO: Customize the Bug that Team Build creates on Failure

  • pkane

    Thanks Anutthara!

    That's exactly what I was looking for!

    Joe.



  • NewToVB

    Hi Joe - You can do this by setting the required field values in the WorkItemFieldValues tag in the TeamBuild.proj file associated wiht each build type. For instance, in order to set fields priority and severity we need to set the following:

    <WorkItemFieldValues>Priority=1;Severity=1</WorkItemFieldValues>

    Hope that helps. Thanks!

  • maxoudu328

    Here is a great resource with detailed info about customizing the workitem created on build failure - http://blogs.msdn.com/manishagarwal/archive/2005/10/21/483403.aspx 

  • Paymon

    Joe - This does not work on the Beta2 bits, but will work on the soon to be released beta 3 bits. Sorry about that mistake.

  • HOWTO: Customize the Bug that Team Build creates on Failure