Skip to content

Rocket.Chat incoming webhooks on card events #439

@TomaszDom

Description

@TomaszDom

✨ Feature Request

Is your feature request related to a problem? Please describe.
Rocket.chat channel with notifications from kan's card events. E-mail notifications are sometimes not enough.

Describe the solution you'd like
Enable/disable rocket.chat webhooks, provide rocket.chat URL, provide rocket.chat TOKEN. Customize which events should trigger a webhook.

A payload looks like this:

{
  "text": "Example message",
  "attachments": [
    {
      "title": "Rocket.Chat",
      "title_link": "https://rocket.chat",
      "text": "Rocket.Chat, the best open source chat",
      "image_url": "[ROCKETCHAT_URL]/images/integration-attachment-example.png",
      "color": "#764FA5"
    }
  ]
}

sending an example message looks like this:

curl -X POST -H 'Content-Type: application/json' --data '{"text":"Example message","attachments":[{"title":"Rocket.Chat","title_link":"https://rocket.chat","text":"Rocket.Chat, the best open source chat","image_url":"[ROCKETCHAT_URL]/images/integration-attachment-example.png","color":"#764FA5"}]}' [ROCKETCHAT_URL]/hooks/[ROCKETCHAT_TOKEN]

There should be three new variables, for enabling this feature, for providing the URL and for providing the token.

The webui should allow enabling/disabling webhooks per board and choosing which card events should fire a webhook.

Describe alternatives you've considered
E-mail notifications, but they aren't enough for us.

Additional context

Implementation ideas (optional)

Would you like to work on this feature?

  • Yes, I'd like to help implement this feature
  • [ x] No, I'm just suggesting the feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions