Uploaded image for project: 'Migration Platform'
  1. Migration Platform
  2. MIG-1442

App migration on a deactivated site causes clientKey to be unknown

    • Severity 3 - Minor
    • 1

      Issue Summary

      When starting a migration on a valid site, that gets deactivated during the migration causes the app migration payloads to have
      jiraClientKey=unknown,
      confluenceClientKey=unknown,

      Steps to Reproduce

      1. Link a valid site to a CMA
      2. Create a migration that has an app migration stage
      3. Start a long running migration with app migration steps
      4. Deactivate site before app migration stage

      Expected Results

      App migration should not start in the server and listener-triggered message should not be sent.

      Actual Results

      The listener-triggered event is sent with

      {
        cloudAppKey=com.mycompany.appkey, 
        transferId=<uuid>, 
        migrationDetails={migrationId=<uuid>, 
        migrationScopeId=<uuid>, 
        name=Test App Migration A, 
        createdAt=1688522974000, 
        jiraClientKey=unknown, 
        confluenceClientKey=unknown, 
        cloudUrl=https://mycompany.atlassian.net}, 
        eventType=listener-triggered, 
        messageId=<uuid>
      }
      

      Workaround

      Payloads that do not have a valid clientKey should be ignored.

          Form Name

            [MIG-1442] App migration on a deactivated site causes clientKey to be unknown

            This has been fixed. In the event there's no client key (for Jira and Confluence) the migration won't be triggered and an error will be thrown.

            Andre Rosot added a comment - This has been fixed. In the event there's no client key (for Jira and Confluence) the migration won't be triggered and an error will be thrown.

              arosot Andre Rosot
              jrichards@atlassian.com James Richards
              Affected customers:
              3 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: