Bug Work Item Customization Error

Hi,

After the customization of the bug work item I'm getting the following error on each check in with an associated bug work item:

Failed to update the following work item:
ID 58: Reason: TF26201: This work item has unsupported fields, or user does not have permissions.”

I added 3 new fields with Process Template Editor tool:

Name: Steps to Reproduce;
Type: Plain Text;
Ref Name: Primavera.VSTS.SC.StepsReproduce;

Name: Observed Behaviour;
Type: Plain Text;
Ref Name: Primavera.VSTS.SC.ObservedBehaviour;

Name: Expected Behaviour;
Type: Plain Text;
Ref Name: Primavera.VSTS.SC.ExpectedBehaviour;

Rule (for the 3 new fields):
Required for [Global]\Team Foundation Valid Users

All the data on new fields is saved. I am a member of group “Team Foundation Administrators”. I’m missing something?

Thanks.

[1431 byte] By [PatricioFernandes] at [2007-12-19]
# 1

You have added three new required fields to the WI Type. The code behind the check-in dialog does not know how to fill in the custom required fields and ends up getting the error you see when attempting to edit the WIs. The easiest way to fix the problem is to supply default initial values for the fields in your WI Type definition:

<DEFAULT from="value" value="" />

BillEssaryMSFT at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 2
Hi Bill, the problem was fixed with your suggestion.

Thanks.

PatricioFernandes at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 3

Hi, I found the same problem with a new WI Type I defined based on the Task. I defined a list of states and a workflow between states and I get the error message only with one transition. It seems to work fine with every other transition.

?Is there a way to find out which field is generating the error? I haven't defined custom fields.

Thanks a lot.

Andres

aorozcoc at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 4
There is the right solution..
Thanks Mr Deve..!
http://blog.davidyack.com/archive/2006/08/22/4994.aspx

Sudheer_CV at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...

Visual Studio Team System

Site Classified