aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src
diff options
context:
space:
mode:
authorDDMili <130993898+dejan-milisavljevic-sonarsource@users.noreply.github.com>2024-05-31 09:54:16 +0200
committersonartech <sonartech@sonarsource.com>2024-06-03 20:02:58 +0000
commit5f96967d771ff120340a5562acddbe03bcb61185 (patch)
tree2294aab34aa299c583041a379ea582fbf81c788d /sonar-ws/src
parent003ccb8b04fad9f4205707e84257a279eed91e42 (diff)
downloadsonarqube-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.java1
-rw-r--r--sonar-ws/src/main/protobuf/ws-issues.proto1
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 {