Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

create the work item in Specific Iteration path by c#

$
0
0

Hi , 

as of im by below code, im creating working item, but we need to create in specific iteration path.

            Uri collectionUri = new Uri("https://visualstudio/DefaultCollection");
            TfsTeamProjectCollection tpc = new TfsTeamProjectCollection(collectionUri);
            WorkItemStore workItemStore = tpc.GetService<WorkItemStore>();
            Project teamProject = workItemStore.Projects["D"];
            WorkItemType workItemType = teamProject.WorkItemTypes["c"];

but we need to create work item specific iteration path in 'D' like -- D/manage/integartion


Viewing all articles
Browse latest Browse all 6687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>