Importing ClearQuest field "Actual_hrs_to_Diagnose"
Hi,
I'm using the RTC 2.0 Importer to create work items from Clear Quest Defect records. One of the ClearQuest fields I'm importing is called "Actual_hrs_to_Diagnose". I am using the "com.ibm.team.workitem.attribute.timespent" RTC targetId, but the value is not getting imported. The value of "Actual_hrs_to_Diagnose" is a simple integer. The field I'm am trying to import to is a special text field with valid values like "2 d 12 h 30 m" for 2 days 12 hours 30 minutes. But the field description says that it assumes hours, so I feel like the integer '3' should import properly. But, no dice. Any suggestions? Thanks, David |
2 answers
Please verify that the sourceId in the mapping file is correct. It should look like the following:
<attribute sourceId="Actual_hrs_to_Diagnose" targetId="com.ibm.team.workitem.attribute.timespent"/> I modified my mapping file to include the timespent mapping, modified the xml file to have a value of 3 for that field, and imported successfully. The work item timespent field displays "3 h". Granted I tested this using a 2.0.0.1 client. I will try the test again with a 2.0 client. |
My bad. I had the source ID (ClearQuest field name) wrong.
Thanks. |
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.