We couldn't export Custom Field Default Value XXX. Reason: java.lang.Exception: This export context type does not support project (CrossProjectDataExportContext). [JCMA 000]

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • JCMA - 1.11.0
    • Affects Version/s: JCMA - 1.10.1, JCMA - 1.10.2, JCMA - 1.10.3, JCMA - 1.10.5, JCMA - 1.10.7, JCMA - 1.10.8, JCMA - 1.10.9, JCMA - 1.10.10, JCMA - 1.10.11, JCMA - 1.10.13, JCMA - 1.10.15, JCMA - 1.10.16, JCMA - 1.10.17, JCMA - 1.10.18
    • None
    • 3
    • Minor
    • 4

      Issue Summary

      This is reproducible on DataCenter: Yes

      Steps to Reproduce

      1. Create a custom field of type VersionPicker/Project Version with the default value.
      2. Reference this custom field in CPD Data (like AR plans, Assigned To Me Gadget)
      3. Migrate the plan.

             For point 2

             Scenario-1

      1. Create a dashboard
      2. Create a custom field of type project version.
      3. Create a project (say ABC)
      4. Add default value for custom field project version as ABC
      5. Add any gadget referencing the custom field example `Assigned To Me` to the above dashboard.
      6. Add the above custom field to the gadget.
      7. Enable the DF com.atlassian.jira.migration.dashboard-migration.feature
      8. Migrate the plan by selecting at least one project.

          

      Expected Results

      This export error should not occur in the data preparation preflight check.

      Actual Results

      The below exception is thrown in the CROSS_PROJECT_DATA.log file:

      Error "2024-03-07 08:03:36.972439 ERROR CROSS-PROJECT-DATA project-export We couldn't export Custom Field Default Value 'XXX'. Reason: java.lang.Exception: This export context type does not support project (CrossProjectDataExportContext). [JCMA 000]" 

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available. 

            Assignee:
            Unassigned
            Reporter:
            Vaibhav Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: