python-sonarqube-api
python-sonarqube-api copied to clipboard
list of Issues always linked with the default Quality profile
this works fine
issues1 = list(sonar.issues.search_issues(componentKeys="my_project", branch="develop"))
but...OK only if the default quality profile is the default one ('sonar way').
If a given rule has been modified (let's say its severity CRITICAL in sonar way -> MAJOR in the new quality profile), then the command above will provide the same issue (i.e. same default severity CRITICAL -not MAJOR- even if the quality profile set to the new one).
without changing the current code, Is it possible to know all the rules linked with a given quality profile ?