PreMigrationCheckRepository never invoked during migration checks

Hello everyone!

Before our app migration, I’d like to make some checks to avoid migration errors.

I implemented the PreMigrationCheckRepository interface. I followed every instruction in the documentation and used the example app as a starting point. I used this as a guideline:
(Prepare your server app for Connect | App migration platform)

I have annotated both the listener and the check repository with @Component and @ExportAsService. The listener is always triggered, but the check repository is never gets invoked. The OSGI Browser shows this:

When I run pre-migration checks in JCMA in dev mode, I can’t see any app-specific checks running. Withouth dev mode all standard app checks are running except App vendor check. According to the documentation, App Vendor Checks should run in dev mode:

(…) In dev mode, the platform disables app-related validations and pre-flight checks, with the exception of App Vendor Checks.

(See: Dev mode | App migration platform )

I’m using Jira Software 9.17.5 with the latest JCMA (v1.12.48) installed for testing.

Please help me, I can’t figure out what’s missing.

Thanks for any help!

1 Like

Hi @zradnoty

I’m James from the App Migration Team.

Taking a quick look at this thread, it seems like the App Vendor checks are not running, irrespective of whether or not dev mode is enabled.

Could you check the following other factors that might be preventing the check from running:

  • Is the com.atlassian.jira.migration-assistant.enable.app-vendor-check Dark Feature enabled (this is a legacy Dark Feature Flag that should be removed/disabled now)?
  • Did you select the Preloadable App Data Only option when choosing what data to migrate?
  • Did you add at least one App to the Migration Plan?

If you can confirm the above, that might help us understand why the checks are not executing. Otherwise, I can also suggest raising a Support ticket where you can exchange server logs and other details.

Kind Regards,

James.

Hi James,

Thanks for your help. Yes, it seems that dark feature property was causing the problem. After disabling it, everything works fine and all of my checks are running properly.

Thanks!

1 Like