Reputation: 41
In the Work Item type like Bug or Task the start date allows to select any date however we want the Work Item allows the start date to be in the date frame set for a particular Iteration.
how to set such a rule for Work item in TFS?
Upvotes: 1
Views: 274
Reputation: 30372
Unfortunately there isn't such a rule/feature in TFS can achieve that, we can only apply an existing field rule to a work item type, please see Add a rule to a work item type
So as a workaround you can write you own rules using TFS Aggregator just as @Jayendran mentioned.
You can also try another workaround:
Instead of entering the start date, you can auto fill the Start Date
field on some event (eg: when changed the state from "New
" to "Approved
").
For example we first open the work item and assign to Developer. When he is ready start working on the task, he will change WI state from "New
" to "Approved
". In this case the start will pick the current date & time. when he done the development, developer will change the WI state to "Done
", and the end date will pick the current date & time. Thus the work item within the particular iteration, so the actually Start and End date will also between Iteration Dates
Upvotes: 1