String (@NotNull Task task, String format) { Map<String, String> map = formatFromExtensions(task instanceof LocalTask ? (LocalTask)task : new LocalTaskImpl(task)); if (!task.isIssue()) { map.put("id", ""); // clear fake id } format = updateToVelocity(format); return FileTemplateUtil.mergeTemplate(map, format, false); }