Reputation: 40
New TFS admin here. A team has requested that when a work item is copied (bug and requirements), the system and referenceid fields should not be copied (i.e. the fields should be blank for all new items). Any guidance on how to accomplish this? Seems like making the default value empty would work.
Upvotes: 1
Views: 287
Reputation: 14164
DEFAULT
rule should work with some restrictions on Area and Iteration fields.
Work item templates may be a better approach for this.
For example, on transition to the first state (New
, To Do
, etc.) you can force the default values:
<TRANSITIONS>
<TRANSITION from="" to="New">
<FIELDS>
<FIELD refname="System.AssignedTo">
<DEFAULT from="value" value="" />
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.BacklogPriority">
<DEFAULT from="value" value="100" />
</FIELD>
</FIELDS>
</TRANSITION>
Upvotes: 2