if (comment != null) {
notification.setFieldValue("comment", comment);
}
if (currentChange != null) {
for (Map.Entry<String, FieldDiffs.Diff> entry : currentChange.diffs().entrySet()) {
String type = entry.getKey();
FieldDiffs.Diff diff = entry.getValue();
Serializable newValue = diff.newValue();
Serializable oldValue = diff.oldValue();
notification.setFieldValue("old." + type, oldValue != null ? oldValue.toString() : null);