How can I search tickets by more than one status using the ZD API?



Data ultimo post: 09 nov 2022


0

5

5 commenti

In case there is someone looking for a Python program to get data from Zendesk tickets, you can try this:
https://github.com/diegotco/zendesk_tickets_data

 

0


I did not see it coming, ha ha 😂 This is precisely what I need. 

Thank you very much, Eric. I appreciate a lot!

[SOLVED]

0


Hey Diego,

Closed is a greater status than solved so you'd just need to do a greater than or equal to operator (>=).

/api/v2/search.json?query=status>=solved

0


Thank you, Eric:

 

I just want to pull data only for closed+solved tickets, so I think I need to make another call, but would be great if further API versions allow this ;)

 

 

0


Hey Diego,

You can use the search operators to give you the capability of searching more than one ticket type. 
 
e.g. /api/v2/search.json?query=status<=solved will return all tickets that are less than or equal to a solved state
 
Hope this helps!
 

0


Accedi per aggiungere un commento.

Non hai trovato quello che cerchi?

Nuovo post