Use case: One Code Smell will not cause FAIL. Probably I could setup it using admin interface, which I do not have access to. Or I could have working code, which I could spread across many repositories, and change rules from code.
I do not want to use default mechanism from the screenshot, as it creates spam
What edition of SonarQube are you using? If you’re not sure, you can check the page footer.
Because that sort of decoration is only for pull request analysis, which starts in Developer Edition($). So if you’re in Community Edition, or what you’re analyzing isn’t a PR, that decoration simply isn’t available.