dto.setChangeType(TYPE_COMMENT);
dto.setChangeData(comment.text());
dto.setUserLogin(comment.userLogin());
return dto;
}
<BUG>static IssueChangeDto diffsToDto(String issueKey, FieldDiffs diffs) {
</BUG>
IssueChangeDto dto = newDto(issueKey);
dto.setChangeType(TYPE_FIELD_CHANGE);
dto.setChangeData(diffs.toString());

dto.setChangeType(TYPE_COMMENT);
dto.setChangeData(comment.text());
dto.setUserLogin(comment.userLogin());
return dto;
}
static IssueChangeDto changeToDto(String issueKey, FieldDiffs diffs) {
IssueChangeDto dto = newDto(issueKey);
dto.setChangeType(TYPE_FIELD_CHANGE);
dto.setChangeData(diffs.toString());
