}
if (body != null && !"".equals(body.trim())) {
Account acc = accountService.loadAccountByUserName(userName);
Person currentUser = acc.getUserProfile();
TicketUpdate update = new TicketUpdate();
update.setDetails(body);
update.setTicket(wt);
update.setRaisedBy(currentUser);
update.setAssignedTo(wt.getRaisedBy());
wt.addUpdate(update);
entityManager.persist(update);
}
}