It's all about the answers!

Ask a question

What is the best way to import a custom process configuration?


Daniel Ruebush (9715187) | asked Sep 28 '15, 11:56 a.m.
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

Accepted answer


permanent link
Ralph Schoon (63.1k33645) | answered Sep 28 '15, 12:12 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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.  
Daniel Ruebush selected this answer as the correct answer

Comments
Ralph Schoon commented Sep 28 '15, 2:25 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

PS: consider your naming. You want to import work items from a  CSV file.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.