return errorFieldList;
}
private String getPayload(Map<String, Object> objectMap) {
DefectPayload payload = new DefectPayload(objectMap, getJiraMetadata());
try {
return new ObjectMapper().writeValueAsString(payload);
} catch (IOException e) {
throw new DefectTrackerFormatException(e, "We were unable to serialize object as JSON");