Jira Server to Cloud Migration Error: IllegalStateException
Asked by Bradley Rottcher:

Hi,

I get this error when trying to migrate Jira server to Jira Work Management using the Jira Cloud Migration Assistant:

2022-11-02 16:13:00.242718 ERROR ARS project-import We couldn't import Project ARS. Reason: IllegalStateException: No message. This caused 512 other items to fail.

All my projects fail to migrate due to this error. This is after passing all pre-migration checks.

What could be causing this?

Regards

Brad


Answers:
author: Bradley Rottcher
body: The problem was eventually isolated by Atlassian support. When we upgraded from Jira 6.4.14 to Jira **core** 7.0.11 in the past, Jira automatically set all the "Project Types" for each existing project to "Software". This makes no sense as Jira Core doesn't provide access to the "Software" Project Type.

There is seemingly no documentation that speaks about this issue, nor is it mentioned as a problem within the migration documentation. Atlassian will look at adding this to their documentation in future.

Once the projects had been set to "Business" project type instead, the migration succeeded. \[project name\] -\> Project Settings -\> Details -\> Project type(required)

<br />

<https://confluence.atlassian.com/adminjiraserver/jira-applications-and-project-types-overview-938846805.html>


author: Benjamin
body: HI [@Bradley Rottcher](/t5/user/viewprofilepage/user-id/516480) ,

would recommend to check the jira logs to see more details of the issue. With additional details, can help identify which solution to apply. For example, if it's a version issue:

<https://confluence.atlassian.com/cloudkb/we-couldn-t-import-project-version-because-of-missing-dependencies-project-jcma-error-1101926685.html>

In certain cases, the DB needs to be updated.

Suggestion would be to see if the logs provide more details. If not, submit a ticket to Atlassian support to help troubleshoot the issue. In the mean time, see if you can deselect that project and migrate the rest of the projects over.

Thanks,

Ben

comments: author: Bradley Rottcher
body: Hi [@Benjamin](/t5/user/viewprofilepage/user-id/3275402),

Thanks for your assistance. All my projects fail to migrate due to this error, so I cannot deselect one project and migrate the rest of the projects over.

The jira logs do not show migration errors. I have looked extensively. Perhaps I am missing something. Can you perhaps let me know which jira logs on the server show migration errors?

With regards to the DB, can you let me know what exactly needs to be updated?

Kind regards

Brad


author: Benjamin
body: HI [@Bradley Rottcher](/t5/user/viewprofilepage/user-id/516480) ,

The log to check would the main log which is Atlassian-jira.log.

As for the DB, there is not enough info at the moment to know exactly what to change. Making any changes to the DB is a high risk without knowing the root cause. I would suggest to connect with Atlassian support. They can help with the migration issue you are facing. Just make sure to send the support.zip when you submit your ticket. the support.zip can be downloaded from the UI.

-Ben


author: Bradley Rottcher
body: Hi [@Benjamin](/t5/user/viewprofilepage/user-id/3275402) ,

I have thoroughly checked and I assure you the above errors received in the Jira cloud Migration Assistant do not appear in atlassian-jira.log.

I have logged a support request with Atlassian - still waiting for assistance.

Brad


Tags: cloud

jira-work-management-cloud