Pull request decoration - project id

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension): Enterprise edition 8.6

  • what are you trying to achieve: I have configured gitlab configuration for ‘Pull request decoration’ filed, but I want to get project id from Gitlab project, is there any api command available to achieve this? because every time manually I need to edit the Project id field.

  • what have you tried so far to achieve this: Checking for any api command


Welcome to the community!

First, your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.6 → 8.9.2 → 9.1 (last step optional)

Once you’ve upgraded, you’ll find that project creation/onboarding is easier in recent versions, with an improved configuration tutorial. So that should hopefully get your project id correctly populated in the right places.



Thanks for the response, but I was looking for an api command to do that? is that possible without the version upgrade? pls let me know

Any update on my above query?