최근 검색


최근 검색 없음

Bulk import tickets with attachmnets



2023년 10월 04일에 게시됨

Hi all

Am currently working in a project where I need to bulk import tickets from one Zendesk account into another.

Am using this endpoint to get tickets:

/incremental/tickets/cursor.json?start_time=${unix_time}

As it is recommended from the docs (https://developer.zendesk.com/documentation/ticketing/managing-tickets/using-the-incremental-export-api/#cursor-based-incremental-exports)

Afterwards I do some maping where I search for requesters, assignee and submitters in their new environmnet based on the email from the old environment, then map this to the new userId in their new environment.

Morover, also do some maping related to fields, brand, groups etz.

This all work fine when I then add the tickets array to the endpoint: 
/imports/tickets/create_many
(https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_import/).

Which is a great endpoint as the customer wants to have the correct ticket metrics for created_at, solved etz.

However, am stuck on the attachmnet part of it, as I do need to upload attachmnet on comments to the new ticketId in the new environmnet. 

What is the best way to solve this?

1

3

댓글 3개

ping!

0


We're also interested in doing something like this. Would be great to see what others have done. 

0


This project was delivered after some time, did manage to solve the attachmnet as well.

0


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물