Ticket Search API return 0

Infos:

  • Used Zammad version: 2.2 with elasticsearch 5.6.6
  • Used Zammad installation source: Source
  • Operating system: Centos 7
  • Browser + version: All

Expected behavior:

  • When executed curl request as below, the result should return 2 ticket details

curl -u username@test.com:123456 ‘http://192.168.x.x/api/v1/tickets/search?query=state:open&limit=10

Actual behavior:

  • query above return 0 value

{“tickets”:[],“tickets_count”:0,“assets”:{}}

Steps to reproduce the behavior:

  • create a few open ticket
  • test the search via curl for open ticket
  • 0 result return
  • test with another filter (e.g: group) also return 0
  • using user id that have all permission in all group

Did i need to setup anything ?

Thanks in advanced

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.