Implementer comments in a template

How do I add comments to my templates so they can be backed up or moved
from RT install to RT install with the implementation notes right in the
template?

Thanks,

Jeremy

Jeremy,

Templates are on the DataBase. Upgrading from version to version 

will NOT erase them. As long as your DBA is doing regular backups (which
I cannot fathom why they wouldn’t), then your templates are safe.

Kenn
LBNLOn 6/18/2009 7:28 AM, Jeremy Winder wrote:

How do I add comments to my templates so they can be backed up or moved
from RT install to RT install with the implementation notes right in the
template?

Thanks,

Jeremy


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

Jeremy, templates use perl code, so just use perl comments:

{ ### This template is for doing something or other.

Call me if you have any question. }

Regards,
Gene

At 07:28 AM 6/18/2009, Jeremy Winder wrote:

How do I add comments to my templates so they can be backed up or moved
from RT install to RT install with the implementation notes right in the
template?

Thanks,

Jeremy


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

Gene LeDuc, GSEC
Security Analyst
San Diego State University

I over simplified my question. I’m not so much worried about losing the
templates in my production RT install. Without backups of it we would
also lose all of the tickets and change audit logs, which would lead to
me finding new employment.

I’m more curious about the comments because I’m looking at writing a
script that will pull them out of the database and store them in text
files. This way they can be committed to subversion or given to others
trying to solve the same problem.

I didn’t consider using {# comment} blocks. They should solve my problem
nicely.

JeremyOn Thu, 2009-06-18 at 08:29 -0700, Ken Crocker wrote:

Jeremy,

Templates are on the DataBase. Upgrading from version to version 

will NOT erase them. As long as your DBA is doing regular backups (which
I cannot fathom why they wouldn’t), then your templates are safe.

Kenn
LBNL

On 6/18/2009 7:28 AM, Jeremy Winder wrote:

How do I add comments to my templates so they can be backed up or moved
from RT install to RT install with the implementation notes right in the
template?

Thanks,

Jeremy


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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