Jira Cloud to Cloud C2C migration should prevent migration of projects with underscores in project keys

XMLWordPrintable

    • 1
    • 9

      Issue Summary

      Jira projects with an underscore in the project key may be migrated with Jira Cloud to Cloud migration

      Steps to Reproduce

      Jira Server/DC

      1. Login as Jira adminstrator.
      2. In the navigation bar, go to Settings > System.
      3. In the left navigation pane, ensure “General Configuration” is selected, then click on Advanced Settings.
      4. Edit jira.projectkey.pattern to ([A-Z][A-Z_0-9]+) - noting the addition of an underscore.
      5. Create a new project key with an underscore character, for example, _U_S, U_S1 or UNDER_SCOR.
      6. Populate the recently created projects with some issue data.
      7. Use JCMA to migrate a project with an underscore in the project key.
      8. Jira Cloud Migration Assistant will migrate the project

      Jira Cloud

      1. Use the Jira Cloud to Cloud migration tool to migrate projects

      Expected Results

      Project keys with underscores should not be migrated using Jira Cloud to Cloud migration tool, as they are an invalid project key in Jira Cloud.

      Actual Results

      Project keys with underscores are migrated using Jira Cloud to Cloud migration tool.

      This causes downstream issues, for example, Jira smart links in Confluence do not render. They state "Can't find link".
      Also, issues cannot be seen in the new issue view

      Workaround

      • Change the project key in the project in cloud to remove the underscore from the project key prior to migration.

        1. _thumb_399610.png
          4 kB
          Solomon O

            Assignee:
            Unassigned
            Reporter:
            Jimmy Van
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: