Import from Mantis: custom fields are linked incorrectly

Vlad V April 23, 2014

Hi,

It seems that JIRA import plugin incorrectly links custom fields imported from Mantis. What I see is it just takes all the imported fields and links them all to each project. This results in overwhelming number of custom fields for a project which didn't have a single custom field in Mantis. Am I missing something? Has anyone faced this issue? Any ideas are welcomed.

1 answer

0 votes
Michael Schuler June 10, 2014

Hi Vlad

I had the same problem during importing several mantis projects into JIRA.

Because I didn't find a way to handle this problem in JIRA, I duplicated the mantis database, deleted all custom field information and then started the import with the duplicated database (on the same server).

DELETE LOW_PRIORITY FROM jira_migration_20140602.mantis_custom_field_table WHERE id != -27;
DELETE LOW_PRIORITY FROM jira_migration_20140602.mantis_custom_field_string_table WHERE field_id != -27;
DELETE LOW_PRIORITY FROM jira_migration_20140602.mantis_custom_field_project_table WHERE field_id != -27;

The next bigger problem I have now is, that I did the import in several steps (began with one project, than 5, than 5 more...) and every time I did an import JIRA importer created a new set of custom fields (Addidtional information, Sevirity, Priority, External Issue ID...).

Not really comfortable... :(

Suggest an answer

Log in or Sign up to answer