• Community
  • Products
  • Jira
  • Questions
  • Error: "The custom field 'Location' requires option 'Amsterdam' for the import but it does not exist in the current JIRA instance." on project import

Error: "The custom field 'Location' requires option 'Amsterdam' for the import but it does not exist in the current JIRA instance." on project import

The following error appears when trying to carry out a project import:

{code}

Custom Fields

OK Trac Ticket #

OK Developer(s)

OK Trac Ticket #

ErrorLocation

The custom field 'Location' requires option 'Amsterdam' for the import but it does not exist in the current JIRA instance.

The custom field 'Location' requires option 'Chicago' for the import but it does not exist in the current JIRA instance.

The custom field 'Location' requires option 'Sydney' for the import but it does not exist in the current JIRA instance.

OK Start Date

OK Release Notes

{code}

Both the xml export of the target and original instance contain the following lines:

{code}

<customfieldoption id="10043" customfield="10121" customfieldconfig="10152" sequence="0" value="Amsterdam/">

<customfieldoption id="10044" customfield="10121" customfieldconfig="10152" sequence="1" value="Chicago/">

<customfieldoption id="10045" customfield="10121" customfieldconfig="10152" sequence="2" value="Sydney/">

{code}

both instances have identical values for id, customfield, customfield, customfieldconfig and value.

2 answers

2 votes

Bug: https://jira.atlassian.com/browse/JRA-28480

1 vote

Check the target instace whether there is a space in the table customfieldoption:

SELECT * FROM customfieldoption WHERE CUSTOMFIELD IN (SELECT id FROM customfield WHERE cfname='Location');

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,264 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot