Move channels to other teams
Situations:
- When a projects splits up, certain channels need to go to the new team.
- When an idea grows (channel in the main team), it needs to be moved to its own team.
- For contract-reasons some channels need to be archived, where only management has access.
- When reorganizing the teams and channels
- When letting a customer access Mattermost, not all channels (like "problems with customer communication") should be in that team.
How to move a channel to another team? It seems not to be possible, and I prefer not to go into database-hacking.
Mattermost v4.2 and later supports an admin CLI command to move channels between teams.
More information in our docs: https://docs.mattermost.com/administration/command-line-tools.html#platform-channel-move
Huge thanks everyone for contributing to this feature proposal!
-
Anonymous commented
Is this not what you want : https://docs.mattermost.com/administration/command-line-tools.html#platform-channel-move ?
-
Vincent commented
Yes, this indeed works:
> select id from teams where name='new-team';
> update channels set teamid='team-id-you-just-got' where name='channel-to-move';Then refresh the webpage
-
Vincent commented
Is this possible to update the column 'teamId' in the table 'channels'? Or will this break it?