質問

We have introduced a "Code review" state for tasks, between "In progress" and "Done". When moving from "In progress" to "Code review" we would like to clear/unassign System.AssignedTo but I can't figure out how. Does anyone know where to put the logic in the WIT xml and what it should look like?

Thanks, Mansos

役に立ちましたか?

解決

Open your schema in an XML editor. Go down to the <TRANSITIONS> part and add

<TRANSITION from="In Progress" to="Code Review">
   <FIELDS>
      <FIELD name="Assigned To">
         <EMPTY />
      </FIELD>
   <FIELDS>
</TRANSITION>

Make sure you don't have any <REQUIRED> for that field anywhere in the definition (there are a number of ways you can have that rule).

For reference, see http://msdn.microsoft.com/en-us/library/aa337653%28v=vs.80%29.aspx

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top