none
Customized work item - different behaviour in Visual Studio 2012 and TFS 2012 Team Web Access

    Question

  • Hello, I've a custom WI with.

    I've an Estimate Finish Date field that it's value is being copy from the Planned Finish Date only when once the WI is being created (Only once).

    Since Planned Finish Date Cannot be changed after saving the WI, I've added another hidden field as flag:

    <FieldDefinition name="Copy Finish Date" refname="Qcore.Copy.Finish.Date" type="String">
      <DEFAULT from="value" value="False" />
      <WHENCHANGED field="Planned.Finish.Date">
        <COPY from="value" value="False" />
      </WHENCHANGED>
      <WHENNOTCHANGED field="Planned.Finish.Date">
        <DEFAULT from="value" value="True" />
        <ALLOWEDVALUES expanditems="true">
          <LISTITEM value="True" />
        </ALLOWEDVALUES>
      </WHENNOTCHANGED>
    </FieldDefinition>

    <FieldDefinition name="Estimate Finish Date" refname="Qcore.Estimate.Finish.Date" type="DateTime"> <REQUIRED /> <DEFAULT from="field" field="Planned.Finish.Date" /> <WHEN field="Qcore.Copy.Finish.Date" value="False"> <COPY from="field" field="Planned.Finish.Date" /> </WHEN> </FieldDefinition>


    The problem is that on visual studio 2012 the value is being copy from Planned Finish Date to Estimate Finish Date, while in Web Access it doesn't - How can I resolve it?

    Wednesday, December 11, 2013 3:50 PM

Answers

  • Hi Oren, 

    Thanks for your reply.

    I reproduced this scenario in my TFS 2012, and found the Copy rule cannot copy date time value from other date time field, like the Planned Finish Date field.

    For this scenario, please submit it to Microsoft Connect Feedback portal at: https://connect.microsoft.com/VisualStudio. Microsoft engineers will evaluate them seriously.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, December 13, 2013 4:36 AM

All replies

  • Hi Oren, 

    Thanks for your post.

    You’re using TFS 2012 Update 3? 

    Your Planned.Finish.Date field is the default TFS 2012 work item field? If yes, this field in which of your work item type?

    If Planned.Finish.Date field is a custom field, please share this field’s xml file here too.

    If you have any further research of this issue, please share your experience here.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, December 12, 2013 7:10 AM
  • Hello,

    Thanks for your assistant

    I'm using TFS Update 3.

    The Planned.Finish.Date is a custom field

    <FieldDefinition name="Planned Finish Date" refname="Planned.Finish.Date" type="DateTime" reportable="dimension">
      <DEFAULT from="clock" />
      <REQUIRED />
      <FROZEN />
    </FieldDefinition>

    Let me know if you need more details,

    Thanks

    Thursday, December 12, 2013 10:12 AM
  • Hi Oren, 

    Thanks for your reply.

    I reproduced this scenario in my TFS 2012, and found the Copy rule cannot copy date time value from other date time field, like the Planned Finish Date field.

    For this scenario, please submit it to Microsoft Connect Feedback portal at: https://connect.microsoft.com/VisualStudio. Microsoft engineers will evaluate them seriously.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, December 13, 2013 4:36 AM