I am Using the code below to create a new work item under a certain project programmatically using c# as below:
TfsTeamProjectCollection tfs = new TfsTeamProjectCollection(
TfsTeamProjectCollection.GetFullyQualifiedUriForName("http://tfssssrv:8080/tfs"));
//Get data store that contains all workitems on a particular server
WorkItemStore store = tfs.GetService<WorkItemStore>();
//Get particular Team Project
Project project = store.Projects["MAKAROV"];
I am being able to connect but the tfs.GetService() to get the stores is taking a lot of time to get the Data (around 148 Team Project and 70000 work items). I need to retrieve the Team Project without going through the Store and create the work item under it. i am sure there is another way but can't seem to find it on the internet.