Custom transactions

We have some custom scrips running on our RT server which are already
logging some useful information with the Logger, but I would also like
to record some of the things that the scrip does in the actual ticket
transaction history if possible. Is it possible to create your own
custom transactions for a ticket? Does anyone have any examples that
might help get me started, or could point me in the right direction?

Thanks,
~Jason

Jason,

My Asset Tracker add-on to RT has an example of that. See:
http://code.google.com/p/asset-tracker-4rt/source/browse/at/branches/1.2-RELEASE/lib/RTx/AssetTracker/Transaction_Overlay.pm

You just need to create a Transaction_Local.pm and write new entries
into the %_BriefDescriptions hash in the RT::Transaction package.

-ToddOn 3/1/08, Jason A. Smith smithj4@bnl.gov wrote:

We have some custom scrips running on our RT server which are already
logging some useful information with the Logger, but I would also like
to record some of the things that the scrip does in the actual ticket
transaction history if possible. Is it possible to create your own
custom transactions for a ticket? Does anyone have any examples that
might help get me started, or could point me in the right direction?

Thanks,
~Jason


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com