views:

17

answers:

2

I wish to add or list items from a global list in TFS 2010 via the TFS SDK.

I have discovered the following methods:

  • XmlDocument WorkItemStore.ExportGlobalLists()
  • void WorkItemStore.ImportGlobalLists(XmlElement listsElement);
  • void WorkItemStore.ImportGlobalLists(string lists);

Which appear to export/import all the global lists as a single Xml document.

Is there any way to just update a single global list (i.e. adding/removing an individual item) as opposed to fetching or replacing the entire set of global lists.

Also, is there any where within the TFS user interface that individual user can make changes to a global list - or is this not something a user is expected to do?

+1  A: 
  1. There is currently no way to add a single item to a global list. You need to Export the entire list, make you changes and then import that list back into TFS.
  2. See Edwalds post for a UI to edit the Global lists
MrHinsh
+1  A: 

The TFS Power Tools (http://visualstudiogallery.msdn.microsoft.com/en-us/3e8c9b68-6e39-4577-b9b7-78489b5cb1da) have a global list editor.

You can start it from the Tools menu

alt text

alt text

Ewald Hofman