[rt-users] Catch all ticket changes in one scrip

ktm at rice.edu ktm at rice.edu
Fri Aug 22 08:52:31 EDT 2014


On Fri, Aug 22, 2014 at 05:49:29AM -0700, andriusk wrote:
> Hello,
> 
> I'm trying to figure out, how can I catch all the changes made to ticket
> fields in one scrip.
> It would be like OnUpdateTicket script, which will gather all the changes
> made, and sync them with DB outside trought REST.
> 
> Is there any solution, or maybe code example doing all of that in RT itself
> (github)?
> 
> I do not want a scrip to send every changed field in separate requests. Is
> it possible?
> 

You need to use TransactionBatch mode and have your scrip run after any
other change inducing scrips.

Regards,
Ken



More information about the rt-users mailing list