TFS API Help [Urgent]
Hi!
I would like to create a team project, work item, resource allocation, etc. from my application using TFS API.
But i do not know where to start? I found Microsoft.TeamFoundation, Microsoft.TeamFoundation.Client, Microsoft.TeamFoundation.Proxy.Portal provides APIs for all the above functionalities. But it is very difficult to me to understand the usages of these APIs.
Please do the needful asap.
Regards,
Sheik
[840 byte] By [
udooz] at [2007-12-22]
Hi!
Thanks for your reply.
But i've already crossed these stages. What i want is,
Create a team project programmatically and assign my custom process template to it?
I used ICommonStructureService.CreateProject() method and created project also. But i cannot assign a process template to it. And these projects does not display in my VS2005's Team Explorer.
Regards,
udooz
Hi Luis Fraile!
Hmmmm, last one month i am doing like this and created lot of pilot projects also.
Really i'm waiting for full documentation.
Regards,
udooz
There is no simple programmatic way to create a project. Project creation is done via a set of plugins that are on the client. Each plugin is responsible for creating/configuring a portion of a project. The first step you took (ICommonStructureService.CreateProject) is one of the first things that happens, then another plugin creates groups, another plugin creates work item types, queries, and the initial set of work items, etc. While all of this is available publicly thru the various web services there isn't a single API to create a new project based on a process template.
-Dennis
Creating projects is not supported, for the moment, via API, because it needs a lot of user interaction, notice that you can even extend the process of creating projhects with your own plugins.