• 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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

708 views 6 13
Read article

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