Current Problem
      Upon migrate JIRA backups from local hosted to OnDemand, customer unable to link with Bit-bucket/Github account. The reason is because the existing hosted instance contain some links with other Bitbucket / Github accounts.

      There are stack trace errors shown at https://<customer address>/secure/admin/ConfigureDvcsOrganizations!default.jspa

      Expected Outcome
      All links to Bitbucket/Github should be deleted so that user can re-configure upon imported from Hosted instance to OnDemand.

      OR

      The Bitbucket/Github links still available upon migrated from Hosted to OnDemand

      Current Workaround
      1. Do JIRA backups
      2. Execute following commands on JIRA database, the purpose is to wipe all data in all 4 DVCS tables:

      delete from "AO_E8B6CC_REPO_TO_CHANGESET";
      delete from "AO_E8B6CC_ISSUE_TO_CHANGESET";
      delete from "AO_E8B6CC_CHANGESET_MAPPING";
      delete from "AO_E8B6CC_REPOSITORY_MAPPING";
      delete from "AO_E8B6CC_ORGANIZATION_MAPPING";
      

      3. Restart the instance, upon finished, go to https://<customer address>/secure/admin/ConfigureDvcsOrganizations!default.jspa to check if there is no shown stack trace errors meaning that it fixed.
      4. Disable smart commit option, then synchronize again with Bitbucket/Github.

            [JSWSERVER-14199] Unable to link to BitBucket account after JIRA import

            No work has yet been logged on this issue.

              Unassigned Unassigned
              ttran@atlassian.com StevenA (Inactive)
              Affected customers:
              2 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: