Recent searches
No recent searches

rahul siddu
Joined Jan 29, 2024
·
Last activity Jul 17, 2024
Following
0
Followers
0
Total activity
9
Votes
2
Subscriptions
2
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by rahul siddu
rahul siddu commented,
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
View comment · Posted Jul 17, 2024 · rahul siddu
0
Followers
0
Votes
0
Comments
rahul siddu commented,
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.
View comment · Edited Jul 05, 2024 · rahul siddu
0
Followers
0
Votes
0
Comments
rahul siddu created a post,
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.

Posted Jul 02, 2024 · rahul siddu
0
Followers
0
Votes
0
Comments
rahul siddu created a post,
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
Posted May 02, 2024 · rahul siddu
0
Followers
4
Votes
4
Comments
rahul siddu commented,
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.
View comment · Edited Jan 29, 2024 · rahul siddu
0
Followers
1
Vote
0
Comments