Pull Request Decoration configuration for Azure Devops

We are using quality gates to block pull request and we had some issues when the azure personal token expired. We changed it and eveything works again.

However, we noticed that there is a choice of 5 configurations with simliar names. In the ALM integration settings there is no field to choose the name of the configuration and it is not possible to have more than one configuration… Where did the 4 other configs come from, how can we change them?

We are using SonarQube version 8.4


We had the same problem, we deleted the extra tokens through the api to avoid confusion in the future.

1 Like

@Rouke.Broersma.IS thanks for the suggestion.

Is it safe to assume that the configuration without number is always the current one? So if I change the token I won’t have to go back and change the PR Decoration configs for each project that use Quality Gates?

We just deleted all of them and added a new token to avoid any issues.

Hi @wakawakawaka , thanks for sharing this issue with us.

Unfortunately, we haven’t been able to reproduce this scenario on our side.

The solution @Rouke.Broersma.IS is proposing, to delete the configurations through the API and create a new one with the desired token, is a valid workaround.