As we just enabled SonarCloud on a large repo spanning several teams, we’re interested in seeing a report of quality gate failures over time on all branches. we don’t want to use this as a metric to discourage developers from pushing work-in-progress code, but rather to see how effective SonarCloud is in getting developers to change their coding patterns and improving their code in future commits.
Did you look at the “Measures > Releasability > Quality Gate Status” and then click on the little graph icon?
You get here a graph looking like this:
Would that help you or you expect something else?
The data of that graph might be something that could work, but it’s only available for the main branch. We’d want something to see that across all the other branches/PRs.