While importing a project(Project Import) I am getting the following error

Sanjay October 6, 2016

Error:

The custom field 'DIT status' requires option 'Complete' for the import but it does not exist in the current JIRA instance.
The custom field 'DIT status' requires option 'In progress' for the import but it does not exist in the current JIRA instance.
The custom field 'DIT status' requires option 'Not Started' for the import but it does not exist in the current JIRA instance.
The custom field 'DIT status' requires option 'Planning' for the import but it does not exist in the current JIRA instance.

I checked the XML entities of the source and destination instance and the custom field and all the options do exist correctly. I spell checked it, mapped the field configuration, search template, description everything is same.

Source XML file: (JIRA Version 7.2.1) (DIT status = 15203)

<CustomFieldOption id="19639" customfield="15203" customfieldconfig="15806" sequence="0" value="Complete" disabled="N"/>
    <CustomFieldOption id="19640" customfield="15203" customfieldconfig="15806" sequence="1" value="In progress" disabled="N"/>
    <CustomFieldOption id="19642" customfield="15203" customfieldconfig="15806" sequence="3" value="On Hold" disabled="N"/>
    <CustomFieldOption id="19644" customfield="15203" customfieldconfig="15806" sequence="4" value="Planning" disabled="N"/>
    <CustomFieldOption id="19645" customfield="15203" customfieldconfig="15806" sequence="2" value="Not Started" disabled="N"/>

Destination XML file: (JIRA version 7.2.1) (DIT status = 12032)

<CustomFieldOption id="12148" customfield="12032" customfieldconfig="25126" sequence="0" value="Complete" disabled="N"/>
    <CustomFieldOption id="12149" customfield="12032" customfieldconfig="25126" sequence="2" value="Not Started" disabled="N"/>
    <CustomFieldOption id="12151" customfield="12032" customfieldconfig="25126" sequence="1" value="In progress" disabled="N"/>
    <CustomFieldOption id="12152" customfield="12032" customfieldconfig="25126" sequence="3" value="On Hold" disabled="N"/>
    <CustomFieldOption id="12153" customfield="12032" customfieldconfig="25126" sequence="4" value="Planning" disabled="N"/>

JIRA  is detecting option On Hold where as it is not detecting other 4 options. The issue is not just one custom field but for 10 other fields as well out of 40 custom fields for this project. Any suggestions?

P.S: It seems  only single select options are not getting identified during import process of the project.

1 answer

0 votes
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 25, 2016

Hi Sanjay,

Thank you for reaching out to Atlassian Support on this one, and for anyone that runs into similar behavior we were able to track this back to trailing whitespace on the source instance Options that are not striped on export and very difficult to spot.

"Option A" != "Option A "

This ultimately comes down to the following feature request closed out due to limited interest:

But as noted on the Closed Feature request if you run into this and would like to see the feature reopened:

"If you have believe this issue is still relevant, please comment on the issue and we will respond. We are watching all these issues that we bulk close."

So please do reach out on the request per the [Implementation of New Features Policy | https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html]

 

Regards,

Earl

Suggest an answer

Log in or Sign up to answer