[rt-users] number of transactions on a ticket

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


Hi.

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 
query:

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?

Thanks.
Kind regards.

-- 
Luke




More information about the rt-users mailing list