How to migrate the Tickets Attachments from One Account to Another? | Community
Skip to main content

How to migrate the Tickets Attachments from One Account to Another?

  • August 24, 2022
  • 2 replies
  • 0 views

Hi,

Does anyone have any idea how to migrate ticket's comments attachment from one account to another without manual effort using API?

Thanks

2 replies

  • Author
  • August 24, 2022

Adding more information: For example, If I have to migrate 100 tickets from Account A and those tickets contain attachments as well. Currently, I see we need to manually download attachments and then upload in the Zendesk and then link them using API. I want to avoid that manual download step. Thanks

@james51 @erica26 any thoughts?
I have similar problem https://support.zendesk.com/hc/en-us/community/posts/4411831431450-Download-the-Zendesk-ticket-attachment-via-API


  • August 30, 2022
Hi Usman,
 
Thanks for posting your question to the Community! I would recommend utilizing the Show Attachment API and Upload API to help automate some of it. You could create a function to iterate over the tickets and download the attachments using the Show Attachment API. Then use the Upload API to upload and attach it to the corresponding ticket.
 
Hope this helps!
 
Erica