Ticket 'close_at' query


  • Used Zammad version: 3.2.x
  • Used Zammad installation source: package
  • Operating system: Ubuntu 18.04.3
  • Browser + version: cURL

Expected behavior:

  • Filtering for last day

Actual behavior:

  • No result

Steps to reproduce the behavior:

MBP-van-Yvan:~ yvanwatchman$ curl -u ':’ "https://zammad.dev.********.nl/api/v1/tickets/search?query=close_at:>2020-01-10&sort_by=last_contact_agent_at&order_by=desc&limit=1" -s | jq '.assets | .Ticket ’
MBP-van-Yvan:~ yvanwatchman$

So the real question is, how do I filter a datetime field?

Topic can be closed, solution is:

query=close_at:now-(time, eg. 24h)

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