CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of WorkItemTracking
C#
using Microsoft.TeamFoundation.VersionControl.Client;
using Microsoft.TeamFoundation.WorkItemTracking.Client;
 
// create a new work item linked to an existing item in version control
static void CreateLinkedWorkItem(String teamProject, String workItemType)
{
    using (var tfs = TeamFoundationServerFactory.GetServer(_ServerUri))
    {
        var workItemStore = (WorkItemStore)tfs.GetService(typeof(WorkItemStore));
 
by Jim Lamb   October 29, 2009 @ 8:01pm
397 Views
no comments
 
C#
using Microsoft.TeamFoundation.WorkItemTracking.Client;
 
// populate a TreeView with the work item queries for a particular team project
treeView.Nodes.Clear();
 
foreach (QueryItem queryItem in teamProject.QueryHierarchy)
{
    GetNodesForQueryFolder(queryItem as QueryFolder, treeQueryView.Nodes);
}
 
by Jim Lamb   October 29, 2009 @ 7:55pm
262 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate