API returns not all assigned tickets

  • Used Zammad version: 6.4.1-1736159868.df374f06.noble
  • Used Zammad installation type: package
  • Operating system: Ubuntu 24.04.1 LTS
  • Browser + version: edge

Expected behavior:

  • API should return all tickets assigned to agent

Actual behavior:

//

Steps to reproduce the behavior:

  • assign tickets to agent but set different group to them
  • agent belongs to all group, which are on his assigned tickets
  • agent logs in to web ui, open overview (My Assigned Tickets)
  • execute API call: GET <zammad_url>/api/v1/tickets/search?query=owner_id:23
  • compare tickets in above overview and from returned result of called API

Hello,

I’have encountered on interesting issue.If I execute above API call, there is just one ticket returned in the list. But second assigned ticket, which has different group as first one, is not in the returned list.
But If I login to web ui as agent and open overview with “My Assigned Tickets” there are all tickets.

Can anyone explain where could be the problem?

Thanks

Regards

Pavel

Hi @pavelb. Just a wild guess: Your data in Elasticsearch is not up-to-date.

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