From 25bd9de4bdd870f60f2a1efa095dc8ec2f9d5ca4 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Mon, 8 Feb 2021 16:17:15 -0600 Subject: [PATCH] SONAR-14311 Make it explicit that /api/issues/bulk_change only sets comments on issues that are changed --- .../main/java/org/sonar/server/issue/ws/BulkChangeAction.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/BulkChangeAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/BulkChangeAction.java index 93202845f12..4f77626fa40 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/BulkChangeAction.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/BulkChangeAction.java @@ -187,7 +187,8 @@ public class BulkChangeAction implements IssuesWsAction { .setExampleValue("security,java8") .setDeprecatedKey("remove_tags.tags", "6.2"); action.createParam(PARAM_COMMENT) - .setDescription("To add a comment to a list of issues") + .setDescription("Add a comment. " + + "The comment will only be added to issues that are affected either by a change of type or a change of severity as a result of the same WS call.") .setExampleValue("Here is my comment"); action.createParam(PARAM_SEND_NOTIFICATIONS) .setSince("4.0") -- 2.39.5