In certain situations, using the dark feature to migrate all the filters impacts single project board migration and data preparation pre-flight check

XMLWordPrintable

    • 14
    • Minor
    • 605

      Issue Summary

      This is reproducible on Data Center: (yes) 

      Starting with JCMA 1.10.9 and above, the usage of the Dark Feature to migrate all the filters has slightly changed so now, using the aforementioned versions, to migrate all the filters the migrator needs to enable the Dark Feature com.atlassian.jira.migration.export.all.filters and on the "Cross project boards and filters" option to select "Migrate all boards and filters" .

      By performing the above and using the migrate all filters Dark Feature, the data preparation check that verifies if the boards are ready to be migrated seems to not be triggered and in case one of the boards is problematic, will not be revealed by the data preparation check.

      As the data preparation check will be "green" the migration can be started and will result in not migrating multiple boards, without any clear indication that the migration was not successful.

      Steps to Reproduce

      1. Create several boards and on one of the boards replicate an issue that normally would be revealed by data preparation check ( for example remove the admin of the board from the database AO_60DB71_BOARDADMINS table);
      2. Create a migration plan to include all your projects and select the migration of all cross-projects boards and filters;
      3. Data preparation check will fail and the migration cannot be performed until the issue is solved;
      4. Activate the com.atlassian.jira.migration.export.all.filters dark feature and reload the data preparation check and you will notice that the check will become green ( unless other errors in regards to project data)

      Expected Results

      Data preparation to fail even with the com.atlassian.jira.migration.export.all.filters dark feature activated and reveal the problematic boards to be fixed;

      Actual Results

      Data preparation will be green, migration is allowed to start, will be finished, marked as successful , yet, by checking closely the UI migrator will notice under "Cross-project boards and filters" the migration remained in "Saved" status and the boards were not migrated.

      Workaround

      1. If you notice during test migrations that single project boards are missing because of the described behaviour:

      • Cleanup the migrated data on cloud;
      • Eliminate the filters Dark Feature and create a plan to reveal the problematic boards in the data preparation check; Fix the boards until the check becomes green;
      • After fixing the boards, migrator can enable the DF to migrate all filters and re-migrate all the single-project and cross project boards by selecting the option in UI;

      2. If the behaviour was noticed after production migration:

      a) If you notice cross project boards are missing from cloud: as explained on point 1, disable the Dark feature, create a plan ( but do not execute it), allow the data preparation check to perform all the checks and fix all the boards mentioned in the check. After you have fixed the boards, create a DUMMY project with one issue, enable the dark feature com.atlassian.jira.migration.export.all.filters, select the option "All cross-project boards and filters" as in the picture below and perform the migration of the dummy project;

      b) If single projects board were not migrated, the only workarounds are to manually create the board on cloud OR delete the project containing the board and re-migrate it;

        1. image-2023-12-18-18-05-43-327.png
          53 kB
          Dan Postelnicu
        2. image-2023-12-18-18-18-29-925.png
          139 kB
          Dan Postelnicu
        3. Screen Recording 2024-02-15 at 6.43.07 PM.mp4
          45.78 MB
          Bharath K V

            Assignee:
            Nitin Suri
            Reporter:
            Dan Postelnicu
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: