简体   繁体   中英

How to get all tickets of a group trough official Zendesk API PHP client?

I'm using the offical Zendesk PHP API client but I cannot find any documentation on how to get all tickets of a special group.

I already studied the README.MD on GitHub, the samples and also source code of the framework but I could not figure it out.

I have the group ID, but it would also be possible to search the tickets with a tag. Unfortunately I am not able to search for tickets, just for users.

After a few days Zendesk support got back to me, and the solution is quite simple if you know how:

With $client->search()->find('type:ticket group:GROUP_NAME') you can use all query parameters described in the Zendesk API Documentation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM