[rt-users] scrips...change due date on queue change

2012-12-03 Thread Telmo Cardoso
Hi again, I would really like if someone could help me with this question, because its not hard, but its not working dunno why. I'm chaging due dates on queue change, based on ticket creation date. I have the following scrips: Condition: On Queue Change Action: User Defined Template: Blank

Re: [rt-users] scrips...change due date on queue change

2012-12-03 Thread Thomas Sibley
On 12/03/2012 10:30 AM, Telmo Cardoso wrote: This only fails on this line: my $curtime = $self-TicketObj-CreatedObj-Get( Timezone = 'server' ); If I place my $curtime=time; it will work. You probably want $self-TicketObj-CreatedObj-Unix. Refer to