18

Does anyone have any good resources for working with the TFS 2010 API? I specifically looking at how to create, read, update and delete work items.

MatthewMartin
  • 32,326
  • 33
  • 105
  • 164
Chris Nicol
  • 10,256
  • 7
  • 39
  • 49

2 Answers2

12

Please see the Team Foundation Server 2010 SDK on MSDN Code Gallery. More content will be coming on-line for the RTM release, but you should find enough there to get you started. Contact me know if you have any questions.

Jim Lamb
  • 25,355
  • 6
  • 42
  • 48
  • Thanks Jim, will do. We're just about ready to move all developers to TFS 2010. There's a number of projects we're also going to tie into TFS, it's going to be great! – Chris Nicol Jan 15 '10 at 03:05
9
  • Shai Ratan's blog has a huge wealth of examples. They're 2008 but 99% still relevant.
  • www.tfsexamples.com has 2008 examples, but still relevant
  • WorkItemManager class from a TFS OS project I'm currently working on called Spruce, which is ASP.NET MVC 3 front end for TFS workitems. The class illustrates a large portion of what you need, although no deleting examples. WorkItemSummary in that class is simply a scaled down WorkItem object.
  • BacklogItemHandler from the Scrum Dashboard project on codeplex also has a lot of good examples of how to use the API.
Chris S
  • 64,770
  • 52
  • 221
  • 239
  • 1
    +1 for the links Chris, thanks. Don't suppose you know if/where tfsexamples.com migrated to and if there are any new good resources now TFS2010 has been out a while? Cheers! – Smudge202 Sep 11 '11 at 00:10
  • @Smudge202 what do you need to know? Most of the stuff on that wiki was fairly basic – Chris S May 29 '12 at 20:13
  • WorkItemManager link not working.Can you please suggest an updated one? – Aditya Korti Feb 18 '16 at 10:57