[rt-devel] Get last status change for a ticket

Douglas E. Warner dwarner at ctinetworks.com
Mon Jun 3 17:55:46 EDT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm trying to write a(nother) nag script, and I'd like to check the last time 
the status was changed.  So far I have:

    my $transactions = $Ticket->Transactions();
    transactions->Limit(FIELD => 'Type', VALUE => 'Status');
    transactions->Limit(FIELD => 'NewValue', VALUE => 'open');

What more do I need to make sure I only get one result?

- -Doug

- -- 
Douglas E. Warner    <dwarner at ctinetworks.com>     Network Engineer
CTI/PAdotNET         http://www.pa.net             +1 717 975 9000
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8++XiJV36su0A0xIRArbdAKDjlLA9ijBh69QY1hZ6YQIlePAc/gCfTc60
JM49gxzQAW6TsP+5hRrrAv4=
=oOLM
-----END PGP SIGNATURE-----





More information about the Rt-devel mailing list