for (Map<String, Object> comment : comments) {
out.startObject();
addCommonFieldsToCommentIndexedDocument(out, issueKey, comment);
out.endObject();
}
out.endArray();
}
}
if (changelogIndexingMode == IssueCommentIndexingMode.EMBEDDED) {
List<Map<String, Object>> changelogs = extractIssueChangelogs(issue);
if (changelogs != null && !changelogs.isEmpty()) {