Template question

Two questions,

  1. I have set up a script to send out an e-mail on owner change. I set it up as a scrip in the queue it is related to, and it sends a template in that queue as well. However, when I change the owner to myself to test, it sends me 2 e-mail notifications. One containing my template and one containing the default transaction template. It looks like it is running the default global scrip for owner change as well as my own.

I assumed that by running a queue-specific script using the same conditions as a global one would prevent this. How would I go about configuring it not to use the global scrip when I have a queue-specific one?

  1. In my template, I am calling on several variables from the ticket in question. It is essentially sending the owner a form to print out. One piece of data that I would like to have on the “form” is the current date. What would I use in the template to have it generate a timestamp?

Thanks,

Jon

I think this would be a great feature. I, too, assumed that a local
queue version would override a global one. Maybe make this an
RT_Config.pm variable ($EnableGlobalTemplateOverride).

I assumed that by running a queue-specific script using the same
conditions as a global > one would prevent this. How would I go about
configuring it not to use the global scrip > when I have a
queue-specific one?

To answer your question, someone in the mail list had previously
suggested disabling the global scrip and then re-enabling on a per-queue
basis. Also, someone else provided a patch, I believe, to be able to
turn off global scrips (all of them at once? one at a time? not sure).
You should be able to find something searching through the archives.