Description Usage Arguments Value Examples
Allows user to post a new ticket to the Zendesk API on behalf of a customer
1 2 | post_ticket(requester_name, requester_email, body, subject, group,
tags = list(), public, cli = client())
|
requester_name |
a string to identify customer who should be listed as ticket requester (optional, if NULL the email will pull in corresponding name) |
requester_email |
a string to identify customer who should be listed as ticket requester |
body |
a character string that is passed to the body of the Zendesk ticket |
subject |
the subject of your Zendesk ticket |
group |
an integer to indicate the group_id for your new ticket (optional, can be set to NULL) |
tags |
a list of character strings to set as the ticket tags for your new ticket (optional, can be set to NULL) |
public |
an optional logical value to indicate if the ticket comment should be public (TRUE) or privet (FALSE), default value FALSE |
cli |
the Zendesk client [created from ::client] |
Zendesk ticket number for successfully created ticket
1 2 3 4 5 6 7 8 9 | post_ticket(
requester_name = 'fake_name',
requester_email = 'fake_email',
body = 'comment in body of ticket',
subject = 'subject of ticket',
group = 1234567,
tags = list(),
public = FALSE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.