Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

list of Issues always linked with the default Quality profile #60

Open
prunier opened this issue Sep 14, 2022 · 0 comments
Open

list of Issues always linked with the default Quality profile #60

prunier opened this issue Sep 14, 2022 · 0 comments

Comments

@prunier
Copy link

prunier commented Sep 14, 2022

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 ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant