RocketChat / RocketChat/Rocket.Chat
Can't set the channel for an outgoing webhook to `all_public_channels,all_private_groups,all_direct_messages`
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:
- Create an outgoing webhook
- set the channel to
all_public_channels,all_private_groups,all_direct_messages - 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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