] On Behalf Of Jon Witts
Sent: 04 March 2014 16:24
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Set Custom field in template
When running this using the built-in Auto Reply template we are seeing the same
issue:
rt-crontool --search RT::Search::FromSQL --search-arg Queue = 'Estate
...@lists.bestpractical.com
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Jon Witts
Sent: 05 March 2014 09:14
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Set Custom field in template
So I decided to leave this alone yesterday and have a look again with fresh
eyes this morning
Hi all,
I am trying to use a template to set a ticket custom field so that we can
configure RT to send out reminders when a ticket has been stalled for a week.
We are running RT 4.2.0
The command I am passing to rt-crontool is as follows:
rt-crontool
On 3/4/14 6:13 AM, Jon Witts wrote:
and the contents of the template Auto-Close Warning HTML is as follows:
--
my $CFName = 'Auto-Close Reminder';
my $DefaultValue = 'TRUE';
unless( $self-Ticket-FirstCustomFieldValue( $CFName ) eq $DefaultValue ) {
Hi Jim,
I have edited my template code to this:
Subject: Auto-Close Warning: {$Ticket-Subject}
Content-Type: text/html
!--{$Ticket-AddCustomFieldValue(Field = 'Auto-Close Reminder', Value =
'TRUE', RecordTransaction = 1 );}--
pHello,/p
pThis message has been automatically generated to let
@lists.bestpractical.com
Subject: Re: [rt-users] Set Custom field in template
Hi Jim,
I have edited my template code to this:
Subject: Auto-Close Warning: {$Ticket-Subject}
Content-Type: text/html
!--{$Ticket-AddCustomFieldValue(Field = 'Auto-Close Reminder', Value =
'TRUE', RecordTransaction = 1
2014 15:49
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Set Custom field in template
Hi Jim,
I have edited my template code to this:
Subject: Auto-Close Warning: {$Ticket-Subject}
Content-Type: text/html
!--{$Ticket-AddCustomFieldValue(Field = 'Auto-Close Reminder', Value =
'TRUE