Im trying to recreate notifications in Bamboo build plan from Java code.
new Notification().type(new XFailedChainsNotification().numberOfFailures(1))
.recipients(new UserRecipient("admin")),
But I want to use Slack channel as recipient. There's no appropriate recipient class in Java library.
There's HipChatRecipient or ImRecipient, but it doesn't look appropriate.
We have Slack support on the server . But how would interaction with it from Java code look like?