IntelliJ New Code analysis

Hi @markluebbehuesen, thank you for your report!

Unfortunately, we do not support Reference Branch for New Code Definition in SonarLint.

However, in your screenshot, we can see that it refers to since version, which is strange because if the New Code Definition was set to Reference Branch on SonarQube, then you would see (unsupported new code definition).

Could you please try to run the following URL and share with us the result?

<SQ_URL>/api/measures/component?additionalFields=period&metricKeys=projects&component=<PROJECT_KEY>&branch=<BRANCH_NAME>

The project key can be found on the Project information page of your SonarQube project