How to download Zendesk all attachments of all tickets | Community
Skip to main content

How to download Zendesk all attachments of all tickets

  • January 29, 2020
  • 6 replies
  • 0 views

Hi Community,

We are migrating from Zendesk into ServiceNow. And part of our requirement is to move all the ticket history including all tickets, comments and attachments from Zendesk to ServiceNow. 

Is there is an API to extract the attachments from Zendesk ticket (may be as blob) so that I can iterate through all tickets and make this API call to get the attachments ? I came across this following API, but it only returns attachment data not the actual attachment. 

GET /api/v2/attachments/{id}.json

 

6 replies

Hey @Hari, did you have any luck with this? I am running into the same issues, I need the actual attachment and not the URL. Any help is appreciated!

TIA


Devan
  • May 20, 2020

Hello @Jonathan Cavey,

My recommendation for this would be to utilize the Download All Attachments App! It is a free app that will let you Download all attachments from a ticket with one click, so this should solve your issue.

Best regards. 


Hey @Devan, 

I am actually using Microsoft Flow and the Zendesk API. I need to download the last attachment on a ticket and upload that to a Sharepoint list. 

Using the API, I am only getting a content url and not a .docx document. 

 

Let me know if you have any suggestions for this!


Devan
  • May 20, 2020

Hey again Johnathan,

If your trying to use the API I can see why that app wouldn't really solve your issue. Let me see if I can find you some assistance from our development team.

Best regards. 


Greg29
  • May 21, 2020

Hi Jonathan! Our API does not provide a method to actually download the attachment, but you can certainly write a script to pull the content_url/url out to then download it with whatever download manager you would like. An API is simply providing access to a resource, but it does not have any management over what you do with that data afterwards, which is why you couldn't just download this directly from an API.

If I misunderstood your request, let me know!


Migration
  • August 13, 2020

It is actually not necessary to look for an API script if you use Help Desk Migration service. In fact, you don’t need any coding experience to transfer Tickets, Comments, and Attachments from Zendesk to ServiceNow using this solution. 

You can also set up a free demo migration to test the tool out and see how a part of your records migrate.