[rt-users] number of transactions on a ticket

Luke Vanderfluit lvanderf at internode.com.au
Thu Dec 15 17:23:44 EST 2005


I'd like to find out how many transactions a ticket has.
I can do this by querying the rt database with SQL using the following 

select count(*) from Transactions where ObjectId=$id

However, I'd like to do it through the API.
Is there a simpler way to do this? eg. is there a variable that already 
has the number of transactions in it?

Kind regards.


More information about the rt-users mailing list