Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I'm migrating a large project from Redmine to on-demand JIRA. I've created bunch of custom fields (global context, before you ask). They are of various types: URL, user selector, single choice etc.
During import they are available on the list to choose for mapping. However, after the import I find that duplicate custom fields with identical names are created for every type except text. Text fields are found as expected.
Any ideas how to solve it? I've attached a relevant piece of import log.
2014-01-15 12:38:28,569 INFO - Retrieving custom fields... 2014-01-15 12:38:29,421 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@a154a1[id=44,name=Postdeployment Check Complete?,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,435 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@1eb8df5[id=2,name=Hudsonlink,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,448 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@1b4f8d0[id=19,name=Product owner,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,460 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@3b5a02[id=30,name=Team Name,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,469 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@9249d6[id=14,name=Automated Test Cases,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,480 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@aa9568[id=41,name=Showstopper?,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,490 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@4bf36c[id=13,name=Testers,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,499 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@5a7006[id=9,name=Bullet Points in Ticket,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,526 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@17922a4[id=20,name=Resolution State,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,537 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@1d16be6[id=40,name=Technical Owner,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,546 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@3015d[id=46,name=Post deployment link,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,557 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@14ea9b4[id=28,name=Bug Origin,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,566 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@167a496[id=58,name=Code Reviewer,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,576 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@166b532[id=6,name=Remaining hours,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,585 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@21dba[id=1,name=Est hours,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,594 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@edd8cf[id=45,name=Predeployment link,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,605 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@13533da[id=11,name=Project Type,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,620 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@1aa7681[id=17,name=Business owner,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,630 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@4a2ec8[id=10,name=Bullet Points Completed,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,639 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@454da4[id=4,name=Date,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,648 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@1ec7535[id=8,name=Severity,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,657 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@102f3c4[id=16,name=Signedoff,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,667 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@d1e720[id=7,name=Resolution,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>] 2014-01-15 12:38:29,677 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@9d0618[id=43,name=Pre-deployment Check Complete?,typeKey=com.atlassian.jira.plugin.system.customfieldtypes:textfield,searcherKey=com.atlassian.jira.plugin.system.customfieldtypes:textsearcher,valueMappingDefinition=<null>,valueSet=<null>]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Paul,
Apparently it's worse than that, as creating global context fields only works for text fields. There is another bug which stops any other field type from being imported correctly: https://ecosystem.atlassian.net/browse/JIM-1140
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For some reason, I can't get to the ecosystem JIM issues... fortunately, that issue is located here as well:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Irene,
I just wanted to share the related bug report with other users encountering this issue. The bug relates to the JIRA Importer and is tracked at: https://ecosystem.atlassian.net/browse/JIM-870
The workaround as suggested by the developer is:
"The workaround for this is to create first (or change those created during the first import) custom fields and assign them "Global context" instead of project context."
Cheers,
Paul
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.