Re: [rt-users] Resetting due date when moving tickets between queues

2012-06-07 Thread Joel Dahl
On 06-06-2012 22:01, Kevin Falcone wrote: On Tue, Jun 05, 2012 at 10:22:06AM +0200, Joel Dahl wrote: With the scrip below, X days are added based on today date, instead of X days based on the creation date. I'd appreciate some help with this. :-) $due_date-SetToNow;

Re: [rt-users] Resetting due date when moving tickets between queues

2012-06-06 Thread Kevin Falcone
On Tue, Jun 05, 2012 at 10:22:06AM +0200, Joel Dahl wrote: With the scrip below, X days are added based on today date, instead of X days based on the creation date. I'd appreciate some help with this. :-) $due_date-SetToNow; $due_date-AddDays( $queue-DefaultDueIn ); You tell it

[rt-users] Resetting due date when moving tickets between queues

2012-06-05 Thread Joel Dahl
Hi, I have setup 3 queues in RT 4.0.6, each queue with different default values for automatically setting a due date when a new ticket is created: Queue High - requests should be due in 1 day Queue Normal - requests should be due in 7 days Queue Low - requests should be due in 14 days So for