From: Teryk Bellahsene Date: Fri, 19 May 2017 15:06:38 +0000 (+0200) Subject: SONAR-9269 WS api/issues/add_comment change description to changelog X-Git-Tag: 6.5-M1~177 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=da5127258e536a6648653d189aa8c949a7ffc2f7;p=sonarqube.git SONAR-9269 WS api/issues/add_comment change description to changelog --- diff --git a/server/sonar-server/src/main/java/org/sonar/server/issue/ws/AddCommentAction.java b/server/sonar-server/src/main/java/org/sonar/server/issue/ws/AddCommentAction.java index 4c3a996babe..b056349b8f3 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/issue/ws/AddCommentAction.java +++ b/server/sonar-server/src/main/java/org/sonar/server/issue/ws/AddCommentAction.java @@ -21,6 +21,7 @@ package org.sonar.server.issue.ws; import com.google.common.io.Resources; import java.util.Date; +import org.sonar.api.server.ws.Change; import org.sonar.api.server.ws.Request; import org.sonar.api.server.ws.Response; import org.sonar.api.server.ws.WebService; @@ -68,9 +69,9 @@ public class AddCommentAction implements IssuesWsAction { public void define(WebService.NewController context) { WebService.NewAction action = context.createAction(IssuesWsParameters.ACTION_ADD_COMMENT) .setDescription("Add a comment.
" + - "Requires authentication and the following permission: 'Browse' on the project of the specified issue.
" + - "Since 6.3, the response contains the issue with all details, not only the added comment") + "Requires authentication and the following permission: 'Browse' on the project of the specified issue.") .setSince("3.6") + .setChangelog(new Change("6.3", "the response returns the issue with all its details")) .setHandler(this) .setResponseExample(Resources.getResource(this.getClass(), "add_comment-example.json")) .setPost(true);