public static CommentJsonBean shortBean(final Comment comment, final JiraBaseUrls urls,
final ProjectRoleManager projectRoleManager, final ApplicationUser loggedInUser, final EmailFormatter emailFormatter)
{
if (comment == null)
{
return null;
}
final CommentJsonBean bean = new CommentJsonBean();
addNonRenderableStuff(bean, comment, urls, projectRoleManager, loggedInUser, emailFormatter);
bean.body = comment.getBody();
bean.setCreated(comment.getCreated());
bean.setUpdated(comment.getUpdated());
return bean;
}