• 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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,177 views 5 10
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