최근 검색
최근 검색 없음

rahul siddu
가입한 날짜: 2024년 1월 29일
·
마지막 활동: 2024년 7월 17일
팔로잉
0
팔로워
0
총 활동 수
9
투표 수
2
플랜 수
2
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 rahul siddu
rahul siddu님이 에 댓글을 입력함
hi 이지훈(Lee jihoon),
Even i was moving back 1 week instead of 1 month, Although i was searching for one single api which returns n solved tickets.
Thanks for your response, i will move 1 month back
댓글 보기 · 2024년 7월 17일에 게시됨 · rahul siddu
0
팔로워
0
투표 수
0
댓글
rahul siddu님이 에 댓글을 입력함
hi Ned Petrov we are searching for closed tickets week by week,here is my python code .
end_date = datetime.utcnow()
start_date = end_date - timedelta(days=1)
results = []
seen_ticket_ids = set()
while len(results) < max_tickets and start_date > datetime(2023, 1, 1): # Example: lower bound date
params = {
'query': f"type:ticket updated_at>={start_date.strftime('%Y-%m-%d')} updated_at<={end_date.strftime('%Y-%m-%d')} status:solved or status:closed",
'sort_by': 'updated_at',
'sort_order': 'desc',
}
tickets,seen_ticket_ids,next_page = get_unique_tickets(seen_ticket_ids,max_tickets,zendesk_headers,url,params)#first call
results += tickets
while next_page and len(results) < max_tickets:#paginated query
tickets,seen_ticket_ids,next_page = get_unique_tickets(seen_ticket_ids,max_tickets,zendesk_headers,next_page,params)
results += tickets
end_date = start_date
start_date -= timedelta(days=7) # Decrement the date by one day
return results
i know this takes lot of time to get 2000 closed tickets.
let me know, if there is a better way to get all the solved 2000 or n tickets.
댓글 보기 · 2024년 7월 05일에 편집됨 · rahul siddu
0
팔로워
0
투표 수
0
댓글
rahul siddu님이 에 게시물을 만듦
Hi ,
Is it possible to control the hover states, as i am getting double hover states , i guess it is due to title is set to app name on button.
not sure why i can't see the double hovers on first three app icons.

2024년 7월 02일에 게시됨 · rahul siddu
0
팔로워
0
투표 수
0
댓글
rahul siddu님이 에 게시물을 만듦
Hi,
i am trying to retrieve 2000 solved tickets using search API , but i am unable to get 2000 solved tickets.
first query - i made to get the solved tickets , i used pagination ,so i made 10 calls to get 1000 tickets which are updated less than current date , each page giving me 100 tickets each .
interestingly ,
i took the first query results for my second and subsequent API calls, for second query i took last ticket updated at field of first query and made API calls (i.e. ticket updated less than this date and status as solved ). but it either returned few ticket or nothing and after that tickets in the search results are empty
any help to get the 2000 tickets which are solved?
thanks
Rahul
2024년 5월 02일에 게시됨 · rahul siddu
0
팔로워
4
투표 수
4
댓글
rahul siddu님이 에 댓글을 입력함
hi Zach Anthony , i have a very similar use case. I want my backend to know, that the app is uninstalled for this zendesk instance. (i.e. any trigger that lets our backend know that the app is uninstalled for this Zendesk instance).
does zendesk provide any such trigger events ?
if not, please let us know any solutions for the same
thanks.
댓글 보기 · 2024년 1월 29일에 편집됨 · rahul siddu
0
팔로워
1
투표
0
댓글