I have a process which synchronizes requirements and defects between a 3rd party tool and TFS 2010.
We would now like to extend the process a bit further to allow:
- Automatically adding new Area’s and Iterations to a TFS project.
- Automatically adding new values to the list of AllowableValues for drop-down style custom fields.
I’m looking to do it programmatically via the TFS 2010 Client API in a .Net 3.5 class library project.
Is this possible?
To add an area/iteration via code have a look at the sample code from this post
For the list values I’d suggest linking the drop down field to a global list and then updating the global list programmatically as shown in this post