When a ticket is created via Email with TemporaryAccess in the subject the
following scrip runs to create 2 tickets. The second ticket is created and
refers to the first ticket.
my $TicketObjItem = RT::Ticket->new(RT::CurrentUser->new($RT::SystemUser));
my $TicketId = $TicketObjItem->Create(Queue => $count, Type => “Ticket”,
Subject => “Delete Temporary Login”, RefersTo => $self->TicketObj->Id);
This is working fine, but I would like set some custom fields in the second
ticket. How do I go about this? The custom field ID’s of the custom fields
I need to set are 37 and 38 and are named TicketType and
AccessManagementType. The custom field value ID’s are 116 and 119 and are
named Access and Separation.
I have tried to use CustomField37 => “Access”, CustomField38 =>
“Separation”, and CustomField37 => 116, CustomField38 => 119, but neither
has worked. I think this can be done but am just unsure of how to
Any help would be greatly appreciated.
Don�t just search. Find. Check out the new MSN Search!