Problem using bugzilla importer
I am importing bugs from Bugzilla and I'm having a few issues I was hoping someone could help with.
I am using a custom xml mapping file. Most things work fine, however:
Bug with a bug_status of CLOSED and in my XML I map that to state "9":
<attribute sourceId="bug_status" targetId="com.ibm.team.workitem.attribute.state">
<value sourceId="NEW" targetId="1"/>
<value sourceId="UNCONFIRMED" targetId="1" accurate="false"/>
<value sourceId="ASSIGNED" targetId="2"/>
<value sourceId="RESOLVED" targetId="3"/>
<value sourceId="VERIFIED" targetId="4"/>
<value sourceId="CLOSED" targetId="9"/>
<value sourceId="REOPENED" targetId="6"/>
</attribute>
If I look at my custom project area:
<state group="closed" id="com.ibm.team.workitem.defectWorkflow.state.s9" name="Closed" showResolution="true"/>
But when I run the import, the status is set to just "9" instead of mapping it over to the "Closed" status.
Can anyone see what I'm doing wrong? If I change the targetId="9" to targetId = "3" (to map it to Resolved) it seems to work fine.
Thanks in advance.
I am using a custom xml mapping file. Most things work fine, however:
Bug with a bug_status of CLOSED and in my XML I map that to state "9":
<attribute sourceId="bug_status" targetId="com.ibm.team.workitem.attribute.state">
<value sourceId="NEW" targetId="1"/>
<value sourceId="UNCONFIRMED" targetId="1" accurate="false"/>
<value sourceId="ASSIGNED" targetId="2"/>
<value sourceId="RESOLVED" targetId="3"/>
<value sourceId="VERIFIED" targetId="4"/>
<value sourceId="CLOSED" targetId="9"/>
<value sourceId="REOPENED" targetId="6"/>
</attribute>
If I look at my custom project area:
<state group="closed" id="com.ibm.team.workitem.defectWorkflow.state.s9" name="Closed" showResolution="true"/>
But when I run the import, the status is set to just "9" instead of mapping it over to the "Closed" status.
Can anyone see what I'm doing wrong? If I change the targetId="9" to targetId = "3" (to map it to Resolved) it seems to work fine.
Thanks in advance.
One answer
Hello Susan,
mapping file use id's - please use fully qualified id - com.ibm.team.workitem.defectWorkflow.state.s9
as found in PA source.
Thanks.
Eric.
Comments
Eric Jodet
JAZZ DEVELOPER Mar 19 '13, 11:46 a.m.Susan Hanson
Mar 20 '13, 10:03 p.m.