Microsoft

Sample Code: Refactoring to Handle Different Types of Work Items

May 6, 2010Allen Clark
Sample Code: Refactoring to Handle Different Types of Work Items
SummaryAI, from the source post

This post provides sample code for interacting with Team Foundation Server (TFS) to retrieve and display work item hierarchies, specifically focusing on 'User Story' work items and their estimates. It demonstrates how to connect to TFS, query for work item links, and recursively print the tree structure. The samples are refactored to handle customizations in work item types and estimation fields, including using XML configuration to specify estimation fields per project. It also shows how to use work item categories to generalize for different work item types like 'Requirements'.

More from the Process Customization REST APIs trail