I've just performed a successful upgrade from TFS2010 to TFS2013 in a UAT environment. The drive for this was to make use of the SCRUM template. However all the projects migrated are using the Agile template which was the default at the time they were created in 2010. My research into this has lead me to believe that they cannot be changed in-situ. Instead it would seem I need to create a new project and then migrate the code history over? I'm getting stuck here about how to go about this.
Can this be confirmed? Ideally all I want to-do is change the template, I only care about the code check-in history in the current projects.
The other option I've found is to use the TFS Integration Tools. But I don't believe this supports TFS2013. It errors on install asking for Team Explorer 2010,2008.
Can anyone assist in where I am going wrong?
Thanks
Thanks to timB33 for pointing me in the right direction.
To solve this I modified the script found here.
set pt=C:\Microsoft Visual Studio Scrum 2013\
set tpc=http://servername:8080/tfs/DefaultCollection
set tp=MyAgileTP
REM #1 Do Renames
witadmin renamewitd /collection:%tpc% /p:%tp% /n:"User Story" /new:"Product Backlog Item" /noprompt
witadmin renamewitd /collection:%tpc% /p:%tp% /n:"Issue" /new:"Impediment" /noprompt
REM #2 Apply new Template
witadmin importwitd /collection:%tpc% /p:%tp% /f:"%pt%WorkItem Tracking\TypeDefinitions\Bug.xml"
witadmin importwitd /collection:%tpc% /p:%tp% /f:"%pt%WorkItem Tracking\TypeDefinitions\CodeReviewRequest.xml"
witadmin importwitd /collection:%tpc% /p:%tp% /f:"%pt%WorkItem Tracking\TypeDefinitions\CodeReviewResponse.xml"
witadmin importwitd /collection:%tpc% /p:%tp% /f:"%pt%WorkItem Tracking\TypeDefinitions\FeedbackRequest.xml"
witadmin importwitd /collection:%tpc% /p:%tp% /f:"%pt%WorkItem Tracking\TypeDefinitions\FeedbackResponse.xml"
witadmin importwitd /collection:%tpc% /p:%tp% /f:"%pt%WorkItem Tracking\TypeDefinitions\Impediment.xml"
witadmin importwitd /collection:%tpc% /p:%tp% /f:"%pt%WorkItem Tracking\TypeDefinitions\ProductBacklogItem.xml"
witadmin importwitd /collection:%tpc% /p:%tp% /f:"%pt%WorkItem Tracking\TypeDefinitions\SharedStep.xml"
witadmin importwitd /collection:%tpc% /p:%tp% /f:"%pt%WorkItem Tracking\TypeDefinitions\Task.xml"
witadmin importwitd /collection:%tpc% /p:%tp% /f:"%pt%WorkItem Tracking\TypeDefinitions\TestCase.xml"
witadmin importwitd /collection:%tpc% /p:%tp% /f:"%pt%WorkItem Tracking\TypeDefinitions\Feature.xml"
REM #3 Import Link Types just in case coming from 2008
witadmin importlinktype /collection:%tpc% /f:"%pt%WorkItem Tracking\LinkTypes\SharedStep.xml"
witadmin importlinktype /collection:%tpc% /f:"%pt%WorkItem Tracking\LinkTypes\TestedBy.xml"
REM #4 Import Categories
witadmin importcategories /collection:%tpc% /p:%tp% /f:"%pt%WorkItem Tracking\categories.xml"
REM #5 Import ProcessConfig
witadmin importprocessconfig /collection:%tpc% /p:%tp% /f:"%pt%WorkItem Tracking\Process\ProcessConfiguration.xml"
I ran this (pointing it at the downloaded template see the first pt variable) and I was then able to use all the SCRUM process template functionality. I haven't fully tested this yet but it seems like a winner. As my other option was to migrate the version control to another Team project but the limitation here was I lost all my version control timestamp history. Just didn't feel like the way to go. Hope this helps others.
Thanks,
You can update the templates in-situ via (a witadmin script or) the tfs powertools plugin, this will let you export a SCRUM work item's template and then import it to your existing project, thus overwriting its WIT.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With