Open slandsaw opened 11 years ago
Ok, I have gotten through the above error. I guess one this of note is to make sure that you are running this from a machine that has VS 2012 installed. Oops! :D
The next issue is this:
witadmin.exe : TF212018: Work item tracking schema validation error: TF26177: The field Microsoft.VSTS.Common.Resolution cannot be renamed from 'Resolution - Team Foundation Server Scrum v1_0 Beta' to 'Resolution'. At C:\Tfs2012ProcessUpgrade\Tfs11Upgrade.psm1:694 char:19
- CategoryInfo : NotSpecified: (TF212018: Work ... 'Resolution'. :String) [], RemoteException
- FullyQualifiedErrorId : NativeCommandError
I'm actively working through this now.
I was able to successfully get around the above error by changing the field via witadmin on the command line. Here's the command I used:
witadmin changefield /collection:http://vsalm:8080/tfs/DefaultCollection /n:Microsoft.VSTS.Common.Resolution /name:"Resolution"
The next error that I am getting is this:
witadmin.exe : TF212018: Work item tracking schema validation error: TF26177: The field System.ExternalLinkCount cannot be renamed from 'ExternalLinkCount' to 'External Link Count'. At C:\Tfs2012ProcessUpgrade\Tfs11Upgrade.psm1:694 char:19
- CategoryInfo : NotSpecified: (TF212018: Work ...l Link Count'. :String) [], RemoteException
- FullyQualifiedErrorId : NativeCommandError
I will probably have to following same procedure as above. I'll keep you posted.
The script has successfully completed after running the next few changefield commands:
witadmin changefield /collection:http://vsalm:8080/tfs/DefaultCollection /n:System.ExternalLinkCount /name:"External Link Count" witadmin changefield /collection:http://vsalm:8080/tfs/DefaultCollection /n:System.RelatedLinkCount /name:"Related Link Count" witadmin changefield /collection:http://vsalm:8080/tfs/DefaultCollection /n:System.HyperLinkCount /name:"Hyperlink Count" witadmin changefield /collection:http://vsalm:8080/tfs/DefaultCollection /n:System.AttachedFileCount /name:"Attached File Count"
Now I'm off to see how this is actually functioning. :)
When executing this... .\UpgradeScrum.ps1 -CollectionUri http://vsalm:8080/tfs/DefaultCollection -ProjectName MyProject
Per this article... http://blog.codeassassin.com/2012/08/31/upgrade-visual-studio-scrum-1-0-team-projects-to-version-2-0-on-tfs-2012/
I receive this error:
Update-Tfs11CollectionWorkItemFields : Property 'InstallDir' cannot be found on this object. Make sure that it exists. At C:\Tfs2012ProcessUpgrade\UpgradeScrum.ps1:20 char:5
I'm actively looking through the script files to see if I can find anything.