- ALM used: Azure Devops
- CI system used: Azure Devops
Summary:
It looks like the payload being sent to our webhook has changed as of June the 3rd at ~1400 for pull requests. The branch name is being included instead of the PR as before ( examples shown below), also, the branch url now points to an invalid destingation.
Impact:
This has broken the webhook we use for handling our azure mono repo with mixed languages.
Examples:
Sanitised/simplified payload prior to June 3rd 1400:
{
…snip…
“branch”: {
“name”: “PR_ID”,
“type”: “PULL_REQUEST”,
“isMain”: false,
“url”: “https://sonarcloud.io/dashboard?id=ourorg_ado&pullRequest=PR_ID”
},
…snip…
}
Payload now:
…snip…
“branch”: {
“name”: “BRANCH_NAME”,
“type”: “PULL_REQUEST”,
“isMain”: false,
“url”: “https://sonarcloud.io/dashboard?id=ourorg_ado&pullRequest=BRANCH_NAME”
},
…snip…
Notably, the URL on the new payloads doesnt work, but if we replace the BRANCH_NAME with the PR_ID in the browser it still access it.
Trying to figure out what’s changed and how we might look to address it as we need to be able to extract the PR ID from the payload. The fact the URL is also broken makes this feel like a bug.