When you add a new drop-down or multi-select ticket field, you may have a large number of field values to include. For example, a new field that lets agents choose a software version or product type might include hundreds of choices.
Rather than add field values manually one at a time, you can add many field values in a bulk import. You can also export ticket fields and values to archive or use in other applications.
Creating the CSV field value file
Before you import, create a CSV (comma separated values) file that contains the ticket field values you want to add to a new ticked field. You can download a template CSV file and use it as a model for adding your own field values. See example below.
Field | Description |
---|---|
value | Value that appears in the drop-down or multi-select field. |
tag | Tag associated with the field value. The tag is used as a ticket property that can be used in triggers and other business rules. |
default | (Drop-down and multi-select fields only) Identifies the default value for the drop-down or multi-select field. Use true to identify the default value. Use false for all other values. |
You must include the default and value elements in your import file. The tag value is optional, but recommended.
When you create a list of field values to import, you'll probably generate this list of values from some other ticket or product management system. Most of these systems have some facility for creating a CSV export file. If you need to create the list from scratch you can use a program like Microsoft Excel or Google Sheets.
The file must be properly formatted CSV and saved using UTF-8 character encoding. The import CSV data file must contain no more than 3,500 rows of data (one row for the header and the rest for the field values).
Importing the CSV field value file
After you create the CSV file, you can import these values into a new drop-down or multi-select ticket field. It isn't possible to upload a CSV file to existing drop-down and multi-select fields.
- In Admin Center, click
Objects and rules in the sidebar, then select Tickets > Fields.
- Click Add Field and then select Drop-down or Multi-select.
- In Field values, click Upload CSV.
- Click Choose a file and open the CSV file you want to import, then click Upload. Alternatively, you can drag and drop the file you want to import.
- When you successfully upload the CSV file, Field values are updated to include the new data.
- Finish adding information about your new field, then Save your changes.
Exporting ticket fields and values
As your list of ticket fields and field values expand, you may find it useful to export ticket fields and values to a CSV file. For example, you may want to use the CSV file as a checklist to verify that the latest product types or software versions are available for your tickets.
- In Admin Center, click
Objects and rules in the sidebar, then select Tickets > Fields.
- Select a Drop-down or Multi-select field.
- In Field values for the ticket, click Download CSV to export a list of values in CSV format.
See example below.
To export a list of ticket fields
- In Admin Center, click
Objects and rules in the sidebar, then select Tickets > Fields.
- (Optional) Filter or sort the list, or change which columns are displayed.
These changes are reflected in the exported CSV file.
- Click Actions and select Download CSV to export a list of ticket fields in CSV format.
By default, the exported file includes the following information for each ticket field: Display name, Type, Field ID, Date modified, and Tags. For example:
The file is ready to open in spreadsheet applications, like Microsoft Excel or Google Sheets, for further processing.
10 Comments
Hello,
It's bad that we can't import a csv fiels if the ticket field is not new, I have a list use but this list is update after a while with big change, so can't manually change the 600 line and I don't want create a new ticket fields because then all the data use on previous ticket will be save under a different ID and for my reporting I need to check 2 different fiels :(
So can you think about import csv on existing ticket field even if this delete actual list ?
Thanks
I have a field called "Reason", this was setup 8 years ago via an import. the format is Device > model > reason. Today when adding a new model, I ended up with a duplicate menu. After really digging into this, everything looked the same on the field values.
Device - BP::BP5::Basic::Availability
Device - BP::BP5S::Basic::Availability
But I keep ending up with two menus called Device-BP. After exporting the fields, I saw the error. What was imported originally had some weird characters..
(originally imported) Device - BP::BP5::Firmware::Accuracy
(keyed in today) Device - BP::BP5S::Basic::Availability
Is there anyway to fix the old ones or type in the new ones? I don't want my team to have to have two menu choices that are the same.
Hi Patrick Wilson,
That's interesting! I've not seen special characters import like that.
The key to custom fields is that you can change the visible name of the fields as long as you keep the tag the same and you should be fine. In other words, you should be able to rename  BP::BP5::Firmware::Accuracy to just BP::BP5::Firmware::Accuracy
... and not affect your reports as long as you keep the tag associated exactly the same.
Hope this helps!
Thank your for your response. Based on your answer, I was able to device a workaround. The corrupt characters may be a more recent issue, not from the original import as I have found it in some of the newer, manually entered fields. I will have to explore this in the near future.
Is there a way to (recursively, API, or otherwise) export a list of fields AND values together?
I have been tasked with auditing all of our drop-down fields and it is almost easier to just copy and paste or manually type the values into a spreadsheet than to click into each of the field names and download individual CSVs for all 34 drop-downs, and then try to match those CSVs back to the field name itself.
Unfortunately, there is not a native feature to this other than what described here. What I have in mind is running an API script that will get all your ticket fields then making a call to the List Ticket field options endpoint that loops replacing the Ticket Field ID value each time.
Also requesting the feature to allow for importing of an excel with additional fields for an already existing ticket field. Doing updates to ticket fields with over 200 values is very time intensive where a simple excel document can take minutes to setup saving hours of work.
Thanks!
Can David Judenne's recommendation here(first comment on this article): https://support.zendesk.com/hc/en-us/articles/4408836502682/comments/4408850062106
Be flipped into a feature request ? I didint find one addressing this.
Importing new field options into an existing field would be very practical.
Please sign in to leave a comment.