Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to import from CSV to a Custom Work Item?

Hi,

How does the work item Type have to be specified ?

I have created a custom Work Item but when I tried Import values from a csv, They are imported in the Defect work item type.

Could Someone help me with that?

Regards,
Elisa.

0 votes



4 answers

Permanent link
Hello,

Are you trying to import into the same Project Area (which contains the custom Work Item Type)? or to another Project Area which does not have the custom Work Item Type?

Thanks,
Gabriel
Jazz Developer

Hi,

How does the work item Type have to be specified ?

I have created a custom Work Item but when I tried Import values from a csv, They are imported in the Defect work item type.

Could Someone help me with that?

Regards,
Elisa.

0 votes


Permanent link
Hi Gabriel,

Into the same Project Area.

Thanks,
Elisa.

0 votes


Permanent link
Hi Gabriel,

Into the same Project Area.

Thanks,
Elisa.


Well, that discarded the possibility of importing a non-existent Work Item Type.

Would you mind to share some extra context on your scenario, with possibly some sample data (e.g., 1 or 2 rows of the imported data, its column headers, any errors from the client while importing and the existent Work Item Type where it's intended to be exported to).

Thank you
Gabriel

0 votes


Permanent link
There's two parts - your csv and the mapping xml. In your csv ensure you have a column that contains the work item type and give it a header of "Type". In your mapping xml, add an attribute snippet like this:
<attribute sourceId="Type" targetId="com.ibm.team.workitem.attribute.workitemtype">
<value sourceId="/value in the csv Type column/" targetId="/id you gave the custom workitem when it was created/"/>
</attribute>

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 10 '12, 11:36 a.m.

Question was seen: 4,895 times

Last updated: Apr 10 '12, 11:36 a.m.

Confirmation Cancel Confirm