# \#pull-request-decorat

**URL:** https://community.sonarsource.com/tag/pull-request-decorat/277.md

[Latest](https://community.sonarsource.com/latest.md) · [Categories](https://community.sonarsource.com/categories.md) · [Tags](https://community.sonarsource.com/tags.md)

---

## [Suggestions for PR key when PR\_id is not available on all scenarios](https://community.sonarsource.com/t/suggestions-for-pr-key-when-pr-id-is-not-available-on-all-scenarios/186032)

<div class="topic-metadata">

**Author:** [@BeBetter](https://community.sonarsource.com/u/BeBetter)\
**Replies:** 1\
**Last updated:** [July 20, 2026, 1:10pm UTC](https://community.sonarsource.com/t/suggestions-for-pr-key-when-pr-id-is-not-available-on-all-scenarios/186032 "2026-07-20T13:10:55Z")

</div>

We have SonarQube Enterprise ( \* Enterprise Edition\* v2025.4.2 (112048)). We want to configure PR scanning through the CI/CD pipeline. We do not have the out-of-the-box PR ID available from our CI tool if we have to re-…

---

## [Disable GitLab Merge Request Comments And/Or Remove GitLab Integration](https://community.sonarsource.com/t/disable-gitlab-merge-request-comments-and-or-remove-gitlab-integration/111403)

<div class="topic-metadata">

**Author:** [@jzskca](https://community.sonarsource.com/u/jzskca)\
**Replies:** 9\
**Last updated:** [July 2, 2026, 9:45pm UTC](https://community.sonarsource.com/t/disable-gitlab-merge-request-comments-and-or-remove-gitlab-integration/111403 "2026-07-02T21:45:47Z")

</div>

As others have noted, the GitLab integration when combined with a monorepo is too noisy: Prevent SonarQube from adding comments to Gitlab MergeRequest Disable GitLab Merge Request comments This comment suggests that t…

---

## [Decorator only shows up after analysis is complete](https://community.sonarsource.com/t/decorator-only-shows-up-after-analysis-is-complete/183388)

<div class="topic-metadata">

**Author:** [@n8dawg](https://community.sonarsource.com/u/n8dawg)\
**Replies:** 1\
**Last updated:** [June 12, 2026, 9:07am UTC](https://community.sonarsource.com/t/decorator-only-shows-up-after-analysis-is-complete/183388 "2026-06-12T09:07:32Z")

</div>

why do decorators on PRs only show up after analysis is complete now? this behavior began a few weeks back. problematic because GitHub will show that all tests are complete & ready to merge rather than the actual status …

---

## [Comments on Pull Request stopped working (Azure DevOps Services)](https://community.sonarsource.com/t/comments-on-pull-request-stopped-working-azure-devops-services/176626)

<div class="topic-metadata">

**Author:** [@Fredrik1](https://community.sonarsource.com/u/Fredrik1)\
**Replies:** 5\
**Last updated:** [February 5, 2026, 4:12pm UTC](https://community.sonarsource.com/t/comments-on-pull-request-stopped-working-azure-devops-services/176626 "2026-02-05T16:12:09Z")

</div>

For two months now PR comments has stopped being added on PR’s. The warnings is still visible in SonarCloud on the page that corresponds to that PR (project/issues?issueStatuses=OPEN%2CCONFIRMED&pullRequest=123&id=org\_pr…

---

## [Some rules do not work in MRs/PRs decoration because of NewCode focus](https://community.sonarsource.com/t/some-rules-do-not-work-in-mrs-prs-decoration-because-of-newcode-focus/152734)

<div class="topic-metadata">

**Author:** [@aigel](https://community.sonarsource.com/u/aigel)\
**Replies:** 1\
**Last updated:** [December 22, 2025, 1:46pm UTC](https://community.sonarsource.com/t/some-rules-do-not-work-in-mrs-prs-decoration-because-of-newcode-focus/152734 "2025-12-22T13:46:02Z")

</div>

Hello everyone, I hope this message finds you all well. I wanted to bring up an important issue regarding coding rules, specifically those that apply to the entire class—such as java:S104, which states “Files should not…

---

## [Trouble getting PR decoration working with SonarQube Server 2025.1 LTS and Azure DevOps](https://community.sonarsource.com/t/trouble-getting-pr-decoration-working-with-sonarqube-server-2025-1-lts-and-azure-devops/151196)

<div class="topic-metadata">

**Author:** [@dash](https://community.sonarsource.com/u/dash)\
**Replies:** 16\
**Last updated:** [November 10, 2025, 2:56pm UTC](https://community.sonarsource.com/t/trouble-getting-pr-decoration-working-with-sonarqube-server-2025-1-lts-and-azure-devops/151196 "2025-11-10T14:56:10Z")

</div>

Must-share information (formatted with Markdown): which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension) - SonarQube Server Developer Edition v2025.1.4 (113907) h…

---

## [Gitlab merge request inline comments decoration](https://community.sonarsource.com/t/gitlab-merge-request-inline-comments-decoration/106443)

<div class="topic-metadata">

**Author:** [@mp01](https://community.sonarsource.com/u/mp01)\
**Replies:** 9\
**Last updated:** [October 8, 2025, 8:29am UTC](https://community.sonarsource.com/t/gitlab-merge-request-inline-comments-decoration/106443 "2025-10-08T08:29:35Z")

</div>

Hello, I installed developer edition of Sonarqube Version 10.3.0.82913, and configured Gitlab integration. When it analyses a merge request it just adds summary comment on the whole merge request. I would prefer it to…

---

## [PR comments from Sonar Spamming the Pull Requests in Azure DevOps](https://community.sonarsource.com/t/pr-comments-from-sonar-spamming-the-pull-requests-in-azure-devops/148597)

<div class="topic-metadata">

**Author:** [@Swamynathan](https://community.sonarsource.com/u/Swamynathan)\
**Replies:** 2\
**Last updated:** [September 12, 2025, 12:50pm UTC](https://community.sonarsource.com/t/pr-comments-from-sonar-spamming-the-pull-requests-in-azure-devops/148597 "2025-09-12T12:50:59Z")

</div>

We have enabled SonarQube analysis in a Pipeline which runs during Build validation when a Pull Request is raised. We have turned off “Enable summary comment” in Pull request section under General Settings. Yet we a…

---

## [SonarQube Code Analysis Expected — Waiting for status to be reported](https://community.sonarsource.com/t/sonarqube-code-analysis-expected-waiting-for-status-to-be-reported/146374)

<div class="topic-metadata">

**Author:** [@sgnu](https://community.sonarsource.com/u/sgnu)\
**Replies:** 8\
**Last updated:** [August 13, 2025, 6:30pm UTC](https://community.sonarsource.com/t/sonarqube-code-analysis-expected-waiting-for-status-to-be-reported/146374 "2025-08-13T18:30:36Z")

</div>

Must-share information (formatted with Markdown): which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension) - Enterprise Edition v2025.1 how is SonarQube deployed: z…

---

## [Comments stopped being added to the PRs](https://community.sonarsource.com/t/comments-stopped-being-added-to-the-prs/144849)

<div class="topic-metadata">

**Author:** [@twapaw](https://community.sonarsource.com/u/twapaw)\
**Replies:** 7\
**Last updated:** [July 25, 2025, 6:29am UTC](https://community.sonarsource.com/t/comments-stopped-being-added-to-the-prs/144849 "2025-07-25T06:29:06Z")

</div>

Hi, we have a problem that comments stopped being added to the PRs (it worked for the test PR some time ago). ALM: Azure DevOps CI: Azure DevOps pipeline for NX workspace with many projects: YAML files with proper tas…

---

## [Pull request decorations not being updated with the new user in Gitlab (SonarCloud)](https://community.sonarsource.com/t/pull-request-decorations-not-being-updated-with-the-new-user-in-gitlab-sonarcloud/143627)

<div class="topic-metadata">

**Author:** [@sukhrajsg](https://community.sonarsource.com/u/sukhrajsg)\
**Replies:** 2\
**Last updated:** [July 5, 2025, 2:13pm UTC](https://community.sonarsource.com/t/pull-request-decorations-not-being-updated-with-the-new-user-in-gitlab-sonarcloud/143627 "2025-07-05T14:13:19Z")

</div>

Setup I am using SonarCloud through a gitlab pipeline (gitlab-ci) using the following template sonarcloud-check: image: name: sonarsource/sonar-scanner-cli:latest entrypoint: \[""\] script: - sonar-scanner…

---

## [Configuring PR decoration for SonarQube Developer Edition based on gate result](https://community.sonarsource.com/t/configuring-pr-decoration-for-sonarqube-developer-edition-based-on-gate-result/143777)

<div class="topic-metadata">

**Author:** [@David\_M](https://community.sonarsource.com/u/David_M)\
**Replies:** 3\
**Last updated:** [July 4, 2025, 3:28pm UTC](https://community.sonarsource.com/t/configuring-pr-decoration-for-sonarqube-developer-edition-based-on-gate-result/143777 "2025-07-04T15:28:38Z")

</div>

Must-share information (formatted with Markdown): which versions are you using: SonarQube Server v10.8.1 (LTA upgrade pending) how is SonarQube deployed: Zip what are you trying to achieve: Configure PR decorations suc…

---

## [Measuring Team Engagement with PR Decoration Feedback on Test Coverage](https://community.sonarsource.com/t/measuring-team-engagement-with-pr-decoration-feedback-on-test-coverage/141801)

<div class="topic-metadata">

**Author:** [@lpcruz](https://community.sonarsource.com/u/lpcruz)\
**Replies:** 1\
**Last updated:** [May 26, 2025, 12:26pm UTC](https://community.sonarsource.com/t/measuring-team-engagement-with-pr-decoration-feedback-on-test-coverage/141801 "2025-05-26T12:26:41Z")

</div>

Hi everyone, We’re exploring whether there’s a way to measure how teams are engaging with the PR decoration comments—particularly those related to test coverage. We’ve set up PR decoration to provide feedback on code q…

---

## [Invalid Azure URL or Personal Access Token - Working on 1 server but not another](https://community.sonarsource.com/t/invalid-azure-url-or-personal-access-token-working-on-1-server-but-not-another/141753)

<div class="topic-metadata">

**Author:** [@NicQb1](https://community.sonarsource.com/u/NicQb1)\
**Replies:** 1\
**Last updated:** [May 26, 2025, 8:32am UTC](https://community.sonarsource.com/t/invalid-azure-url-or-personal-access-token-working-on-1-server-but-not-another/141753 "2025-05-26T08:32:45Z")

</div>

We have 2 devOps integrations. One off site ADO and 1 on site TFS server. The ADO server looks fine with the integration to sonarqube. The configuration checks out. However, TFS is giving us a “Invalid Azure URL or Perso…

---

## [Pull request analysis for Bitbucket Server](https://community.sonarsource.com/t/pull-request-analysis-for-bitbucket-server/141766)

<div class="topic-metadata">

**Author:** [@azmi](https://community.sonarsource.com/u/azmi)\
**Replies:** 1\
**Last updated:** [May 26, 2025, 8:25am UTC](https://community.sonarsource.com/t/pull-request-analysis-for-bitbucket-server/141766 "2025-05-26T08:25:10Z")

</div>

SonarQube Server Developer Edition v2025.2 (105476), zip Our CI tool is Bitbucket Server and we would like to prevent pull request merges when the Sonar quality gate fails. Preventing pull request merges when the quali…

---

## [Current Method for Disabling PR Decoration in Azure DevOps?](https://community.sonarsource.com/t/current-method-for-disabling-pr-decoration-in-azure-devops/141236)

<div class="topic-metadata">

**Author:** [@Brad\_Lav](https://community.sonarsource.com/u/Brad_Lav)\
**Replies:** 1\
**Last updated:** [May 15, 2025, 5:23pm UTC](https://community.sonarsource.com/t/current-method-for-disabling-pr-decoration-in-azure-devops/141236 "2025-05-15T17:23:04Z")

</div>

How do I disable PR comments at the Enterprise or Organization level for Azure DevOps repos? It’s been well documented here that PR decoration is spammy on Azure DevOps. We just set up SQ Cloud and now Developers have …

---

## [Pull Request Decoration Not Working on One GitHub Repo](https://community.sonarsource.com/t/pull-request-decoration-not-working-on-one-github-repo/137188)

<div class="topic-metadata">

**Author:** [@dswanson](https://community.sonarsource.com/u/dswanson)\
**Replies:** 8\
**Last updated:** [March 26, 2025, 5:50pm UTC](https://community.sonarsource.com/t/pull-request-decoration-not-working-on-one-github-repo/137188 "2025-03-26T17:50:11Z")

</div>

Must-share information (formatted with Markdown): SonarQube Server Enterprise (2025.1) Docker I’m trying to get the PR decorator to post to the PR. About two years ago one of the repos just stopped getting a sonarqube …

---

## [Gitlab merge request decoration](https://community.sonarsource.com/t/gitlab-merge-request-decoration/137066)

<div class="topic-metadata">

**Author:** [@andrewwu](https://community.sonarsource.com/u/andrewwu)\
**Replies:** 2\
**Last updated:** [March 21, 2025, 12:54am UTC](https://community.sonarsource.com/t/gitlab-merge-request-decoration/137066 "2025-03-21T00:54:12Z")

</div>

Must-share information (formatted with Markdown): which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension): Sonarqube Server Developer Edition 2025.1 how is SonarQu…

---

## [Sonar-scanner pull request analysis is unable to identify new code in pull request](https://community.sonarsource.com/t/sonar-scanner-pull-request-analysis-is-unable-to-identify-new-code-in-pull-request/136243)

<div class="topic-metadata">

**Author:** [@sonardroid](https://community.sonarsource.com/u/sonardroid)\
**Replies:** 10\
**Last updated:** [March 9, 2025, 2:00pm UTC](https://community.sonarsource.com/t/sonar-scanner-pull-request-analysis-is-unable-to-identify-new-code-in-pull-request/136243 "2025-03-09T14:00:37Z")

</div>

Hi there, I’m having issues with pull request support in sonarqube server. Consider the following scenario I have branch base with a file A.java with the following contents class A { public static void main(Str…

---

## [PR decoration for Github failing due to configured repository slug](https://community.sonarsource.com/t/pr-decoration-for-github-failing-due-to-configured-repository-slug/135454)

<div class="topic-metadata">

**Author:** [@Isaac-Dubrawsky1](https://community.sonarsource.com/u/Isaac-Dubrawsky1)\
**Replies:** 6\
**Last updated:** [February 21, 2025, 8:05pm UTC](https://community.sonarsource.com/t/pr-decoration-for-github-failing-due-to-configured-repository-slug/135454 "2025-02-21T20:05:44Z")

</div>

We have a project that in GitHub that is not receiving PR decorations due to the following error: Failed to report status to Devops platform because the configured repository slug does not have the expected format 'orga…

---

## [Change PR decoration content](https://community.sonarsource.com/t/change-pr-decoration-content/134045)

<div class="topic-metadata">

**Author:** [@VIRGILE\_DEVAUX](https://community.sonarsource.com/u/VIRGILE_DEVAUX)\
**Replies:** 2\
**Last updated:** [January 29, 2025, 1:44pm UTC](https://community.sonarsource.com/t/change-pr-decoration-content/134045 "2025-01-29T13:44:13Z")

</div>

Hello, we’re using SonarQube 9.9.7 Developper edition and our project repository is on github. We setup PR decorations and I was wondering if tehre is a way to change the content of the PR decoration comment, for examp…

---

## [Gitlab pull request decoration doesn’t work](https://community.sonarsource.com/t/gitlab-pull-request-decoration-doesn-t-work/125511)

<div class="topic-metadata">

**Author:** [@chary1112004](https://community.sonarsource.com/u/chary1112004)\
**Replies:** 21\
**Last updated:** [December 20, 2024, 2:19am UTC](https://community.sonarsource.com/t/gitlab-pull-request-decoration-doesn-t-work/125511 "2024-12-20T02:19:46Z")

</div>

Hi, I am using SonarQube 9.9.1, GitLab Community Edition v17.2.7. Our project is hosted on Gitlab and we already set up pull request decoration successfully. However recently gitlab token is expired, and gitlab is upg…

---

## [SonarQube Integration into Gitlab:](https://community.sonarsource.com/t/sonarqube-integration-into-gitlab/129050)

<div class="topic-metadata">

**Author:** [@balaji\_g](https://community.sonarsource.com/u/balaji_g)\
**Replies:** 4\
**Last updated:** [October 28, 2024, 5:04pm UTC](https://community.sonarsource.com/t/sonarqube-integration-into-gitlab/129050 "2024-10-28T17:04:04Z")

</div>

Hi Team, We are in SonarQube community edition 10.6 I configure both, my SonarQube and Gitlab properly and I’m able to trigger SonarQube analysis on a MR. SonarQube them reports back to Gitlab with comments on the MR -…

---

## [No devops platform configured](https://community.sonarsource.com/t/no-devops-platform-configured/120763)

<div class="topic-metadata">

**Author:** [@colin\_expeto](https://community.sonarsource.com/u/colin_expeto)\
**Replies:** 5\
**Last updated:** [September 13, 2024, 1:43pm UTC](https://community.sonarsource.com/t/no-devops-platform-configured/120763 "2024-09-13T13:43:06Z")

</div>

Must-share information (formatted with Markdown): SonarQube Developer v9.9.6 (build 92038) Docker Merge Request Decorator New API Token / Different User Our merge request decorator used to work quite well, but for som…

---

## [Does PR decoration consider only one analysis result?](https://community.sonarsource.com/t/does-pr-decoration-consider-only-one-analysis-result/124809)

<div class="topic-metadata">

**Author:** [@Prathiksha\_P](https://community.sonarsource.com/u/Prathiksha_P)\
**Replies:** 1\
**Last updated:** [September 11, 2024, 7:50am UTC](https://community.sonarsource.com/t/does-pr-decoration-consider-only-one-analysis-result/124809 "2024-09-11T07:50:54Z")

</div>

Hello Team, We have 2 sonarcloud projects and in ado we have two prepare analaysis task to analysis FE and BE code in a single pull request pipeline, will sonarcloud consider only one analysis result for pr decoration?…

---

## [Can we set somehow that we want to merge PR only if BE & FE has success build?](https://community.sonarsource.com/t/can-we-set-somehow-that-we-want-to-merge-pr-only-if-be-fe-has-success-build/120458)

<div class="topic-metadata">

**Author:** [@Prathiksha\_P](https://community.sonarsource.com/u/Prathiksha_P)\
**Replies:** 3\
**Last updated:** [August 23, 2024, 5:52am UTC](https://community.sonarsource.com/t/can-we-set-somehow-that-we-want-to-merge-pr-only-if-be-fe-has-success-build/120458 "2024-08-23T05:52:26Z")

</div>

Hello Team, We have a PR that contains both FE and BE changes and in sonarcloud we have 2 projects for FE and BE respectively. We could see that firstly FE gate not passed ,later BE gate passed and then the entire PR p…

---

## [Sonar alaysis on Azure devops PR fails with error Could not find the pullrequest with key '48979'](https://community.sonarsource.com/t/sonar-alaysis-on-azure-devops-pr-fails-with-error-could-not-find-the-pullrequest-with-key-48979/120313)

<div class="topic-metadata">

**Author:** [@AjithJohn](https://community.sonarsource.com/u/AjithJohn)\
**Replies:** 3\
**Last updated:** [August 7, 2024, 12:44pm UTC](https://community.sonarsource.com/t/sonar-alaysis-on-azure-devops-pr-fails-with-error-could-not-find-the-pullrequest-with-key-48979/120313 "2024-08-07T12:44:29Z")

</div>

ALM used (Azure DevOps) CI system used (Azure DevOps) This issue started happening from yesterday evening. There has not been any issues before that and no pipeline or configuration changes were made before this.…

---

## [Two project monorepo shows two GH PR decorations but only one project changed](https://community.sonarsource.com/t/two-project-monorepo-shows-two-gh-pr-decorations-but-only-one-project-changed/118262)

<div class="topic-metadata">

**Author:** [@hwhartman](https://community.sonarsource.com/u/hwhartman)\
**Replies:** 3\
**Last updated:** [July 8, 2024, 2:05pm UTC](https://community.sonarsource.com/t/two-project-monorepo-shows-two-gh-pr-decorations-but-only-one-project-changed/118262 "2024-07-08T14:05:57Z")

</div>

which versions are you using: SonarQube 9.9 LTS Enterprise gradle plugin: 4.0.0.2929 sonar-scanner: 5.0.1.3006 how is SonarQube deployed: Docker what are you trying to achieve: Thanks in advance for your help. I …

---

## [Pull request decoration not happening in GitLab](https://community.sonarsource.com/t/pull-request-decoration-not-happening-in-gitlab/115871)

<div class="topic-metadata">

**Author:** [@rdu](https://community.sonarsource.com/u/rdu)\
**Replies:** 4\
**Last updated:** [July 3, 2024, 1:28pm UTC](https://community.sonarsource.com/t/pull-request-decoration-not-happening-in-gitlab/115871 "2024-07-03T13:28:50Z")

</div>

Hello, I need help configuring SonarCloud which doesn’t add pull request decoration in GitLab. SonarCloud organization bound to GitLab.com private group CI system used : GitLab CI Language : Java Scanning is triggered…

---

## [File no longer exists - Error in Pull Requests using azure devops](https://community.sonarsource.com/t/file-no-longer-exists-error-in-pull-requests-using-azure-devops/102652)

<div class="topic-metadata">

**Author:** [@Sandun\_Abeywickrama](https://community.sonarsource.com/u/Sandun_Abeywickrama)\
**Replies:** 21\
**Last updated:** [June 19, 2024, 12:21pm UTC](https://community.sonarsource.com/t/file-no-longer-exists-error-in-pull-requests-using-azure-devops/102652 "2024-06-19T12:21:36Z")

</div>

When a PR is raised we are getting several quality gate issues as bellow. “This file no longer exists in the latest pull request changes. It may have been moved or deleted” /home/vsts/work/1/s/src/{ourApiProjectNameHer…

[Next page](https://community.sonarsource.com/tag/pull-request-decorat/277.md?match_all_tags=true&page=1&tags%5B%5D=pull-request-decorat)
