Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-63226

Project Import blocked with an error indicating missing custom field option values for Select List custom field types

XMLWordPrintable

    • 7.01
    • 103
    • Severity 2 - Major
    • 15
    • Hide
      Atlassian Update – 15 April 2025

      Dear Customers,

      Thank you for taking the time to report and comment on this issue. We've thoroughly reviewed the case but have not been able to reproduce the problem on our end.
      To help gather more insights into the issue's reproduction steps and conditions, we've added enhanced debug logging to the Project Import feature. This extended logging will be released in the following versions:

      • 9.12.22
      • 10.3.6
      • 10.5.2
      • 10.6.0
      • 11.0.0

      If you encounter this issue again, please share any specific conditions or steps that led to it—either by commenting here or by reaching out to our support team. Your input is greatly appreciated and will help us resolve this more effectively.
      Best regards,

      Maria Mikolajczak
      Jira DC Engineering

      Show
      Atlassian Update – 15 April 2025 Dear Customers, Thank you for taking the time to report and comment on this issue. We've thoroughly reviewed the case but have not been able to reproduce the problem on our end. To help gather more insights into the issue's reproduction steps and conditions, we've added enhanced debug logging to the Project Import feature. This extended logging will be released in the following versions: 9.12.22 10.3.6 10.5.2 10.6.0 11.0.0 If you encounter this issue again, please share any specific conditions or steps that led to it—either by commenting here or by reaching out to our support team. Your input is greatly appreciated and will help us resolve this more effectively. Best regards, Maria Mikolajczak Jira DC Engineering

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary

      Unable to proceed with Project Import due to errors on Custom Field Options. Example:

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

      Steps to Reproduce

      1. Have a source instance that has a Select List Custom Field (single choice) with one or more contexts and options
      2. Configure the same custom field in a target instance with the same contexts and custom field options
      3. Perform Project Import from source to target, using XML backup from source
      4. The import is blocked in certain cases

      Expected Results

      Every project import will go fine

      Actual Results

      In certain cases, it's not possible to proceed with the import. The below can be seen in the GUI under Custom Fields validation:

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

      Notes

      One of the causes is when fieldconfiguration.id does not match fieldconfigscheme.id. By rights JIRA should use fieldconfiguration.id when looking up customfieldoption.customfieldconfig, but it incorrectly uses fieldconfigscheme.id, causing the problem. More details can be found in JRASERVER-65734.

      Workaround

      Refer to Project Import fails due to missing Custom Field Options for the above problem.

              Unassigned Unassigned
              znoorsazali Zul NS [Atlassian]
              Votes:
              81 Vote for this issue
              Watchers:
              84 Start watching this issue

                Created:
                Updated:
                Resolved: