最近の検索


最近の検索はありません

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

コメント