'Starts'/'due' fields not set

Hello all,

I create my tickets from my web form using $ticket->Create(%ticket_vals)
but the ‘Start’ and ‘Due’ fields don’t get set. All other fields are OK.

my %ticket_vals = ( Queue => $queue,
Subject => “$prefref->{name}”,
Owner => 10,
Requestor => $prefref->{email},
Status => $status,
InitialPriority => ‘11’,
FinalPriority => ‘20’,
Starts => ‘2008-12-25’,
Due => ‘2009-01-01’,
FinalPriority => ‘20’,
MIMEObj => $ticket_body,
‘CustomField-1’ => $prefref->{“id”},

did I miss something?

woody

Richard Wood (Woody)
Managing Director
Wild Thing Safaris Ltd.
PO BOX 34514 DSM
Office: +255 (0) 222 617 166
Mobile: +255 (0) 773 503 502

http://www.wildthingsafaris.com
http://www.wildthingsafaris.com/pub/woody.html

Use ‘2008-12-25 00:00:00’, note that date should be in UTC TZ.On Tue, Nov 11, 2008 at 2:57 AM, Woody - Wild Things woody@wildthingsafaris.com wrote:

Hello all,

I create my tickets from my web form using $ticket->Create(%ticket_vals)
but the ‘Start’ and ‘Due’ fields don’t get set. All other fields are OK.

my %ticket_vals = ( Queue => $queue,
Subject => “$prefref->{name}”,
Owner => 10,
Requestor => $prefref->{email},
Status => $status,
InitialPriority => ‘11’,
FinalPriority => ‘20’,
Starts => ‘2008-12-25’,
Due => ‘2009-01-01’,
FinalPriority => ‘20’,
MIMEObj => $ticket_body,
‘CustomField-1’ => $prefref->{“id”},

did I miss something?

woody

Richard Wood (Woody)
Managing Director
Wild Thing Safaris Ltd.
PO BOX 34514 DSM
Office: +255 (0) 222 617 166
Mobile: +255 (0) 773 503 502

http://www.wildthingsafaris.com
http://www.wildthingsafaris.com/pub/woody.html


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.