Trying to import from custom type xyz to story is instead importing as defect
Hi,
I am trying to import custom type XYZ from one project area to another project with type Story. However importing process runs successfully but the work item types are getting created as Defects instead of story.
My custom mapping sheet has attribute as below.
<attribute sourceId="Type" targetId="Type">
<value sourceId="XYZ" targetId="Story"/>
I also tried by giving ID
<attribute sourceId="Type" targetId="Type">
<value sourceId="com.fmr.ffas.workitem.xyz" targetId="com.ibm.team.apt.workItemType.story"/>
I am not sure how the work items are getting imported as defect, even though not defined in the mapping sheet.
Thanks
One answer
I would suggest to look up the type ID's and set them. Also use a test system to develop your mapping files.
Comments
The values would look like:
<attribute sourceId="com.ibm.team.workitem.attribute.workitemtype" targetId="com.ibm.team.workitem.attribute.workitemtype">
<value sourceId="com.fmr.ffas.workitem.xyz" targetId="com.ibm.team.apt.workItemType.story"/>
I think - I have no test system just yet. It is a good idea to let RTC generate a test mapping XML.