[rt-users] Send email reminder fails with undefined value
Kevin Falcone
falcone at bestpractical.com
Tue Oct 14 12:53:30 EDT 2014
On Tue, Oct 14, 2014 at 07:16:47AM -0700, fleon wrote:
> Revisar el ticket #{$Target->Id} y resolver de ser posible.
>
> {RT->Config->Get('WebURL')}Ticket/Display.html?id={$Target->Id}
>
> I understand the error, it doesn't like $Target->Id, i guess it isn't
> available at that moment, but that template is basically the same "Reminder"
> template that comes with RT. How do i fix this?
Except that it's not the same, the RT template creates $Target
This reminder is for ticket #{$Target = $Ticket->RefersTo->First->TargetObj;$Target->Id}.
> I basically want to send automatic emails to owners when they have
> unresolved tickets.
You want an RT::Action::Notify and to pass the Owner and NotifyActor
arguments, an example of this is in the reminders documnetation
https://bestpractical.com/docs/rt/latest/reminders.html
I suspect that your other failures are related to the Owner being the
last person to update the ticket and running into problems with the
NotifyActor setting.
You should not specify To: in the template if you want RT to calculate
a recipient.
-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 221 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20141014/f0b599f3/attachment.sig>
More information about the rt-users
mailing list