diff --git a/echo-notifications/src/main/groovy/com/netflix/spinnaker/echo/controller/NotificationController.java b/echo-notifications/src/main/groovy/com/netflix/spinnaker/echo/controller/NotificationController.java index 142bc4655..ec237a275 100644 --- a/echo-notifications/src/main/groovy/com/netflix/spinnaker/echo/controller/NotificationController.java +++ b/echo-notifications/src/main/groovy/com/netflix/spinnaker/echo/controller/NotificationController.java @@ -61,6 +61,15 @@ public class NotificationController { */ @RequestMapping(method = RequestMethod.POST) public EchoResponse create(@RequestBody Notification notification) { + + notificationServices.stream() + .forEach( + it -> { + if (!("SLACK".equals(notification.getNotificationType()))) { + notification.setUseInteractiveBot(false); + notification.setInteractiveActions(null); + } + }); val notificationService = notificationServices.stream() .filter(