}
}
if (changelogIndexingMode == IssueCommentIndexingMode.EMBEDDED) {
List<Map<String, Object>> changelogs = extractIssueChangelogs(issue);
if (changelogs != null && !changelogs.isEmpty()) {
out.startArray(indexFieldForChangelogs);
for (Map<String, Object> changelog : changelogs) {
out.startObject();
addCommonFieldsToChangelogIndexedDocument(out, issueKey, changelog);
out.endObject();
}