]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-9269 WS api/issues/add_comment deprecate components.uuid field in response
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Fri, 19 May 2017 16:03:30 +0000 (18:03 +0200)
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Tue, 23 May 2017 07:38:51 +0000 (09:38 +0200)
server/sonar-server/src/main/java/org/sonar/server/issue/ws/AddCommentAction.java

index 12de91a95f2a8de8ac5a2bb1c8f5bb094fd1b83e..61bae87ac54145557329b0b3078899fd964b2499 100644 (file)
@@ -73,7 +73,8 @@ public class AddCommentAction implements IssuesWsAction {
       .setSince("3.6")
       .setChangelog(
         new Change("6.3", "the response returns the issue with all its details"),
-        new Change("6.5", "the database ids of the components are removed from the response"))
+        new Change("6.5", "the database ids of the components are removed from the response"),
+        new Change("6.5", "the response field components.uuid is deprecated. Use components.key instead."))
       .setHandler(this)
       .setResponseExample(Resources.getResource(this.getClass(), "add_comment-example.json"))
       .setPost(true);