Re: [rt-users] Notify admincc on ticket creation only?

2009-09-25 Thread Rui Vitor Figueiras Meireles
I did something similar to that. I have many queues, and I created 2 groups. One group administers some queues, and the other the rest. When a ticket is created on a certain queue I needed to send a notification to all the members of the corresponding group. (The problem with using AdminCCs is

[rt-users] Unique CustomField

2009-09-25 Thread Seth Lake
Would love a way to tag a custom field as requiring a unique, non duplicate value (such as a serial number or UPC code). While I'm begging I would also love a way to for capitalization in a field also (such as a serial number or software license key). Don't see any such mods on the wiki, anyone

Re: [rt-users] SetStatus and SetOwner scrip question

2009-09-25 Thread Mike Johnson
Hi Kevin, Thx for that tidbit of info, In that file I found the correct syntax, out of Sean's set, the 2 below will work, $self-TicketObj-SetOwner(Nobody); $self-TicketObj-SetOwner(10); But, this is baffling me... This is my scrip Condition: On Queue Change Action: User Defined Custom

Re: [rt-users] Unique CustomField

2009-09-25 Thread Emmanuel Lacour
On Fri, Sep 25, 2009 at 09:46:41AM -0400, Seth Lake wrote: Would love a way to tag a custom field as requiring a unique, non duplicate value (such as a serial number or UPC code). While I'm begging I would also love a way to for capitalization in a field also (such as a serial number or

Re: [rt-users] Unique CustomField

2009-09-25 Thread Jerrad Pierce
On Fri, Sep 25, 2009 at 09:46, Seth Lake sl...@bcssi.com wrote: While I'm begging I would also love a way to for capitalization in a field also (such as a serial number or software license key). Seems like you could do that with your validation regexp. Would love a way to tag a custom field as

Re: [rt-users] Unique CustomField

2009-09-25 Thread Emmanuel Lacour
On Fri, Sep 25, 2009 at 04:54:22PM +0200, Emmanuel Lacour wrote: On Fri, Sep 25, 2009 at 09:46:41AM -0400, Seth Lake wrote: Would love a way to tag a custom field as requiring a unique, non duplicate value (such as a serial number or UPC code). While I'm begging I would also love a way

Re: [rt-users] How to change default HomepageSettings

2009-09-25 Thread Rui Vitor Figueiras Meireles
It was that simple... I though Configuration-Global-RT was the same as the Edit link at home page (which is root's preferences only). Thank you. Resolved. -- Message: 6 Date: Fri, 25 Sep 2009 07:21:08 +0200 From: Emmanuel Lacour elac...@easter-eggs.com Subject:

Re: [rt-users] SetStatus and SetOwner scrip question

2009-09-25 Thread Kevin Falcone
On Fri, Sep 25, 2009 at 09:55:23AM -0400, Mike Johnson wrote: Hi Kevin, Thx for that tidbit of info, In that file I found the correct syntax, out of Sean's set, the 2 below will work, $self-TicketObj-SetOwner(Nobody); $self-TicketObj-SetOwner(10); You're not checking

[rt-users] Time in logs not matching system time

2009-09-25 Thread Lander, Scott
All, I am seeing a time in the rt log file that is 4 hours in advance of the system time (system time is EDT). IE r...@myhelpdesk:/opt/rt3/var/log# date Fri Sep 25 11:38:41 EDT 2009 r...@myhelpdesk:/opt/rt3/var/log# tail -f rt.log [Fri Sep 25 15:39:58 2009] [info]:

Re: [rt-users] ModifySelf Privilege Prevents Login

2009-09-25 Thread Behzad Mahini
Hoping this additional piece of Information from Apache 'error_log file would provide more clue for debugging: [error]: FAILED LOGIN for root from xx.xxx.xx.xxx (/some_dir_xxx/share/ html/autohandler:268) lines of the code within autohandler that the above error message is

Re: [rt-users] SetStatus and SetOwner scrip question

2009-09-25 Thread Ken Crocker
Mike, You didn't get my code correct. You forgot the Force. (NO, I'm NOT saying may the force be with you, gaagh!). Also, when creating a scrip, you must keep in mind that when you define the condition as :User-Defined, you SHOULD end with a return code in both the Prep Cleanup areas. Since

Re: [rt-users] Time in logs not matching system time

2009-09-25 Thread Susan McClure
I have basically the same problem with the log 5 hours ahead. (I am CDT) I have a RHE Linux 5 system. I have tried both of these in the RT_SiteConfig.pm without any change: Set($Timezone, 'US/Central'); and Set($Timezone , 'America/Chicago'); Interestingly, when httpd first starts up the log has

Re: [rt-users] ModifySelf Privilege Prevents Login

2009-09-25 Thread Jesse Vincent
On Fri, Sep 25, 2009 at 09:03:56AM -0700, Behzad Mahini wrote: Hoping this additional piece of Information from Apache 'error_log file would provide more clue for debugging: Out of curiousity, is there anything interesting in your syslog or database error log? [error]: FAILED

Re: [rt-users] ModifySelf Privilege Prevents Login

2009-09-25 Thread Behzad Mahini
1) Systemlog MySQL log points: == system.log file: RT[350]: FAILED LOGIN for root from xx.xx.xx.xx (/some_dir_xx//share/ html/autohandler:268) ..which is saying the same thing that my Apache error_log indicated Mysql log files: The only log files that I have for

[rt-users] More on searching custom fields in RT 3.6.7

2009-09-25 Thread Mauricio Tavares
I am still trying to get custom fields not only to be shown when I am looking at a ticked. Reading http://wiki.bestpractical.com/view/DisplayCustomFieldsInTicketSearch, I was pointed to http://wiki.bestpractical.com/view/ChangeDefaultRTAtAGlance which seem to address that need, but I do

Re: [rt-users] SetStatus and SetOwner scrip question

2009-09-25 Thread Mike Johnson
Thank you very much Ken. I am new to coding custom action codes, and didn't see the part where you need to tell the script to move on from custom action prep. on this page ... http://wiki.bestpractical.com/view/WriteCustomAction I was trying to move too fast :P. Thx for pointing that

[rt-users] Multiple attachments from SelfService ticket creation page

2009-09-25 Thread Nick Kartsioukas
The ability to add multiple attachments when creating a ticket from the SelfService interface was requested from some of our users. I copied the chunk of attachment code from share/html/Ticket/Create.html into the SelfService Create.html file, and the Add More button shows up...but when I click

Re: [rt-users] ModifySelf Privilege Prevents Login

2009-09-25 Thread Behzad Mahini
Since I had installed RT-FM RT-IR, ...at the command line using the Perl command I decided to include the paths to RT-FM RT-IR libraries (Plugins), and the error message changed (from what I had sent earlier) to the following: $sudo perl -I/usr/local/src/oppresso/rt-3.8.4/lib

Re: [rt-users] ModifySelf Privilege Prevents Login

2009-09-25 Thread Behzad Mahini
Good News bad News (for me it is still bad News).I took care of the complaint about Undefined subroutine RT::LoadConfig(), by placing all of the following lines in a single file (i.e., replace_password.pl), and executing the following code from the command line (I simply replaced the

Re: [rt-users] Time in logs not matching system time

2009-09-25 Thread Kimberly McKinnis
Isn't Chicago GMT -5? RT will always log in UTC no matter what you do, but setting the timezone effects the user interface. -Original Message- From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Susan McClure Sent: Friday,

Re: [rt-users] ModifySelf Privilege Prevents Login

2009-09-25 Thread Jesse Vincent
my $u = RT::User-new($RT::SystemUser); $u-Load(root); # add this line: warn $u-id; # replace this line $u-setPassword(secret); with: my ($val,$msg) = $u-setPassword(secret); warn $val, $msg; 2) Executing it: $sudo ./replace_password.pl Change of config option

Re: [rt-users] Time in logs not matching system time

2009-09-25 Thread Roderick A. Anderson
Kimberly McKinnis wrote: Isn't Chicago GMT -5? RT will always log in UTC no matter what you do, but setting the timezone effects the user interface. Interesting. I have TimeZone in RT_SiteConfig.pm set to 'US/Pacific' and get the local time in the log files. I am also using syslog which may

[rt-users] timeworked.pl requires every extension lib to be added?

2009-09-25 Thread Jo Rhett
So I'm testing out your time worked report, and I'm finding that each and every extension I've added needs to be put in your use lib line. Couldn't you simplify this and use the same lib path adjustment as the main RT instance? Or better yet, not include the extensions? Do you really

Re: [rt-users] timeworked.pl requires every extension lib to be added?

2009-09-25 Thread Fran Fabrizio
Jo, I did not experience that, the version I shared on the list is exactly as it runs in my environment, it must be something specific to your RT setup if you are needing to add multiple entries to the use lib line. Others on the list have also used it successfully without having that issue.