Upgrading scrum template as RTC version is upgraded
Our project area was created in RTC 3.0. RTC server was eventually upgraded to 4.0, then 5.0 and now 6.0. We find there are a lot of differences in the new scrum template in RTC 6. But our existing project area scrum template is still the old 3.0 version. Now we need to migrate to another RTC 6 server, but are unable to do so as the scrum templates do not match and workitem mapping is failing. Is there any way to upgrade the old project area scrum templates to the latest RTC version?
2 answers
We tried doing a manual change in the source project configuration to match the target workitem mapping.
Ex -
1. <configuration-data final="false" id="com.ibm.team.workitem.configuration.workItemTypes" xmlns="http://com.ibm.team.workitem/workitemTypes">
<type category="com.ibm.team.workitem.workItemType" icon="processattachment:/workitemtype/bug.gif" id="defect" name="Defect">
<alias name="bug"/>
</type>
changed to
<configuration-data final="false" id="com.ibm.team.workitem.configuration.workItemTypes" xmlns="http://com.ibm.team.workitem/workitemTypes">
<type category="com.ibm.team.workitem.workitemType.defect" icon="processattachment:/workitemtype/bug.gif" id="com.ibm.team.workitem.workitemType.defect" name="Defect">
<alias name="bug"/>
</type>
2. <configuration-data final="false" id="com.ibm.team.workitem.configuration.workflowBinding" xmlns="http://com.ibm.team.workitem/workflowBinding">
<workItemCategoryBinding workItemCategoryId="com.ibm.team.workitem.workItemType" workflowId="com.ibm.team.workitem.defectWorkflow"/>
changed to
<configuration-data xmlns="http://com.ibm.team.workitem/workflowBinding" final="true" id="com.ibm.team.workitem.configuration.workflowBinding">
<workItemCategoryBinding workItemCategoryId="com.ibm.team.workitem.workitemType.defect" workflowId="com.ibm.team.workitem.defectWorkflow"/>
and so on..
All places we changed the defect category id to com.ibm.team.workitem.workitemType.defect, but it messed our existing workflow state which had a customized review state added. Instead of showing proper state name -"In Review" the state was being shown as '2'.
The other bigger problem we have is when we use the Copy Workitems.. plugin from https://github.com/sharoons/Copy-Work-Items, it is giving error when trying to map workitem type for defects.
Comments
The closest help I can find for this doesn't seem too helpful..
Migrating a project to a different process template
https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.jazz.platform.doc%2Ftopics%2Ft_migrate_dif_process.html
Here is a previous question which suggests to take an XML diff of each template and figure out what the differences and apply manually. I think it will be a very tricky process. See Sam's update.
https://jazz.net/forum/questions/81568/howto-upgrade-a-process-template-from-v3-to-v4
There is a RFE asking to make this update of process templates to later versions possible:
https://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.viewWorkItem&id=205505