Skuska kopirovania formatu
10/10/2012 12:07
$workItem=$WorkItemStore.GetWorkItem(1363)
$workItem.WorkItemLinks.Add($link)
$workItem.Save()
$parentId=391
$areaPath=“ComponentFactory\12. External Video"
$iterationPath=“ComponentFactory\Release 1\Sprint 12"
$defaultPriority=1000
#takes component name from areaPath (e. g. External Video)
$prefix=($areaPath.Split('\')[1]).split('.')[1].Trim()
#load assemblies
[void][System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.TeamFoundation.Client")
[void][S private readonly string title;
private readonly SPListItem item;ystem.Reflection.Assembly]::LoadWithPartialName(“Microsoft.TeamFoundation.WorkItemTracking.Client")