Description:
There is no possibility to use 'query' field with methods like channels.list.joined, groups.list, groups.listAll, im.list becase 'query' is not supported. There is a problem to select rooms with specific properties/regex conditions like customFields.
Server Setup Information:
- Version of Rocket.Chat Server: 0.61.0-develop on Jan 17, 2018
- Operating System: Ubuntu Server
- Deployment Method(snap/docker/tar/etc): Local compilation and launch a bundle
- Number of Running Instances: 1
- DB Replicaset Oplog: Disabled
- Node Version: 8.9.4
Steps to Reproduce:
Using REST API:
- Create a group with customFields.field1
- Provide a 'query' parameter in groups.list request like { "customFields.field1": "aaa-1"}
- Check that only channels with "customFields.field1" = "aaa-1" are in the output