[rt-users] Placing 2 CF in RT ticket subject
Martin Wheldon
martin.wheldon at greenhills-it.co.uk
Wed Jan 2 04:39:38 EST 2013
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!
More information about the rt-users
mailing list