CSV Work Item importer does not work for enumeration list
I am using RTC 4.0 and found that the CSV Work Item importer does not work for enumeration list.
steps I used:
1. create a new project with fpm template, e.g. fpm1
2. create an enumeration, e.g. myenum1, with assign values
3. create new attribute for defect with type enumeration list, e.g. myMulti1, pointing to enumeration myenum1
4. in editor presentation, add presentation for myMulti1, with kind "Checkbox enumeration list"
5. create a defect workitem, e.g. defect1, with select values for myMulti1
6. make a query with result includes defect1, e.g. myQuery1. in "column display", make sure select attribute myMulti1
7. in Eclipse client, use File > Export > Team > Workitems, select myQuery1, and export as a csv file, e.g. myQuery1.csv
reproduce:
8. in Eclipse client, use File > Import > Team > Work items from csv, select the csv file
select project area: fpm1, and choose "Create a new workitem"
9. check the CSV file, the values for myMulti1 is there
Result:
a new defect workitem been created, but no value set for attribute myMulti1
Expecting:
the myMulti1 is set as value showed in csv file
is this a defect?
steps I used:
1. create a new project with fpm template, e.g. fpm1
2. create an enumeration, e.g. myenum1, with assign values
3. create new attribute for defect with type enumeration list, e.g. myMulti1, pointing to enumeration myenum1
4. in editor presentation, add presentation for myMulti1, with kind "Checkbox enumeration list"
5. create a defect workitem, e.g. defect1, with select values for myMulti1
6. make a query with result includes defect1, e.g. myQuery1. in "column display", make sure select attribute myMulti1
7. in Eclipse client, use File > Export > Team > Workitems, select myQuery1, and export as a csv file, e.g. myQuery1.csv
reproduce:
8. in Eclipse client, use File > Import > Team > Work items from csv, select the csv file
select project area: fpm1, and choose "Create a new workitem"
9. check the CSV file, the values for myMulti1 is there
Result:
a new defect workitem been created, but no value set for attribute myMulti1
Expecting:
the myMulti1 is set as value showed in csv file
is this a defect?
One answer
no - this is a as designed behavior and a limitation in the CSV Importer at 4.0 level (unable to handle enum list type)
and has been addressed with enhancement CSV Importer - ability to handle enumeration list type (220632)
which was implemented in RTC 4.0.1
and has been addressed with enhancement CSV Importer - ability to handle enumeration list type (220632)
which was implemented in RTC 4.0.1