It's all about the answers!

Ask a question

Trying to import from custom type xyz to story is instead importing as defect


Rashmi B (19426) | asked Oct 10 '16, 8:53 a.m.
 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



permanent link
Ralph Schoon (63.1k33645) | answered Oct 10 '16, 12:21 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I would suggest to look up the type ID's and set them. Also use a test system to develop your mapping files.

Comments
Ralph Schoon commented Oct 10 '16, 12:26 p.m. | edited Oct 10 '16, 12:26 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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.

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.