[rt-users] HELP with RT API

Kevin Falcone falcone at bestpractical.com
Thu Aug 27 14:27:04 EDT 2009


On Thu, Aug 27, 2009 at 10:58:52AM -0700, Ken Crocker wrote:
>    Kevin,
> 
>    When I used "hard-coded" dates this is what I get:

Kenn

I just wrote and ran this:

my ($id, $msg) = $Ticket->Create( Queue => 'General',
                 Subject => 'test manual creation',
                 Started => '2009-08-01 06:10:11',
                 Resolved => '2009-08-02 06:12:13',
                 Created => '2009-08-01 05:00:00'  );

(4 hour offset caused by the internal GMTness of the API)

Created:    Sat Aug 01 01:00:00 2009
Starts: Not set
Started:    Sat Aug 01 02:10:11 2009
Last Contact:   Not set
Due:    Not set
Closed: Sun Aug 02 02:12:13 2009

LastUpdated is special cased and you'll have to bludgeon it a bit with
__Set, but you should concentrate on what your Resolved isn't working

-kevin



More information about the rt-users mailing list