-
Type:
Bug
-
Resolution: Fixed
-
Priority:
High
-
None
-
Affects Version/s: JCMA - 1.12.17
-
Component/s: Jira - Migration Assistant - Export
-
None
-
1
-
Minor
-
1
Issue Summary
When users try copying a migration plan, but that plan includes a project that has been deleted and no longer exists, they will see an 'Error communicating with server' message in the UI.
This is reproducible on Data Center: Yes
Steps to Reproduce
- Create and save a migration plan which contains multiple projects
- Delete a project that was included in the migration plan
- Try to create a copy of the migration plan
Expected Results
Migration plan is copied but JCMA warns about the missing deleted project
Actual Results
The following error message is seen in the UI:
Error communicating with server
Retry again in a few minutes. Contact support if you continue to receive this error.
The network response in browser tools show:
Failed to save the plan: Plan includes invalid project keys [<KEY>]
Jira logs show:
2024-12-25 15:13:15,363+0000 http-nio-8080-exec-11 url: /jira/rest/migration/latest/plan/d1cf06ef-ec4c-454f-abc7-a72857a30a80/start; user: hbui ERROR <username> 913x1609x2 nifa70 172.29.254.148,172.50.0.2 /rest/migration/latest/plan/d1cf06ef-ec4c-454f-abc7-a72857a30a80/start [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception 3d24f10a-4168-4615-9f1d-7dbf7855ce32 thrown by REST service: getProjectByCurrentKey(...) must not be null java.lang.NullPointerException: getProjectByCurrentKey(...) must not be null at com.atlassian.jira.migration.serverdataextractors.ProjectsReader.getProject(ProjectsReader.kt:31)
Workaround
Recreate missing project with the same project key