diff --git a/managed/src/main/java/com/yugabyte/yw/commissioner/AbstractTaskBase.java b/managed/src/main/java/com/yugabyte/yw/commissioner/AbstractTaskBase.java index 85d6f4f79205..df205439d64b 100644 --- a/managed/src/main/java/com/yugabyte/yw/commissioner/AbstractTaskBase.java +++ b/managed/src/main/java/com/yugabyte/yw/commissioner/AbstractTaskBase.java @@ -174,11 +174,11 @@ public void sendNotification() { CustomerTask task = CustomerTask.findByTaskUUID(userTaskUUID); Customer customer = Customer.get(task.getCustomerUUID()); ObjectNode notificationData = Json.newObject() - .put("alertname", "Backup failure") + .put("alert_name", "Backup failure") .put("task_type", task.getType().name()) .put("target_type", task.getTarget().name()) .put("target_name", task.getNotificationTargetName()) - .put("alert_info", taskInfo); + .put("task_info", taskInfo); String customerTag = String.format("[%s][%s]", customer.name, customer.code); List destinations = new ArrayList<>(); String ybEmail = appConfig.getString("yb.health.default_email", null);