tfs2010 - Resolve/Close TFS Scenario only with inactive children / links -
my company uses tfs 2008 msf agile process template. in process of planning upgrade tfs 2010. use scenarios container functional requirements linked development tasks, bugs, etc.
in order save state of scenario 'resolved' or 'closed', enforce development task or bug linked scenario closed. tfs 2008, these links, in tfs 2010 plan use child work items.
i have been reviewing work item type definition schema , msdn documentation, nothing jumping out @ me solution problem.
can done? in advance help!
what want cannot done directly. saving of work item called notification (rather decision). means can tfs api stuff in event after done. cannot block it.
however, there ways "effect" of looking for. if modified template parent work item (i think called scenario) had state control (not field) read make clients don't use normal visual studio controls can change value. (this worked around users, take effort break rules).
but there 1 more step. need parent work item "resolved" somehow. recommend open source tool wrote called tfs aggregator. (or if plan "roll own" use code there starting point.)
you can find tfs aggregatoron codeplex here: http://tfsaggregator.codeplex.com/
it great tool rolling changes , totals parent work items. put in rule when child items "done" move parent "resolved".
edit: realize question have more 1 type of work item child of parent item. tfs aggregator not support right (but may in future). written aggregate tasks bugs or pbis. still, easier modify code of project start scratch.
Comments
Post a Comment