rt (version 1.0.1)

rt_ticket_history_reply: Reply to a ticket

Description

Reply to a ticket

Usage

rt_ticket_history_reply(
  ticket_id,
  text,
  cc = NULL,
  bcc = NULL,
  time_worked = "0",
  attachment_path = NULL,
  ...
)

Arguments

ticket_id

(numeric) The ticket identifier

text

(character) Text that to add as a comment

cc

(character) Email for cc

bcc

(character) Email for bcc

time_worked

(character)

attachment_path

(character) Path to a file to upload

...

Other arguments passed to rt_POST

Value

(numeric) The ID of the ticket

Examples

Run this code
# NOT RUN {
# Reply to ticket 11 with a courteous message
rt_ticket_history_reply(11,
                        "Thank you.

                        Have a great day!")
# }

Run the code above in your browser using DataCamp Workspace