RocketChat / RocketChat/Rocket.Chat

Can't set the channel for an outgoing webhook to `all_public_channels,all_private_groups,all_direct_messages`

Open
#29,404 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

When creating an outgoing webhook, it's not possible to set the channel to all_public_channels,all_private_groups,all_direct_messages.

Steps to reproduce:
  1. Create an outgoing webhook
  2. set the channel to all_public_channels,all_private_groups,all_direct_messages
  3. save
Expected behavior:

Integration is saved

Actual behavior:

There's an error message in the UI saying "Invalid channel", and the integration is not saved

Server Setup Information:
  • Version of Rocket.Chat Server: 6.2.1
Client Setup Information

Consistent across different browsers and OS

Additional context

Following https://forums.rocket.chat/t/outgoing-webhook-that-triggers-on-a-user-mention-or-direct-message/3488/2 and https://github.com/RocketChat/Rocket.Chat/issues/4662#issuecomment-331150973, I was assuming that this is the correct setting for listening on all messages in all channels.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the outgoing webhook setup described in the issue using the channel value all_public_channels,all_private_groups,all_direct_messages, then trace the validation that produces the UI's "Invalid channel" error. Done means the integration saves successfully with that value and the relevant validation coverage passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.