Skip to main content

Create ticket

Parameters

Method-mget,post,put o delete
host-i, --ipname site zendesk
user-usname user (email)
password-ppass  API
token-t token  API
ticket name-tnname ticket
ticket comment-tbcontent ticket
ticket id-idid ticket
ticket status-tsnew,open,hold, pending,solved o closed
ticket priority-tpurgent,high,normal o low
ticket type-ttproblem, incident,question, task

 

You can authenticate in the API with token or pass as you have configured it in zendesk. To do so, enter the required argument.

The group creation options are: name, comment (message body), status, priority and type.

The id is automatically assigned to the ticket.


Example of ticket creation with manual execution.

python3 pandora_zendesk.py -m post  -i pandoraplugin -us <email> -p <api-pass> -tn "manual" -tb "esto es el contenido de la incidencia" -tp urgent -tt "question" -ts new

That command will create the following ticket :

 

image-1641400983333.png

image-1641401007730.png