A web API for Zendesk ticket export to CSV
A ticket table fields are given below.
Name | Description |
---|---|
Ticket ID | a ticket id |
Description | a ticket description |
Status | a ticket status |
Priority | a ticket priority |
Agent ID | a ticket submitter id |
Agent Name | a ticket submitter name |
Agent Email | a ticket submitter email |
Contact ID | a ticket requester id |
Contact Name | a ticket requester name |
Contact Email | a ticket requester email |
Group ID | a ticket group id |
Group Name | a ticket group name |
Company ID | a ticket organization id |
Company Name | a ticket organization name |
Comment | a ticket comment |
Each comment is represended with individual table row doubling the ticket other info.
An app web UI is represented with:
- a required data input form;
- a notification alert.
Form requiers the follow data:
- subdomain;
- email;
- token.
See What do I need to make a request? for more about required data.
A token using is prefered then a password cause a Zendesk account owner stays abel to give a developer a resource managment only but not the account preferences.
Form data is empty validating. UI notificateы a useк about process state with an alert under the input form.
This project includes a docker-compose and docker files. So you can up an environment with a Docker.
To up a Docker containers open a CMD in the project dir and run:
docker-compose up -d
A docker will run 3 containers:
- nginx;
- php-fpm;
- composer.
Composer container will install all required dependencied in a few seconds after it start and shut down by itself. Eventually, you will have two runnig containers: nginx and php-fpm.
Browse your site (localhost:80 by default).
The UI will looks like showing below.
Fill and submit the form. An alert will notificate you if something is wrong.
In several seconds, when CSV will be ready for download, you will be invited.
An example of the downloaded csv is shown below.