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.
Many thanks for raising this bug. Since there has not been any customer activity on this issue in over a year, we’re closing it as Timed out.
If you feel that the bug is still relevant to your needs, please leave a comment and we'll reassess it.
Kind regards,
Dong Hoang
JIRA Software