Template for a good new topic, formatted with Markdown:
- ALM used : Azure DevOps
- CI system used : Azure DevOps
- Scanner command used when applicable (private details masked)
- Languages of the repository : PHP
- Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
=============================================================
##[error]ERROR: Error during SonarScanner execution
ERROR: Could not find the pullrequest with key ‘976’
ERROR: Caused by: Error 404 on https://sonarcloud.io/api/alm_integration/show_pullrequest?project=XXXXXXXXXX&pullrequestKey=976 : {“errors”:[{“msg”:“Requested resource wasn\u0027t found on Azure DevOps.”,“reason”:“AZURE_DEVOPS_UNABLE_TO_FETCH_REQUESTED_RESOURCE”}]}
ERROR:
ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
ERROR: Error during SonarScanner execution
ERROR: Could not find the pullrequest with key ‘976’
- Steps to reproduce
=>Run analysis for Pull request
Please note :
Our source code is hosted on bitbucket cloud
We are using Azur DevOps CI pipelines for build
Our Project is Bound to Azure DevOps
Few questions came in mind while investigating this issue:
can we change project bound (Azure DevOps to Bitbucket vice versa)
Where we can find alm setting key / is there any way we can update project bound from API