[rt-users] [Fwd: Create Ticket but only if Custom Field is...]
Matt Westfall
mwestfall at factory7.com
Fri Nov 9 09:46:20 EST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Scrip as last suggested:
return 0 unless $self->TransactionObj->Type eq "Resolved"
return 0 unless $self->TicketObj->FirstCustomFieldValue('Followup') =~
/Yes/i;
$RT::Logger->debug("Scrip running");
1;
Template ------------
===Create-Ticket: generate-followup
Queue: Customer Service
Subject: Invoice: { $Tickets{'TOP'} -> Subject() }
Requestor: {$Tickets{'TOP'}->OwnerObj->EmailAddress() }
RefersTo: {$Tickets{'TOP'}->Id() }
Content: A follow up was requested on this ticket. Please refer to
previous ticket for more information.
ENDOFCONTENT
Errors ----------
Nov 9 09:32:44 oakie RT: Scrip 22 IsApplicable failed: Global symbol
"$trans" requires explicit package name at (eval 1780) line 1.
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov 9 09:32:45 oakie RT: Scrip 23 IsApplicable failed: syntax error at
(eval 1784) line 2, near ""Resolved" return"
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov 9 09:32:45 oakie RT:
<rt-3.6.5-3157-1194618764-1136.159-19-0 at rt.factory7.com> #159/2613 -
Scrip 19 (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov 9 09:32:45 oakie RT:
<rt-3.6.5-3157-1194618764-1136.159-19-0 at rt.factory7.com> No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
Nov 9 09:32:48 oakie RT: Encode::Guess failed: ; fallback to iso-8859-1
(/opt/rt3/lib/RT/I18N.pm:412)
Nov 9 09:32:49 oakie RT: Encode::Guess failed: ; fallback to iso-8859-1
(/opt/rt3/lib/RT/I18N.pm:412)
Nov 9 09:32:50 oakie RT: Scrip 22 IsApplicable failed: Global symbol
"$trans" requires explicit package name at (eval 2779) line 1.
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov 9 09:32:51 oakie RT: Scrip 23 IsApplicable failed: syntax error at
(eval 2783) line 2, near ""Resolved" return"
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov 9 09:32:55 oakie RT: Scrip 22 IsApplicable failed: Global symbol
"$trans" requires explicit package name at (eval 1816) line 1.
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov 9 09:32:56 oakie RT: Scrip 23 IsApplicable failed: syntax error at
(eval 1820) line 2, near ""Resolved" return"
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov 9 09:32:56 oakie RT:
<rt-3.6.5-3171-1194618774-1371.159-8-0 at rt.factory7.com> #159/2615 -
Scrip 8 (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov 9 09:32:56 oakie RT:
<rt-3.6.5-3171-1194618774-1371.159-8-0 at rt.factory7.com> No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
Nov 9 09:32:57 oakie RT:
<rt-3.6.5-3171-1194618774-1371.159-9-0 at rt.factory7.com> #159/2615 -
Scrip 9 (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov 9 09:32:57 oakie RT:
<rt-3.6.5-3171-1194618774-1371.159-9-0 at rt.factory7.com> No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
Nov 9 09:32:57 oakie RT:
<rt-3.6.5-3171-1194618774-1371.159-18-0 at rt.factory7.com> #159/2615 -
Scrip 18 (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov 9 09:32:57 oakie RT:
<rt-3.6.5-3171-1194618774-1371.159-18-0 at rt.factory7.com> No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
Nov 9 09:32:58 oakie RT:
<rt-3.6.5-3171-1194618774-1371.159-19-0 at rt.factory7.com> #159/2615 -
Scrip 19 (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov 9 09:32:58 oakie RT:
<rt-3.6.5-3171-1194618774-1371.159-19-0 at rt.factory7.com> No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
Nov 9 09:32:59 oakie RT: Scrip 22 IsApplicable failed: Global symbol
"$trans" requires explicit package name at (eval 1870) line 1.
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov 9 09:32:59 oakie RT: Scrip 23 IsApplicable failed: syntax error at
(eval 1874) line 2, near ""Resolved" return"
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov 9 09:33:00 oakie RT:
<rt-3.6.5-3171-1194618779-1446.159-10-0 at rt.factory7.com> #159/2616 -
Scrip 10 (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov 9 09:33:00 oakie RT:
<rt-3.6.5-3171-1194618779-1446.159-10-0 at rt.factory7.com> No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
Nov 9 09:33:00 oakie RT:
<rt-3.6.5-3171-1194618779-290.159-19-0 at rt.factory7.com> #159/2616 -
Scrip 19 (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov 9 09:33:00 oakie RT:
<rt-3.6.5-3171-1194618779-290.159-19-0 at rt.factory7.com> No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
iD8DBQFHNHK8b/8X6V5MpAURAqQGAKCiYReUM5MdnWJSPEV+fLqB3Zug8wCbBKPf
qOG/OUDcFdoPsOalWVqquJw=
=BMtH
-----END PGP SIGNATURE-----
More information about the rt-users
mailing list