From 584c902520e5a209f221672f2d0400d0b768f12b Mon Sep 17 00:00:00 2001 From: Teryk Bellahsene Date: Fri, 19 May 2017 18:03:30 +0200 Subject: [PATCH] SONAR-9269 WS api/issues/add_comment deprecate components.uuid field in response --- .../main/java/org/sonar/server/issue/ws/AddCommentAction.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 12de91a95f2..61bae87ac54 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 @@ -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); -- 2.39.5