DCSIMG
WorkItem Tracking,TFS API - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

Browse by Tags

All Tags » WorkItem Tracking » TFS API (RSS)
TFS API Part 48 – WorkItemControl And Bypass Work Item Rules
It’s been a while since I wrote about TFS API, not because there is no more about it is because I worked on Windows Store for the past couple of months so I didn’t had the time. More About TFS API So today post will be about two changes in TFS 2012, the first one is WorkItemControl based on WPF that replaced the WorkItemFormControl based on WinForms, the second will be about WorkItemStore bypass rule – Allowing you to save and change work item values without obeying the work item rules. Download...
How To Change TFS 2010 Attachment Size
CodeProject Here is a post from 2008 on how to change attachment size in TFS 2008 , the same concept is available in 2010 but there is a small confusion about 2010. Many people had problems changing the attachment size in TFS 2010 using the same web service because the following error: 500 Internal Server Error There where people who changes the attachment size using code: TeamFoundationServer tfs = TeamFoundationServerFactory .GetServer( @"yourtfsserver/.../DefaultCollection" ); ITeamFoundationRegistry...
TFS API Index Parts 1 To 37
Since 2009 I ‘m writing about TFS API and several people asked to get an index page with all parts related to TFS API, so here is it: Basic TFS API Part 1: Domain Picker TFS API Part 2: Domain Picker Using Registered Servers (Cache) TFS API Part 3: Get Project List Using ICommonStructureService TFS API Part 4: Get TFS User List (Mail, Sid, Account, Domain) TFS API Part 7: Use IEventService To Get User Event Subscriptions TFS API Part 8: Subscribe/Unsubscribe Events Using IEventService TFS API Part...
TFS API Part 31 – Working With Queries – Part 2
TFS API Part 31 – Working With Queries – Part 2 In my last post TFS API Part 30 – Working With Queries I demonstrate a simple API example for getting Queries from TFS 2010, in this sample I’ll show how to run Queries and display the results, Deleting and Creating new Folder using TFS API. Download Demo Project Step 1: Add Results Using WorkItemStore object and call the Query method you can set the results directly to DataGrid. void item_MouseDoubleClick( object sender, MouseButtonEventArgs e) {    ...
TFS API Part 30 – Working With Queries
TFS API Part 30 – Working With Queries TFS 2010 comes with new abilities for Queries that allows you to define Hierarchy and Direct Links (Read More - Work Item Relations (Visual) ). This is the first post on that subject and this will show how to interact with TFS 2010 Queries – Filter, View and Create New using TFS 2010 API. Download Demo Project Step 1: Create Project and Add Reference Create an WPF/WinForm application and add the following references: using Microsoft.TeamFoundation.Client; using...
TFS API Part 24 – Get All Fields From TFS
TFS API Part 24 – Get All Fields From TFS I got an email regarding previous post ( TFS API Part 6: WorkItemStore - Get Fields From WorkItemType ) how to get Fields without regard to Work Item Type? This is very easy using Team System API. Download Demo Project Step 1: Create Project and Add Reference Create an WPF/WinForm application and add the following references:      Microsoft.TeamFoundation.WorkItemTracking.Client.dll (C:\Program Files (x86)\Microsoft Visual Studio 10.0...
TFS API Part 23 – Create Global List (Xml Way)
TFS API Part 23 – Create Global List (Xml Way) Download Demo Project Step 1: Create Project and Add Reference Create an WPF/WinForm application and add the following references:      Microsoft.TeamFoundation.WorkItemTracking.Client.dll (C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.WorkItemTracking.Client.dll)      Microsoft.TeamFoundation.Client.dll (C:\Program Files (x86)\Microsoft Visual...
TFS API Summary & My #200 Post
TFS API Summary & My #200 Post It’s been 4 months, 3 weeks(143 days) since my ..::: My #100 Post :::… and still having fun blogging in this great community. A month ago (12/01/09) I’ve stated posting about TFS API. In one month I had more then 450 downloads of my TFS API demos and over 3500 views. Also I got many email regarding TFS API problems, I can clearly say that knowledge in this area is needed! So be sure that I’ll keep posting about TFS API ! Here is a list of the last 15 posts on TFS...
TFS API Part 8: Subscribe/Unsubscribe Events Using IEventService
TFS API Part 8: Subscribe/Unsubscribe Events Using IEventService In the last post I wrote about TFS API Part 7: Use IEventService To Get User Event Subscriptions . In this post I’ll show you have to user IEventService to Subscribe new Events and Unsubscribe existingEvents. First add reference for Microsoft.TeamFoundation, Microsoft.TeamFoundation.Client, Microsoft.TeamFoundation.Common.dll,Microsoft.TeamFoundation.WorkItemTracking.Client.dll located in - C:\Program Files\Microsoft Visual Studio 9...