rt_ticket_edit {rt} | R Documentation |
Edit a ticket
Description
Updates an existing ticket with new information.
Usage
rt_ticket_edit(
ticket_id,
queue = NULL,
requestor = NULL,
subject = NULL,
cc = NULL,
admin_cc = NULL,
owner = NULL,
status = NULL,
priority = NULL,
initial_priority = NULL,
final_priority = NULL,
time_estimated = NULL,
starts = NULL,
due = NULL,
text = NULL,
custom_field = NULL,
...
)
Arguments
ticket_id |
(numeric|character) The ticket number |
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 |
Value
(numeric) The ID of the ticket
Examples
## Not run:
# First, create a ticket
ticket <- rt_ticket_create("General")
# Then we can update its fields
rt_ticket_edit(ticket,
requestor = "me@example.com",
subject = "My subject")
## End(Not run)
[Package rt version 1.1.0 Index]