diff options
author | DDMili <130993898+dejan-milisavljevic-sonarsource@users.noreply.github.com> | 2024-05-31 09:54:16 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-06-03 20:02:58 +0000 |
commit | 5f96967d771ff120340a5562acddbe03bcb61185 (patch) | |
tree | 2294aab34aa299c583041a379ea582fbf81c788d /sonar-ws/src | |
parent | 003ccb8b04fad9f4205707e84257a279eed91e42 (diff) | |
download | sonarqube-5f96967d771ff120340a5562acddbe03bcb61185.tar.gz sonarqube-5f96967d771ff120340a5562acddbe03bcb61185.zip |
SONAR-22224 Add prioritizedRule to issue/search api
Diffstat (limited to 'sonar-ws/src')
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java | 1 | ||||
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-issues.proto | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java index 3c557ffe473..2192d46a89d 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java @@ -61,6 +61,7 @@ public class IssuesWsParameters { public static final String PARAM_RESOLUTIONS = "resolutions"; public static final String PARAM_ISSUE_STATUSES = "issueStatuses"; public static final String PARAM_RESOLVED = "resolved"; + public static final String PARAM_PRIORITIZED_RULE = "prioritizedRule"; public static final String PARAM_COMPONENTS = "components"; public static final String PARAM_COMPONENT_KEYS = "componentKeys"; public static final String PARAM_COMPONENT_UUIDS = "componentUuids"; diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto index 46f4e9a299b..dcc65a70ee4 100644 --- a/sonar-ws/src/main/protobuf/ws-issues.proto +++ b/sonar-ws/src/main/protobuf/ws-issues.proto @@ -167,6 +167,7 @@ message Issue { optional sonarqube.ws.commons.CleanCodeAttributeCategory cleanCodeAttributeCategory = 41; repeated sonarqube.ws.commons.Impact impacts = 42; optional string issueStatus = 43; + optional bool prioritizedRule = 44; } message Transitions { |