Description Usage Arguments Value Examples
View source: R/rt_ticket_create.R
Create a ticket
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 
| queue | (character) The queue | 
| requestor | (character) Requestor email address | 
| subject | (character) Ticket subject | 
| cc | (character) Email address to cc | 
| admin_cc | (character) Admin email address to cc | 
| owner | (character) Owner username or email | 
| status | (character) Ticket status; typically "open", "new", "stalled", or "resolved" | 
| priority | (numeric) Ticket priority | 
| initial_priority | (numeric) Ticket initial priority | 
| final_priority | (numeric) Ticket final priority | 
| time_estimated | (character) Time estimated | 
| starts | (character) Starts | 
| due | (character) Due date | 
| text | (character) Ticket content; if multi-line, prefix every line with a blank | 
| custom_field | (vector) Takes a named vector of the custom field name and custom field value | 
| ... | Other arguments passed to  | 
(numeric) The ID of the ticket
| 1 2 3 4 5 6 7 8 9 10 | ## Not run: 
# We can create an empty ticket
rt_ticket_create("General")
# Or we can provide some of the fields
rt_ticket_create("General",
                 requestor = "requestor@example.com",
                 subject = "An example ticket")
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.