最近の検索
最近の検索はありません
How can I search tickets by more than one status using the ZD API?
投稿日時:2022年11月09日
The documentation doesn't clarify it:
https://developer.zendesk.com/documentation/ticketing/using-the-zendesk-api/searching-with-the-zendesk-api/
As always, thanks in advance ;)
0
5
5件のコメント
diegotco
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
diegotco
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
Eric Nelson
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
diegotco
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
Eric Nelson
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 stateHope this helps!
0
サインインしてコメントを残してください。