Re: [rt-users] Extension not able to install due to perl error
Hi everyone, I am trying to install RT-Extension-MandatoryFields-0.5 , however it requires me to upgrade my perl version 5.8.8. So I went to this website and followed this guide http://blog.tuxforge.com/centos-5-perl-5-10/ I have successfully upgraded to 5.14.2 , typing this command perl --version returns below: This is perl 5, version 14, subversion 2 (v5.14.2) built for i686-linux-thread-multi So I went back to try and install RT-Extension-MandatoryFields-0.5 by typing perl Makefile.PL but it returns an error below: Cannot find the location of RT.pm that defines $RT::LocalPath in: etc etc It is asking me the Path to directory containing your RT.pm: I have tried all the locations, /opt/rt4/, /opt/rt4 , /opt/rt4/lib/ , /opt/rt3/ , /usr/src/rt-4.0.5 , etc. But for some reason it is not accepting the path. I even tried setting the variable RTHOME to /opt/rt4/ But still it is not able to find the RT.pm My suspect is perl is not upgraded properly. But I did not receive any errors during the upgrade. Anyone had any idea, please shed some light? Thank you in advance. -- View this message in context: http://old.nabble.com/Re%3A-Extension-not-able-to-install-due-to-perl-error-tp33485022p33485022.html Sent from the Request Tracker - User mailing list archive at Nabble.com.
Re: [rt-users] Custom field value in an email
Dear Mr. Thomas, Thanks, after doing the make initdb I had it enabled on the select list, I will try extracting the custom field value and post the result here. Thomas Sibley wrote: On 02/29/2012 12:58 AM, nickyflavier wrote: However, when I am creating a new script based on this guideline http://requesttracker.wikia.com/wiki/ExtractCustomFieldValues , the Action: Extract Custom Field Values is not on the select option list. How do I know If I have installed the RT::Extension::ExtractCustomFieldValues and enabled it properly? It might be an installation issue, otherwise kindly correct me if I am wrong. You didn't read the README that ExtractCustomFieldValues ships with. Please read it. You missed the make initdb step for first time installs. Thomas RT Training Sessions (http://bestpractical.com/services/training.html) * Boston March 5 6, 2012 -- View this message in context: http://old.nabble.com/Re%3A-Custom-field-value-in-an-email-tp3330p33418889.html Sent from the Request Tracker - User mailing list archive at Nabble.com. RT Training Sessions (http://bestpractical.com/services/training.html) * Boston March 5 6, 2012
Re: [rt-users] Custom field value in an email
Dear Mr. Kevin, Thanks for pointing me in a right direction, I have enabled the RT::Extension::ExtractCustomFieldValues using cpan and added this line Set( @Plugins,'RT::Extension::ExtractCustomFieldValues'); to my RT_Siteconfig.pm , I checked also in my RT system configuration that RT::Extension::ExtractCustomFieldValues is enabled. However, when I am creating a new script based on this guideline http://requesttracker.wikia.com/wiki/ExtractCustomFieldValues , the Action: Extract Custom Field Values is not on the select option list. How do I know If I have installed the RT::Extension::ExtractCustomFieldValues and enabled it properly? It might be an installation issue, otherwise kindly correct me if I am wrong. Thank you very much, really appreciate it. Kevin Falcone-2 wrote: On Thu, Feb 23, 2012 at 05:27:27AM -0800, nickyflavier wrote: I am getting transaction emails on RT is it possible to get the custom field value on that ticket and modify the transaction email to include the custom field value? Here is the example email: Wed Feb 22 10:36:16 2012: Request 166 was acted upon. Transaction: Status changed from 'open' to 'resolved' by user1 Queue: Bicycle Subject: Tires is not working Owner: user1 Requestors: us...@gooble.com Status: resolved Custom Field: Value here You can read more about customizing Templates here http://requesttracker.wikia.com/wiki/Customizing You'll need to add a Custom Field: and a call to $self-TicketObj-FirstCustomFieldValue in there. Keep in mind that the template you're quoting is used by several different scrips, so your change may affect multiple types emails. -kevin RT Training Sessions (http://bestpractical.com/services/training.html) * Boston March 5 6, 2012 -- View this message in context: http://old.nabble.com/Re%3A-Custom-field-value-in-an-email-tp3330p33411857.html Sent from the Request Tracker - User mailing list archive at Nabble.com. RT Training Sessions (http://bestpractical.com/services/training.html) * Boston March 5 6, 2012
Re: [rt-users] Custom field value in an email
I am getting transaction emails on RT is it possible to get the custom field value on that ticket and modify the transaction email to include the custom field value? Here is the example email: Wed Feb 22 10:36:16 2012: Request 166 was acted upon. Transaction: Status changed from 'open' to 'resolved' by user1 Queue: Bicycle Subject: Tires is not working Owner: user1 Requestors: us...@gooble.com Status: resolved Custom Field: Value here Anyhelp would be appreciated thank you. -- View this message in context: http://old.nabble.com/Re%3A-Custom-field-value-in-an-email-tp3330p3330.html Sent from the Request Tracker - User mailing list archive at Nabble.com. RT Training Sessions (http://bestpractical.com/services/training.html) * Boston March 5 6, 2012