CSV Import to custom attribute enum doesn't quite finish
Accepted answer
For the mapping file, you need to set as below for each value:
<attribute sourceId="Test Phase" targetId="com.xxx.workItem.attribute.testphase">
<value sourceId="UAT" targetId="
com.xxx.workItem.enumeration.testphase.literal.l10"/>
<value sourceId="QA" targetId="
com.xxx.workItem.enumeration.testphase.literal.l8"/>
</attribute>
Comments
Woops! Paste again:
<attribute sourceId="Test Phase" targetId="com.xxx.workItem.attribute.testphase"> <value sourceId="UAT" targetId="com.xxx.workItem.enumeration.testphase.literal.l10"/>
<value sourceId="QA" targetId="com.xxx.workItem.enumeration.testphase.literal.l8"/>
</attribute>
Thanks.
the need for these two custom enum attributes came in after I made the mapping file, and I made some assumptions on the format and processing using the mapping file.
thanks again for helping make this next step successful.
It was a lot easier to make this correction than I expected..
I started an import and told it to create the mapping file..
then edited the mapping, extracted the content for the two variables into my mapping file..
done..
1 vote
Exactly. The "Save Default As ..." link generates the mapping file using your project process configuration, and the "Compute from Data" generate a file using the csv data. You only need to map the IDs and values of the two files.
Comments
sam detweiler
Feb 19 '14, 10:10 a.m.the csv input is tab separated and it does not 'appear' that there are any spurious whitespace chars
sam detweiler
Feb 20 '14, 6:38 a.m.bump to the top.. do I need to engage support? need to have a resolution by Friday night.