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

            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2851954 ] New: JAC Bug Workflow v3 [ 2936961 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2545869 ] New: JAC Bug Workflow v2 [ 2851954 ]
            Status Original: Closed [ 6 ] New: Resolved [ 5 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1553601 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2545869 ]
            Hoang Dong (Inactive) made changes -
            Resolution New: Timed out [ 10 ]
            Status Original: Open [ 1 ] New: Closed [ 6 ]

            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

            Hoang Dong (Inactive) added a comment - 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
            Hoang Dong (Inactive) made changes -
            Labels Original: bitbucket jira migrated_from_dcon New: backlog-cleanup bitbucket jira migrated_from_dcon
            jonah (Inactive) made changes -
            Symptom Severity New: Minor [ 14432 ]
            Benjamin Morgan (Inactive) made changes -
            Component/s New: DVCS Accounts [ 43316 ]
            Labels Original: bitbucket jira New: bitbucket jira migrated_from_dcon
            Owen made changes -
            Key Original: DCON-345 New: JSW-14199
            Workflow Original: classic workflow for JIRA DVCS Connector [ 688915 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1553601 ]
            Project Original: DCON - deprecated use JSW [ 14710 ] New: JIRA Software (including JIRA Agile) [ 12200 ]

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

                Created:
                Updated:
                Resolved: