}
public Comment addCommentToIssue(BasicIssue issue, String commentText) {
// URI self, String body, @Nullable BasicUser author, @Nullable BasicUser updateAuthor, DateTime creationDate, DateTime updateDate, Visibility visibility, @Nullable Long id
DateTime now = new DateTime();
Comment comment = new Comment(null, commentText, null, null, now, null, null, issue.getId());
List<Comment> commentsForIssue = comments.get(issue.getId());
if (commentsForIssue == null) {
commentsForIssue = new ArrayList<Comment>();
}
commentsForIssue.add(comment);