Recherches récentes


Pas de recherche récente

rahul siddu's Avatar

rahul siddu

Adhésion le 29 janv. 2024

·

Dernière activité le 17 juil. 2024

Suivis

0

Abonnés

0

Activité totale

9

Votes

2

Abonnements

2

APERÇU DES ACTIVITÉS

Dernière activité effectuée par rahul siddu

rahul siddu a ajouté un commentaire,

Commentaire de la communauté 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
 

Afficher le commentaire · Publication le 17 juil. 2024 · rahul siddu

0

Abonnés

0

Votes

0

Commentaire


rahul siddu a ajouté un commentaire,

Commentaire de la communauté 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.

Afficher le commentaire · Modification le 05 juil. 2024 · rahul siddu

0

Abonnés

0

Votes

0

Commentaire


rahul siddu a créé une publication,

Publication 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.
 

Publication le 02 juil. 2024 · rahul siddu

0

Abonnés

0

Votes

0

Commentaire


rahul siddu a créé une publication,

Publication 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

Publication le 02 mai 2024 · rahul siddu

0

Abonnés

4

Votes

4

Commentaires


rahul siddu a ajouté un commentaire,

Commentaire de la communauté 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.

Afficher le commentaire · Modification le 29 janv. 2024 · rahul siddu

0

Abonnés

1

vote

0

Commentaire