Uploaded image for project: 'Migration Platform'
  1. Migration Platform
  2. MIG-1053

Migrating JSM Projects with JCMA 1.6.9 fails if Jira Server is on v7.8.X

    XMLWordPrintable

Details

    • 5
    • Minor
    • 1

    Description

      Issue Summary

      Migrating JSM Projects with JCMA 1.6.9 fails if Jira Server is old (7.8.X) or lower.
      This issue also happens with any Jira server version that doesn't have the is isArchived method implemented.

      Steps to Reproduce

      1. Install JCMA v1.6.9
      2. Migrate a Jira Server Management (JSM) project

      Expected Results

      • Project migrates successfully

      Actual Results

      • Project fails to migrate

      Error message:

      2022-05-07 03:00:32.009 ERROR PROJECT-ID project-export We couldn't export Servicedesk 15. Reason: java.lang.NoSuchMethodError: com.atlassian.jira.project.Project.isArchived()Z.
      

      Stack-trace:

      java.lang.NoSuchMethodError: com.atlassian.jira.project.Project.isArchived()Z
      	at com.atlassian.jira.migration.export.servicedesk.requesttype.RequestTypeServiceFacade.shouldRetrieveRequestTypeDirectlyFromDb(RequestTypeServiceFacade.kt:27)
      	at com.atlassian.jira.migration.export.servicedesk.requesttype.RequestTypeServiceFacade.getRequestTypesForServiceDeskProject(RequestTypeServiceFacade.kt:20)
      	at com.atlassian.jira.migration.export.servicedesk.ServiceDeskExporter.exportRequestTypes(ServiceDeskExporter.kt:133)
      	at com.atlassian.jira.migration.export.servicedesk.ServiceDeskExporter$childrenActions$2.invoke(ServiceDeskExporter.kt:102)
      	at com.atlassian.jira.migration.export.servicedesk.ServiceDeskExporter$childrenActions$2.invoke(ServiceDeskExporter.kt:100)
      	at com.atlassian.jira.migration.export.framework.ExportService.continueWithChildrenActions(ExportService.kt:308)
      	at com.atlassian.jira.migration.export.framework.ExportService.exportByEntityImpl(ExportService.kt:237)
      	at com.atlassian.jira.migration.export.framework.ExportService.exportByEntityImpl$default(ExportService.kt:213)
      	at com.atlassian.jira.migration.export.framework.ExportService.exportOrThrow(ExportService.kt:114)
      

      Workaround

      There are two workarounds:

      1. Upgrade Jira Server to the latest version
      2. Downgrade JCMA to 1.6.8

      Attachments

        Issue Links

          Activity

            People

              4530a4dce53f Keith Pinto
              8167e6f27cd6 Wellington Costa
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: