I’m currently working on a custom process template to use with TFS2010. I want to impose some restrictions on my work items. I have a ‘Task’ work item that will start in the ‘To Do’ state when created. When transitioning to the next state ‘In Progress’ I have it specified that the field ‘Original Estimate’ is required. So far so good.
To expand on this, I want to make the field readonly when it is in the ‘In Progress’ state but allowing it to be editable when doing the transition. Currently, when I set readonly for that field on the ‘In Progress’ state I am unable to then enter a value. The only it would work is to enter the value in the ‘To Do’ state, save and then transition. I would like to avoid that interim save step if possible.
Any help is much appreciated.
You can’t succeed because you setting the readonly field constraint in a state and not in a transition to a state.
Put your readonly constraint in the ‘in progress’ state, but not in the transition(s) from ‘to do’ to ‘in progress’.
In the process template edition right click on the transition box, then select properties (IIRC), you’ll be in a familiar place.