TFS 2018 Update 2: Transition Fields Not Working Properly

  • Thread starter Thread starter The Provost
  • Start date Start date
T

The Provost

Guest
  1. I created two custom states in my TFS flow. (For Feedback and Assigned).
  2. I created two custom fields that will hold the date once it is transitioned to the state (Feedback Date and Assigned Date)
  3. During transition to a phase, I have set the value of the current serverclock to the mapped field.

<FIELD name="Assigned Date" refname="CustomFields.Groundup.Workitem.AssignedDate" type="DateTime" reportable="dimension" />
<FIELD name="Feedback Date" refname="CustomFields.Groundup.Workitem.FeedbackDate" type="DateTime" reportable="dimension" />

<STATE value="Assigned">
</STATE>

<STATE value="For Feedback">
</STATE>

<TRANSITION from="For Feedback" to="Assigned">
<REASONS>
<DEFAULTREASON value="Assigned" />
</REASONS>
<FIELDS>
<FIELD refname="CustomFields.Groundup.Workitem.AssignedDate">
<SERVERDEFAULT from="clock" />
</FIELD>
</FIELDS>
</TRANSITION>

<TRANSITION from="Assigned" to="For Feedback">
<REASONS>
<DEFAULTREASON value="For Feedback" />
</REASONS>
<FIELDS>
<FIELD refname="CustomFields.Groundup.Workitem.FeedbackDate">
<SERVERDEFAULT from="clock" />
</FIELD>
</FIELDS>
</TRANSITION>


Both dates (Assigned and Feedback date are updated for both transitions). Can someone push me to the right direction why it behaves this way and how to work around it.

Currently using TFS 2018 Update 2 On Prem

Continue reading...
 
Back
Top