문제

I'll start with I'm new to customizing TFS and my TFS team project is a 99% vanilla template of Microsoft Visual Studio Scrum 2013. So I think my issue might be obvious to someone. I'm also using VS PowerTools.

In a Scrum Task, when you change the status from To Do to Done, it defaults the Reason to "Work finished". I'd like to be able to select alternative reasons, so I went to the transition from To Do->Done and added a new reason called "Obsolete", then saved it back to the server. I've verified it shows up in the XML, etc.

Work Item Type Workflow Screenshot

When I change from To Do->Done, the reason is still greyed out and defaults to "Work finished"?

Scrum WIT

I created a new team project with the Agile 2013 template, and when you change the status from New->Closed you get the option to change the Reason to "Completed/Obsolete/Deferred/Cut". This is the basic functionality I was trying to mimic.

Agile WIT

I don't see any unusual rules on any of the fields?

도움이 되었습니까?

해결책

If you check out the XML for the form display you will see:

<Control FieldName="System.Reason" Type="FieldControl" Label="Reason" LabelPosition="Left" ReadOnly="True" />

If you change "Readonly='True'" to "Readonly='False'" you will get a pick-list when you change state.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top