What is the best way to import a custom process configuration?
Hi All,
We have a highly customized project process configuration, I may not import the csv file directly, but it was suggested that I need to use a custom mapping
file. For the detail instruction of using the mapping file, please
refer to the document:
http://www-01.ibm.com/support/knowledgecenter/SSYMRC_5.0.2/com.ibm.team.workitem.doc/topics/t_importing_work_items_csv_file.html?lang=en
Then I should be able to use the xml file as the mapping file during the import.
I think this will take lot of time do it manually one by one.
Here is the solution I want to propose and let me know if this would work:
1. I will create a new export template, by exporting a SCR type work item.
2. Give this new template to the system test team and askvthem to populate the data in this new template
3. Then, will I be able to directly import the new template with data?
This would make it a lot easier as we are seeing only 5-6 workitems, but totally I have 1000+ workitems
Also:
1. How can we import attachments?
2. If there is no value in the csv for a required field, what happens?
3. Can comments be imported in from csv?
4. If the value in csv is not matching with value in drop
We have a highly customized project process configuration, I may not import the csv file directly, but it was suggested that I need to use a custom mapping
file. For the detail instruction of using the mapping file, please
refer to the document:
http://www-01.ibm.com/support/knowledgecenter/SSYMRC_5.0.2/com.ibm.team.workitem.doc/topics/t_importing_work_items_csv_file.html?lang=en
Then I should be able to use the xml file as the mapping file during the import.
I think this will take lot of time do it manually one by one.
Here is the solution I want to propose and let me know if this would work:
1. I will create a new export template, by exporting a SCR type work item.
2. Give this new template to the system test team and askvthem to populate the data in this new template
3. Then, will I be able to directly import the new template with data?
This would make it a lot easier as we are seeing only 5-6 workitems, but totally I have 1000+ workitems
Also:
1. How can we import attachments?
2. If there is no value in the csv for a required field, what happens?
3. Can comments be imported in from csv?
4. If the value in csv is not matching with value in drop
Accepted answer
You have to create the mapping file in the wizard. You can use a small query to create the mapping file.
Then you have to fill the mapping file with the value mappings, where needed - where there are differences in the source and the target process.
I would test the import in a test system, until you are satisfied with the result.
If you have required attributes and there is no value in the source, the work item won't import. One solution is to disable the required attributes during the import.
If the values don't map, the value will not be imported. This is important especially for team area values, categories, iterations, releases.
You can't import work item attachments. I did some work https://rsjazz.wordpress.com/2012/09/21/downloading-attachments-from-work-items/ and https://rsjazz.wordpress.com/2012/08/01/uploading-attachments-to-work-items/ that would be a entry point for a solution.
I have created my own importer based on https://rsjazz.wordpress.com/2015/02/27/a-rtc-workitem-command-line-version-2-2/ that can export and import attachments, but it is not really tested enough to publish.
Then you have to fill the mapping file with the value mappings, where needed - where there are differences in the source and the target process.
I would test the import in a test system, until you are satisfied with the result.
If you have required attributes and there is no value in the source, the work item won't import. One solution is to disable the required attributes during the import.
If the values don't map, the value will not be imported. This is important especially for team area values, categories, iterations, releases.
You can't import work item attachments. I did some work https://rsjazz.wordpress.com/2012/09/21/downloading-attachments-from-work-items/ and https://rsjazz.wordpress.com/2012/08/01/uploading-attachments-to-work-items/ that would be a entry point for a solution.
I have created my own importer based on https://rsjazz.wordpress.com/2015/02/27/a-rtc-workitem-command-line-version-2-2/ that can export and import attachments, but it is not really tested enough to publish.