It's all about the answers!

Ask a question

how to get bugzilla importer to map state differently across bug types, help

sam detweiler (12.5k6195201) | asked Apr 01 '14, 10:40 a.m.
edited Apr 01 '14, 10:50 a.m.
 we are going to use the bugzilla importer to import tickets from Jira. 
we can get different workitem types by adding a type element to the bugzilla bug xml. 
and we can map workitem states too..

but.. our states are not symmetrical across all workitem types, so we want to map differently depending on type. 

I don't see a way to do this.  did I miss something? 

otherwise we have 3 import files and mappings.. defects, storys, everything else. 

sam detweiler commented Apr 01 '14, 11:20 a.m. | edited Apr 01 '14, 11:21 a.m.

maybe the easiest way is to make a different status element for each workitem type

(as we are generating the final xml for import)
bug_status_story, bug_status_defect and bug_status
then build the mapping file to address each. only the elements found will be mapped. 

Be the first one to answer this question!

Register or to post your answer.