Skip to content

'Query' field does not work with channels.list.joined, groups.list, groups.listAll, im.list #9423

@xbolshe

Description

@xbolshe

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:

  1. Create a group with customFields.field1
  2. Provide a 'query' parameter in groups.list request like { "customFields.field1": "aaa-1"}
  3. Check that only channels with "customFields.field1" = "aaa-1" are in the output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions