Organization Binding Migration

I’m running into problems utilizing GitHub Actions now that I have migrated my Organization and Projects from being bound to Bitbucket to being bound to GitHub.

I followed the instructions to migrate found here:

Now, I have migrated my organization successfully and bound my projects to GitHub.

However, in my projects’ overview pages, under the project title (next to where it says “private”) it still shows a Bitbucket logo and says “This project is bound to Bitbucket”.

This is in contrast to the settings in Administration → General Settings → Repository Binding, where it says it is bound to GitHub. It has imported my repositories from Github and I have selected the appropriate repository and the project now says it is bound there.

This is causing problems with my GitHub Actions when I try to run a sonar qube scan using the SonarSource/sonarqube-scan-action v6.

I am getting this error:

Something went wrong while trying to get the pullrequest with key

I deleted one of my projects and re-created it utilizing GitHub from the beginning and that project does not show the same issues, even though the implementation is the same.

I’m looking for advice on how to properly bind my projects to GitHub without any Bitbucket artifacts leftover.

Here is the full text of the GitHub Actions run logs:

Run SonarSource/sonarqube-scan-action@fd88b7d7ccbaefd23d8f36f73b59db7a3d246602
  with:
    args: -Dsonar.pullrequest.key=10 -Dsonar.pullrequest.branch=feature/ci-cd-improvements -Dsonar.pullrequest.base=main
    projectBaseDir: .
    scannerVersion: 7.2.0.5079
    scannerBinariesUrl: https://binaries.sonarsource.com/Distribution/sonar-scanner-cli
  env:
    GOTOOLCHAIN: local
    SONAR_TOKEN: ***
    GITHUB_TOKEN: ***
Installing Sonar Scanner CLI 7.2.0.5079 for linux-x64...
Downloading from: https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-7.2.0.5079-linux-x64.zip
/usr/bin/unzip -o -q /home/runner/work/_temp/10724f81-f48a-43dc-b111-7163cce0a5ed
Sonar Scanner CLI cached to: /opt/hostedtoolcache/sonar-scanner-cli/7.2.0.5079/linux-x64
/opt/hostedtoolcache/sonar-scanner-cli/7.2.0.5079/linux-x64/bin/sonar-scanner -Dsonar.projectBaseDir=. -Dsonar.pullrequest.key=10 -Dsonar.pullrequest.branch=feature/ci-cd-improvements -Dsonar.pullrequest.base=main
19:16:59.916 INFO  Scanner configuration file: /opt/hostedtoolcache/sonar-scanner-cli/7.2.0.5079/linux-x64/conf/sonar-scanner.properties
19:16:59.920 INFO  Project root configuration file: /home/runner/work/my-repo/my-repo/sonar-project.properties
19:16:59.943 INFO  SonarScanner CLI 7.2.0.5079
19:16:59.945 INFO  Linux 6.11.0-1018-azure amd64
19:17:00.959 INFO  Communicating with SonarQube Cloud
19:17:00.959 INFO  JRE provisioning: os[linux], arch[x86_64]
19:17:04.783 INFO  Starting SonarScanner Engine...
19:17:04.786 INFO  Java 17.0.11 Eclipse Adoptium (64-bit)
19:17:06.140 INFO  Load global settings
19:17:07.101 INFO  Load global settings (done) | time=962ms
19:17:07.178 INFO  Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
19:17:07.442 INFO  Loading required plugins
19:17:07.443 INFO  Load plugins index
19:17:07.629 INFO  Load plugins index (done) | time=188ms
19:17:07.632 INFO  Load/download plugins
19:17:08.648 INFO  Load/download plugins (done) | time=1017ms
19:17:08.947 INFO  Loaded core extensions: sca, a3s, architecture
19:17:09.347 INFO  Process project properties
19:17:09.362 INFO  Project key: my-org_my-repo
19:17:09.366 INFO  Base dir: /home/runner/work/my-repo/my-repo
19:17:09.366 INFO  Working dir: /home/runner/work/my-repo/my-repo/.scannerwork
19:17:09.384 INFO  Found an active CI vendor: 'Github Actions'
19:17:09.385 INFO  Load project branches
19:17:09.775 INFO  Load project branches (done) | time=390ms
19:17:09.785 INFO  Load project settings for component key: 'my-org_my-repo'
19:17:10.205 INFO  Load project settings for component key: 'my-org_my-repo' (done) | time=418ms
19:17:10.726 INFO  Check ALM binding of project 'my-org_my-repo'
19:17:10.986 INFO  Detected project binding: BOUND
19:17:10.986 INFO  Check ALM binding of project 'my-org_my-repo' (done) | time=260ms
19:17:10.990 INFO  Load project pull requests
19:17:11.320 INFO  Load project pull requests (done) | time=330ms
19:17:11.329 INFO  Load branch configuration
19:17:11.719 ERROR Something went wrong while trying to get the pullrequest with key '10'
19:17:12.045 INFO  EXECUTION FAILURE
19:17:12.046 INFO  Total time: 12.133s
Error: Action failed: The process '/opt/hostedtoolcache/sonar-scanner-cli/7.2.0.5079/linux-x64/bin/sonar-scanner' failed with exit code 3