Hi,

How about something like:

my $subject = sprintf("%s %s", $self->TicketObj->FirstCustomFieldValue('Custom Field 1'), $self->TicketObj->FirstCustomFieldValue('Custom Field 2');

Best Regards

Martin Wheldon


On 2012-12-29 08:48, Nums wrote:
I am trying to create a script which will pull 2 custom field values
into the RT
ticket subject upon creation.
I am able to do it with one using script below, but
unable to manage to pull 2 CF values, is this possible?

my $subject = $self->TicketObj->FirstCustomFieldValue('Custom Field
Selection')

$self->TicketObj->SetSubject($subject);


!DSPAM:9,50def36133231913920786!

Reply via email to