in src/main/java/com/googlesource/gerrit/plugins/its/jira/JiraClient.java [95:110]
public void addComment(JiraItsServerInfo server, String issueKey, String comment)
throws IOException {
if (issueExists(server, issueKey)) {
log.debug("Trying to add comment for issue {}", issueKey);
apiBuilder
.getIssue(server)
.doPost(
issueKey + "/comment",
gson.toJson(new JiraComment(comment, server.getVisibility())),
HTTP_CREATED);
log.debug("Comment added to issue {}", issueKey);
} else {
log.error("Issue {} does not exist or no access permission", issueKey);
}
}