Map parameters = EasyMap.build("issue", issue.getGenericValue(),
"remoteUser", remoteUser,
"body", comment,
"dispatchEvent", new Boolean(false),
"timestamp", new java.util.Date(System.currentTimeMillis()));
ActionResult aResult = CoreFactory.getActionDispatcher().execute(ActionNames.COMMENT_CREATE, parameters);
ActionUtils.checkForErrors(aResult);