API, Ticket search for not filled objects

Infos:

  • Used Zammad version: 3.1

Can I search for objects that are not filled with the api? Like this:

https://[servername]/api/v1/tickets/search?query=[object name]:NULL&limit=2

I don’t find something, that show an example for this.

Thanks

Yes, if you use nil instead of null you should be good to go.

Even with nil it doesn’t work for me.
https://[servername]/api/v1/tickets/search?query=[object name]:?query=github:NIL&limit=2

https://[servername]/api/v1/tickets/search?query=github:nil

Works just fine.

ok, we have now solved it differently.

1 Like

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