最近搜索


没有最近搜索

rahul siddu's Avatar

rahul siddu

已加入2024年1月29日

·

最后活动2024年7月17日

关注

0

关注者

0

活动总数

9

投票

2

订阅

2

活动概览

的最新活动 rahul siddu

rahul siddu 进行了评论,

社区评论 Developer - Zendesk APIs

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 进行了评论,

社区评论 Developer - Zendesk APIs

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 创建了一个帖子,

帖子 Developer - Zendesk Apps Framework (ZAF)

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 创建了一个帖子,

帖子 Developer - Zendesk APIs

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 进行了评论,

社区评论 Developer - Zendesk APIs

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

评论