API Query do not work correct since Update to 4.0

Infos:

  • Used Zammad version: 4.1.0-1626688698.e128acea.stretch
  • Used Zammad installation type: (source, package, docker-compose, …) package
  • Operating system: Debian 9
  • Browser + version:
  • elasticsearch: 6.8.17

Expected behavior:

the query shall report all Tickets with the group_id=5 as before the update

Actual behavior:

since update to Version 4 of zammad API do not work as before.

we use this query: api/v1/tickets/search?query=group_id%3A5

The result is only one ticket, but it should be more than 20. And on top, the ticket which is reported back has in fact not the group_id 5 but 6 like many others.

“{“tickets”:[3209],“tickets_count”:1,“assets”:{“Ticket”:{“3209”:{“id”:3209,“group_id”:5,“priority_id”:1,“state_id”:5,“organization_id”:19,“number”:“6332091”,“title”:”…

We have rebuilt the index and could solve the problem for a day. Next day we this trouble with other tickets.

Steps to reproduce the behavior:

So if I get you right you’re missing search results from newer or updated tickets?
This sounds like either performance issues (aka search index not being built in term or not at all).

Your system load and production.log may indicate issues.
zammad run rails r "p Delayed::Job.count" should indicate 0 or below 500 all over during your work day.

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