Exporting ticket, user, or organization data from your account

Return to top

51 Comments

  • Anne Ronalter
    Zendesk Customer Care
    Hello,

    it seems like the function is not yet enabled for your account.

    To do so, I will go ahead to open a ticket on your behalf.
    -1
  • Mukesh Kumar

    Hey Team,

    I have been working on the data export and getting to know it slowly. I must say JSON export is great to view the data.

    I have a question though, like JSON, where you can define a date range and data type, can we not do the same for XML / CSVs?

    When using these options, the text files are way too big to be opened to view. What is the best way to pull/filter the data using a date range/data type for XML / CSVs?

    0
  • Tony
    Hi Mukesh,
    thank you very much for your comment. I'm glad to hear that you really like JSON export.

    So, as it is now, the Full JSON export is the only one capable of defining a data range and data type, as you already know.

    However, there is a small margin in which you can play with CSV exports. You can一个视图导出到CSV文件, oryou can use Python for it.

    Or, you can use ourREST APIs endpointsto get the information you need, then after you can use Python for compiling the JSON to CSV, so you have only the information you want.

    I hope that helps!

    -1
  • Aleksandar Salevski

    Hi All, the problem with this JSON is that there is no comma "," between users, any help with this one?

    0
  • Nghĩa Hồ

    Hi, i don't seeQuick Look:Admin Center > Account > Tools > Reports, although my account is Growth plan

    1
  • Jordan Moore

    The instructions updated on 11/03/2022, state to go to Account > Tools > Reports.

    There are no Tools or Reports sections.We are an enterprise customer. A lot of this is inaccurate. We're dead in the water trying to export our 4000 organizations to updates them, because you all only put a CSV upload, but no download....geeze!!

    2
  • CJ Johnson

    You might be able to force your way to the page via this url, you'll need to put in your own Zendesk domain:
    https://domain.亚博zendesk.com/admin/account/tools/reports

    2
  • Jordan Moore

    Unfortunately, that is a dead link.

    0
  • Amy Dee
    Zendesk Customer Care

    ToAleksandar Salevski- the JSON export tool uses NDJSON, or "Newline Delimited JSON" format. This format returns a series of standalone JSON objects separated by line breaks. It's optimized for streaming extremely large sets of data into a database, where a single file would be too large to handle effectively. If you want to convert the entire export into a single standard JSON file, you'll need to add commas between the lines and a "users" wrapper around the list.

    ToNghĩa HồandJordan Moore- data exports are not enabled by default. They need to be turned on before you can use them. If you don't see account export tools in the Admin Center, it means one of two things: exports have not yet been enabled for your account, or exports are enabled but there is a domain restriction blocking your access.

    If exports aren't enabled, the account owner canreach out to our support teamto have the feature turned on. If exports are enabled, the account owner can modify or remove domain restrictions on the export page. (The account owner can reach the exports page even if their domain does not match.)

    I hope this helps!

    -4
  • CJ Johnson

    Amy Dee

    If that's the case, it would be great if the entire article were re-written to reflect that this is no longer available in JSON. This is a bit like changing the article language from French to Spanish and saying it's still available Spanish because they are both Romance languages. It's not JSON anymore, and that means that JSON parsing in code will not work. My scripts that know how to read JSON, but cannot read NDJSON, because it's not the same language. This is why people are telling you that your JSON exports are broken.

    2
  • Amy Dee
    Zendesk Customer Care

    HiCJ Johnson- Thanks for following up! There may be a misunderstanding here, so I want to clarify a couple points.

    • This isn't a recent change in behavior. This is how the account JSON exports have behaved for a long time. Our documentation has also included instructions for converting the files for some time, though it wasn't always clear why that was necessary.
    • We did rewrite the article to make this clearer. The changes were published over the summer. The article now includes a description of NDJSON, a link to more resources about it, and instructions for converting the export if you want to open it as one file.
    The JSON export from Zendesk includes data in JSON format. However, these exports are far too large to open as single files. Most JSON parsing tools will fail with relatively small date ranges. That's why we chose to use NDJSON. That format optimizes the export for streaming and makes it easier to pull individual tickets, users, or organizations from the file.
    If you prefer a single (massive) JSON file, you can easily automate the conversion. It just takes commas at the line breaks and a static wrapper at the start and end. Yes, it's an extra step, but it's a relatively simple one.
    We're always reevaluating our articles to make the content clearer and more accurate. Comments like yours help us find places that need updates. Thanks again!
    -4
  • Jordan Moore

    CJ JohnsonFINALLY, someone who knows what they are talking about...getting a sincable or timely solution from ZD is near impossible. They just need to allow for table access to our instances so we can just connect, pull, and be done. Instead, I've had to jerry-rig the same through AWS. It's a nightmare. Never seen a ticketing product where I cannot readily access my data for the purpose of maintaining data integrity, or making bulk changed.

    1
  • Jordan Moore

    Amy Dee唯一的问题是,Zendesk使零工作亚博to tell us what is or is not turned on. I had no clue this option even existed. So I had to go out a buy a 3rd party app (again)...and spent considerable amounts of time trying to get data exports setup in AWS to automatically pull data. I literally pleaded in a meeting with ZD this week to tell me WHAT ELSE is not turned on. I'm an enterprise customer, turn on everything, or at the very least tell your customers what you have turned off. The only way I even know that the ADMIN > Tools > Reports option even exists, is because an end user made a post (not ZD). So I have to contact ZD to turn on the feature. And once it's finally turned on, its just a bulk dump, with date range. Absolutely no filter options. You all need to read these complaints. Some have been open for years with no resolution. I don't want JSON exports, I want access to tables and my customer fields. I go into reporting now and try to pull an Organization report, in your cube environment, but the datasets are only ZD, not our custom fields. 100% USELESS.

    2
  • Monica Barin

    Are archived tickets included in the export? If not, how can I export all tickets ever logged by a given client, including archived ones? I have a client that has over 1000+ tickets logged - these can be see on their organization profile. When I create a view to see all their tickets, it only has about 200. The other 800+ have been closed and since, auto-archived. We want a full picture of their historical tickets. Thanks.

    0
  • Audrey Ann Cipriano
    Zendesk Customer Care

    HiMonica Barinwelcome to our Community! :)

    Archived tickets are definitely included in the export but you won't be able to filter it for one client. However, once you receive the export file, you can then filter within the file (outside Zendesk) for the client's email to get the tickets you need.

    Another option is usingExplore, you can create a custom query and filter for that requester's email so the query produces their tickets and you'll be able to export it as CSV as well. :)

    0
  • Mark Leci

    Is there any plan to add the option to export organization data as a csv? This seems like something so basic it should be possible via Explore, but it's not (you can only get organization data for organizations that are linked to tickets). I had to request a json export, then edit the json so that it was valid (!) and then load it into Excel to actually see this basic data. The whole process took a full day including the time I needed to research how to convert the non-standard json to something usable. Seems crazy for something you can do in ten seconds in Salesforce.

    As noted above, using a non-standard json variant particularly for the org export seems like a poor design choice. I would guess it's unlikely most companies have millions of organizations, and even if they do I think giving admins the choice to download in standard json makes sense.

    If anyone else is seeing this and wants to use the organization export data as valid json, what worked for me is the following:

    1. Added '{"Organizations":[' at the top.

    2. Separated each organization object with a ','

    3. Added ']}' at the end

    0
  • Pedro Reis

    When you activate the agent workspace, does the data structure change on report export?

    0
  • Gustavo Oliveira
    Zendesk Customer Care
    Hi Pedro,

    No. The structure of the Data export will be the same in Agent Workspace and Standard agent interface.

    Moving to Agent Workspace will not affect your export structure.

    Best regards,
    0
  • Virginia Buechel

    Does the JSON file also include any files that are uploaded in ticket conversations too?

    0
  • Joyce
    Zendesk Customer Care
    Hi Virginia,

    JSON exports of tickets contain links to the various attachments as:https://subdomain.zendesk.com/api/v2/attachments/ATTACHMENT_ID.json

    In order to download the attachments associated with each link, you will need to perform a GET request to that endpoint. Then download the file linked at the aforementionedcontent_urlattribute.

    You can read more about the articleHow can I download all attachments in a ticket?

    Hope this helps!
    0
  • Lila Kingsley

    Just a heads up to anyone else interested in the JSON export:

    As stated in the article the JSON date ranges use a system date that typically equates to last update date. We wanted to export some tickets, including tickets imported into Zendesk from other systems so I set the date range with last update date in mind...but, records were omitted. Turns out that for imported tickets you need to know/use the import date (which won't match last update date) in order to include those tickets.

    Also, when the article says "accounts with more than one million tickets are downloaded in 31-day increments" it makes it sound like you can specify a single date range and the system will parse it out in the 31 day increments for you. Unfortunately, that is not the case. If your date range spans several months you will have to manually pull each month separately.

    0

Pleasesign into leave a comment.

Powered by Zendesk