Hi,
I am looking at importing data from mantis in Jira.
My probleme is that importing Mantis issues will always result in creating JIRA issue of type BUG, even if the defined workflow for the priously created workflow only contains 4 other issue types.
I have looked at http://confluence.atlassian.com/display/JIRA/Importing+Data+From+Mantis
Nothing is explained about this.
I even had a look at the plugin source file "MantisImportBean.java". I can see that the final issue type in jira imported issue is always BUG : (line 719)
Hi, I am looking at importing data from mantis in Jira. My probleme is that importing Mantis issues will always result in creating JIRA issue of type BUG, even if the defined workflow for the priously created workflow only contains 4 other issue types. I have looked at http://confluence.atlassian.com/display/JIRA/Importing+Data+From+Mantis Nothing is explained about this. I even had a look at the plugin source file "MantisImportBean.java". I can see that the final issue type in jira
imported issue is always BUG : (line 719) // A severity of 10 means this is a feature request, not a bug if (resultSet.getInt("severity") == 10) // todo put this in the mappingbean { issueObject.setIssueTypeId("" + IssueFieldConstants.NEWFEATURE_TYPE_ID); issueObject.setPriorityId("" + getMantisFeaturePriority()); } else { issueObject.setIssueTypeId("" + IssueFieldConstants.BUG_TYPE_ID); issueObject.setPriorityId(mappingBean.getPriority(resultSet.getInt("severity"))); } Is there any way to map Mantis:[CUSTOM] Issue Category to Jira:Issue Type instead of creating a new custom field with the same name in JIRA. Indeed, the fields corresponding to each JIRA issue (other than bug issue) are defined specifically to each issue type
(and thos fields do not exist in the bug issue type. => therefore, I loose all my specific field if the importing type is not kept. Can you tell me how to create in JIRA (while importing) ussues with the right type ? Corresponding to a MANTIS custom field ? Thanks for your help. M. MORPOURGO
Is there any way to map Mantis:[CUSTOM] Issue Category to Jira:Issue Type instead of creating a new custom field with the same name in JIRA.
Indeed, the fields corresponding to each JIRA issue (other than bug issue) are defined specifically to each issue type (and thos fields do not exist in the bug issue type. => therefore, I loose all my specific field if the importing type is not kept.
Can you tell me how to create in JIRA (while importing) ussues with the right type ? Corresponding to a MANTIS custom field ?
Thanks for your help.
M. MORPOURGO
Community moderators have prevented the ability to post new answers.
Hey,
As you can see from the source code only when severity of a Mantis issue is 10 (which AFAIK corresponds to "feature" severity) then JIRA Importers Plugin will map it to New Feature in JIRA. In all other cases Mantis issues will be imported as "Bugs".
If you don't like this behaviour you have 2 options:
Where/how can we get the source code ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think the source code would be available with the JIRA source code. Paying customers can download the JIRA source code (through my.atlassian.com I believe).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.