최근 검색


최근 검색 없음

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



2022년 11월 09일에 게시됨


0

5

댓글 5개

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


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물