Jira is unable to enable The Scheduler app
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Jira is unable to enable the The Scheduler App.
Environment
Jira Server / Data Center
Diagnosis
- The Scheduler App is at the latest version.
- The Scheduler App shows compatible with Jira version
- The pluginstate table does not show any false value nor any entry of this plugin on this table.
- Even though, the The Scheduler App is still unable to be enabled by Jira.
Looking at the logs you should some error similar to this:
ERROR [p.c.t.thescheduler.migration.LocalCloudMigrationAccessor] Failed to initialise CloudMigrationAccessor, most likely due to the fact Jira Cloud Migration Assistant plugin is not installed or enabled.
2022-06-08 21:07:33,951-0700 ThreadPoolAsyncTaskExecutor::Thread 24 ERROR [p.c.t.thescheduler.migration.LocalCloudMigrationAccessor] Failed to initialise CloudMigrationAccessor, most likely due to the fact Jira Cloud Migration Assistant plugin is not installed or enabled.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.migration.app.tracker.CloudMigrationAccessor': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.migration.app.tracker.CloudMigrationAccessor]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/atlassian/migration/app/BaseAppCloudMigrationListener
Cause
The Scheduler App has a dependency to another plugin Jira Cloud Migration Assistant. Due to this, if Jira Cloud Migration Assistant cannot be started properly, it will cascade the problem to the other plugin The Scheduler since this last one has a dependency expected from the other.
Solution
- Check if the version of the plugin Jira Cloud Migration Assistant is compatible with your version of Jira. You can confirm this at Jira Cloud Migration Assistant Version history.
- Go to Administration > Manage Apps > Manage Apps
- Uninstall the plugin The Scheduler
- Upgrade or install the plugin Jira Cloud Migration Assistant
- Go to Administration > Manage Apps > Find new apps > On the Search box type The Scheduler
- Re-Install the plugin The Scheduler by clicking on the button Free trial
- Check if the plugin is enabled and working. You may also apply the license afterwards.