tfs - Work Item Template: On closing a task validate that the Remaining Field is Zero or Empty -


in tfs (2014) wanting update wit template when change task "active" "closed" check "remaining" field has been changed 0 (or empty) , there value in completed of either 0 or above.

is there way have validation giving message such "please update remaining field before saving"?

i'm assuming needs changing in section

<transition from="active" to="closed">   <reasons>     <defaultreason value="completed" />     <reason value="deferred" />     <reason value="obsolete" />     <reason value="cut" />   </reasons>   <fields>     <field refname="microsoft.vsts.common.activateddate">       <readonly />     </field>     <field refname="microsoft.vsts.common.activatedby">       <allowexistingvalue />       <readonly />     </field>     <field refname="microsoft.vsts.common.closeddate">       <serverdefault from="clock" />     </field>     <field refname="microsoft.vsts.common.closedby">       <allowexistingvalue />       <copy from="currentuser" />       <validuser />       <required />     </field>   </fields> </transition> 

note: dont want automatically change value 0 / empty article tfs2012 task work item definition - update 'remaining work' 'original estimate' whenever 'remaining work' empty


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -