<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">In recent RT, you want to look at the RT subject regex option in the config file.<DIV><BR><DIV><DIV>On Jun 6, 2007, at 6:53 AM, Carlos R. S. wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <DIV class="Section1"><P class="MsoNormal"><O:P> </O:P></P><P class="MsoNormal"><SPAN lang="EN-US">Hi,<O:P></O:P></SPAN></P><P class="MsoNormal"><SPAN lang="EN-US"><O:P> </O:P></SPAN></P><P class="MsoNormal"><SPAN lang="EN-US">I need to change my rtname, but has the server is in production, I’ve got to be pretty sure nothing is going to go wrong.<O:P></O:P></SPAN></P><P class="MsoNormal"><SPAN lang="EN-US">I found some info about some extra lines to add to the EmailParser.pm:<O:P></O:P></SPAN></P><P class="MsoNormal"><SPAN lang="EN-US"><O:P> </O:P></SPAN></P><P class="MsoNormal"><SPAN lang="EN">*** ./lib/RT/EmailParser.pm~ 2004-06-15 02:08:15.000000000 +0200 <BR> --- ./lib/RT/EmailParser.pm 2004-08-23 18:58:47.000000000 +0200 <BR> *************** <BR> *** 332,337 **** <BR> --- 332,342 ---- <BR> $RT::Logger->debug("Found a ticket ID. It's $id"); <BR> return ($id); <BR> } <BR> + elsif ($Subject =~ s/\[OldName \#(\d+)\]//i) { <BR> + my $id = $1; <BR> + $RT::Logger->debug("Found an old (OldName) ticket ID. It's $id"); <BR> + return ($id); <BR> + } <BR> else { <BR> return (undef); <BR> }<O:P></O:P></SPAN></P><P class="MsoNormal"><SPAN lang="EN"><O:P> </O:P></SPAN></P><P class="MsoNormal" style="text-autospace:none"><SPAN lang="EN">But I have to be pretty sure this will work… and about changing Rtname itself, should I alter it in RT_SiteConfig.pm, and </SPAN><SPAN lang="EN-US" style="font-size: 10.0pt;font-family:" courier="" new""="">make initialize-database </SPAN><SPAN lang="EN">or doing this will initialize all the info instead of only the rtname?</SPAN><SPAN lang="EN-US" style="font-size:10.0pt;font-family:" courier="" new""=""><O:P></O:P></SPAN></P><P class="MsoNormal"><SPAN lang="EN-US"><O:P> </O:P></SPAN></P><P class="MsoNormal"><SPAN lang="EN-US">How should I do it? Any advice from someone who has done it…?<O:P></O:P></SPAN></P><P class="MsoNormal"><SPAN lang="EN-US"><O:P> </O:P></SPAN></P><P class="MsoNormal"><SPAN lang="EN-US"><O:P> </O:P></SPAN></P> </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Community help: <A href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Commercial support: <A href="mailto:sales@bestpractical.com">sales@bestpractical.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Buy a copy at <A href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>