简体   繁体   中英

WorkitemStore fetch takes too long

i am trying to get a list of all bugs in a collection in TFS programmatic-ally. But the tfs.GetService<WorkItemStore>() takes too long and even after 10 minutes, does not return anything. Is there an underlying issue here that i might be overlooking? There are only about 10 projects in the collection and roughly 600 work items .

 var tfs = TfsTeamProjectCollectionFactory
   .GetTeamProjectCollection(new Uri("http://tfsnpt.someaddress.com:8080/tfs/"));

           tfs.EnsureAuthenticated();

           var workItemStore = tfs.GetService<WorkItemStore>();

Missing the collection from the URL, eg http://tfsnpt.someaddress.com:8080/tfs/DefaultCollection ?

Is the user allowed to read from that Collection?

Is there any proxy configuration to reach the server?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM