Re: [rt-users] Register Bcc as AdminCc user

2011-12-08 Thread Ruslan Zakirov
On Thu, Dec 8, 2011 at 11:43, Kriegers Horst wrote: > Hello all, > > > > After 2 days of searching I don’t find any solution and now I need your > help. > > > > I wich to automatically register Bcc user as AdminCc on ticket. > > Is there a configuration or a scrip to do this ? If you mean one tim

Re: [rt-users] Can't open Ticket Time::ParseDate error

2011-12-08 Thread john s.
? -- View this message in context: http://old.nabble.com/Can%27t-open-Ticket-Time%3A%3AParseDate-error-tp32901809p32933376.html Sent from the Request Tracker - User mailing list archive at Nabble.com. RT Training Sessions (http://bestpractical.com/services/training.html)

Re: [rt-users] Can't open Ticket Time::ParseDate error

2011-12-08 Thread Bart
What do you see in /var/log/messages or /var/log/syslog Also, what are the entries in /opt/rt4/var/log (error and access)? (is the "click" registered?) Do other things via de webinterface work? (is this the only problem your seeing? e.g. ticket creation, editing some fields, etc.) -- Bart Op 8

Re: [rt-users] Can't open Ticket Time::ParseDate error

2011-12-08 Thread john s.
Hello everybody after a few commands with mysqlcheck on the table which belongs to ... everything is fine best regards john s. -- View this message in context: http://old.nabble.com/Can%27t-open-Ticket-Time%3A%3AParseDate-error-tp32901809p32933407.html Sent from the Request Tracker

[rt-users] category & description for custom field

2011-12-08 Thread Marouane Himdi
Hi all, How can I get category and description associated to a value of a custom field we need that to use it in a scrip Best regards Marouane HIMDI Ingénieur R&D (Keys : monitoring, functionnal&load-Testing, request-tracketing, ... ) RT Training Sessions (http://bestpractical.com/s

Re: [rt-users] RT tool & RecordTransaction => 0

2011-12-08 Thread Ruslan Zakirov
On Thu, Dec 8, 2011 at 10:34, Bart wrote: > Any suggestions on how to achieve the above without writing stuff in the > ticket history? With a silent flag that only available through API. rt-crontool + custom scrip action is your friend. -- Best regards, Ruslan. RT Training Sessions (ht

Re: [rt-users] RT tool & RecordTransaction => 0

2011-12-08 Thread Bart
I find the rt-crontool to be a bit confusing. I can search with it, set a CF based on search results etc. But the trick would be to do something like CF-'some cf'="Old CF Value" + 5. Can the rt-crontool launch an internal RT scrip (e.g. a global scrip or something like that) as action instead of

Re: [rt-users] category & description for custom field

2011-12-08 Thread Ruslan Zakirov
On Thu, Dec 8, 2011 at 13:30, Marouane Himdi wrote: > Hi all, > How can I get category and description associated to a value of a custom > field > we need that to use it in a scrip my $cf = $ticket->LoadCustomFieldByIdentifier( "CF name"); my $value = $ticket->FirstCustomFieldValue( $cf->Name );

Re: [rt-users] category & description for custom field

2011-12-08 Thread Marouane Himdi
Thanks Ruslan for your reactivity I'll test that - Mail original - De: "Ruslan Zakirov" À: "Marouane HIMDI" Cc: "rt-users" Envoyé: Jeudi 8 Décembre 2011 11:01:58 Objet: Re: [rt-users] category & description for custom field On Thu, Dec 8, 2011 at 13:30, Marouane Himdi wrote: > Hi all,

Re: [rt-users] RT tool & RecordTransaction => 0

2011-12-08 Thread Bart
Looking into this atm, might be a more "clean" way of doing this: http://requesttracker.wikia.com/wiki/WriteCustomAction -- Bart Op 8 december 2011 11:01 schreef Bart het volgende: > I find the rt-crontool to be a bit confusing. I can search with it, set a > CF based on search results etc. >

Re: [rt-users] RT tool & RecordTransaction => 0

2011-12-08 Thread Ruslan Zakirov
On Thu, Dec 8, 2011 at 14:01, Bart wrote: > Can the rt-crontool launch an internal RT scrip (e.g. a global scrip or > something like that) as action instead of the actions that I come across at > the examples? It's exactly what it does - replays custom condition, scrip and template combination on

Re: [rt-users] Clock and TitleBox widgets

2011-12-08 Thread Ruslan Zakirov
On Mon, Dec 5, 2011 at 10:52 PM, Yan Seiner wrote: > Has anyone implemented TitleBox and Clock (and maybe other) widgets that > can be used on dashboards? > > We rolled out our status board which shows the status of current jobs. > The status board is a browser kiosk (no window decorations or menu

Re: [rt-users] add 'tale' link to rt emails

2011-12-08 Thread Ruslan Zakirov
Hi, Are you sure you modify correct template. For example you may be changing global template named X while queue you test in also has template named X. On Mon, Dec 5, 2011 at 8:50 PM, Tim Dunphy wrote: > hello list, > >  I am attempting to have my rt instance include a link to 'take' the ticket

Re: [rt-users] Problems sending with SendMail

2011-12-08 Thread Ruslan Zakirov
On Mon, Dec 5, 2011 at 8:05 PM, Daniel Garcia Mejia wrote: > Set($SendmailPatch, "/usr/sbin/sendmail"); Typo. It should be Path, not Patch. -- Best regards, Ruslan. RT Training Sessions (http://bestpractical.com/services/training.html) * Boston March 5 & 6, 2012

Re: [rt-users] RT-Extension-LDAPImport Sizelimit exceeded

2011-12-08 Thread Ruslan Zakirov
On Mon, Dec 5, 2011 at 5:28 PM, Givano wrote: > Hi, > > have configured LDAP Import extension with RT 4.0.2 and getting following > error message from script: > > [Mon Dec  5 11:24:47 2011] [error]: LDAP search failed Sizelimit exceeded > (/usr/local/share/request-tracker4/lib/RT/Extension/LDAPImp

Re: [rt-users] RT tool & RecordTransaction => 0

2011-12-08 Thread Bart
Damn, this really is kinda cool ^_^ (learn something new every day) To recap what I did. # Go to the place where all the actions are located cd /opt/rt4/lib/RT/Action # Copy EscalatePriority to TEST.pm, I needed an example ;) cp EscalatePriority.pm TEST.pm # Edit TEST.pm to look like this (fu

Re: [rt-users] Autocreate external users

2011-12-08 Thread Ruslan Zakirov
On Fri, Dec 2, 2011 at 10:49 PM, Yan Seiner wrote: > I need to allow for the automatic creation of unprivileged users when we > get emails from outside.  Right now I create privileged users when they > log in via LDAP: > > Set($AutoCreateNonExternalUsers, 1); > Set($AutoCreate, {Privileged => 1});

Re: [rt-users] RT tool & RecordTransaction => 0

2011-12-08 Thread Ruslan Zakirov
On Thu, Dec 8, 2011 at 14:46, Bart wrote: > One last question though, this custom action is only loaded when I > explicitly call for it? (I assume yes, but want to be sure if it) Yes. You can register it in database and use in scrips. You can also use Argument value to control the action. Check

Re: [rt-users] RT tool & RecordTransaction => 0

2011-12-08 Thread Ruslan Zakirov
On Thu, Dec 8, 2011 at 14:46, Bart wrote: > sub Prepare  { >     my $self = shift; >     my $new_value = $self->TicketObj-> FirstCustomFieldValue( 'Teller New' ) > + 5; >     $self->TicketObj->AddCustomFieldValue(Field => 'Teller New', Value => > $new_value, RecordTransaction => 0 ); >     return

Re: [rt-users] RT tool & RecordTransaction => 0

2011-12-08 Thread Bart
Ok, Will do a little more adjusting, thanks for the help. -- Bart Op 8 december 2011 12:28 schreef Ruslan Zakirov het volgende: > On Thu, Dec 8, 2011 at 14:46, Bart wrote: > > sub Prepare { > > my $self = shift; > > my $new_value = $self->TicketObj-> FirstCustomFieldValue( 'Teller >

Re: [rt-users] Customize Quicksearch RT 4.0.4

2011-12-08 Thread Ruslan Zakirov
On Wed, Nov 30, 2011 at 5:14 PM, Sean McDaid wrote: > Also where can the state of a status be defined, for example "cust_info" > should be a Waiting state? RT has only 3 states: initial, active and inactive. No waiting state, stalled status that is in default lifecycle is still considered active.

Re: [rt-users] 403 error on local mods

2011-12-08 Thread Ruslan Zakirov
On Wed, Nov 30, 2011 at 4:20 AM, Yan Seiner wrote: > 29/Nov/2011:16:04:36 -0800] "GET /WSCNews/ HTTP/1.1" 403 26 > > and that's it.  I can change the file permissions on WSCNews to deny read > access and I get the stock "Forbidden: You do not have permission" error > message, but if I allow RT rea

Re: [rt-users] Queue Notification Scrip question

2011-12-08 Thread Ruslan Zakirov
On Mon, Nov 21, 2011 at 11:54 PM, Todd French wrote: > I’m trying to tidy up the notifications our users get on RT, currently we > have in place a scrip that On Queue Change, Notify Admin CC’s.  What I’d > like to do is tweak this so that it only sends the notification for tickets > that change wh

Re: [rt-users] Transaction custom field not showing in Incident

2011-12-08 Thread Ruslan Zakirov
On Tue, Nov 15, 2011 at 12:02 AM, Kevin Falcone wrote: > On Mon, Nov 14, 2011 at 01:55:42PM -0500, Xin, Qiao wrote: >> I created a Ticket transactions custom field named "Notification" and >> applied to the "Incidents" queue of RTIR. >> However, it is not shown in the page when I try to "Reply" o

Re: [rt-users] RT tool & RecordTransaction => 0

2011-12-08 Thread Bart
I think I've finished it, only have some issues with the $RT::Logger->error thing. The scrip won't launch when I have that part enabled, when disabled it runs just fine O_o package RT::Action::TEST; use base 'RT::Action'; use strict; use warnings; sub Prepare { return 1; } sub Commit {

[rt-users] Migrate, not upgrade, database

2011-12-08 Thread Keith Edmunds
Hi List We have an RT system that's been running for over six years, and during that time it has been upgraded from time to time and is now running 3.8.8 with MySQL. We're about to upgrade to 4.0.2, but I want to try to fix some issues we've been having. Back in the olden days, customisations wer

Re: [rt-users] CF Link values

2011-12-08 Thread Gerard FENELON
On 2011-12-07 22:16, Ruslan Zakirov wrote: On Wed, Dec 7, 2011 at 10:11 PM, Gerard FENELON wrote: Hi I am using RT3.8.8 I have a CF where the "Link value to" contains http://cvsweb/__CustomField__ RT generates a link but if I click on the link I get a 404 error using Firefox. I am pretty

Re: [rt-users] RT tool & RecordTransaction => 0

2011-12-08 Thread Ruslan Zakirov
On Thu, Dec 8, 2011 at 17:00, Bart wrote: > I think I've finished it, only have some issues with the $RT::Logger->error > thing. The scrip won't launch when I have that part enabled, when disabled > it runs just fine O_o $val is inside if {} block and lexically scoped, so it's not available outsi

Re: [rt-users] CF Link values

2011-12-08 Thread Ruslan Zakirov
On Thu, Dec 8, 2011 at 18:12, Gerard FENELON wrote: > is it safe to change >    CustomField => { value => sub { $_[0]->Content }, escape => 1 }, > to >    CustomField => { value => sub { $_[0]->Content } }, > in _FillInTemplateURL ? Only if you know what you're doing. > Or should I change >    $

Re: [rt-users] Register Bcc as AdminCc user

2011-12-08 Thread Kriegers Horst
Russlan, Thank you for your reply. I have two problems. First, I do not understand the code in the Notify.pm, I'm not a perl dev. : ( Second, I'm not sure I was clear in my question, sorry ... My wish is to register as a user AdminCc which was declared as Bcc when creating a new ticket b

Re: [rt-users] Register Bcc as AdminCc user

2011-12-08 Thread Ruslan Zakirov
On Thu, Dec 8, 2011 at 18:48, Kriegers Horst wrote: > Russlan, > > Thank you for your reply. > > I have two problems. > First, I do not understand the code in the Notify.pm, I'm not a perl dev. : ( > Second, I'm not sure I was clear in my question, sorry ... >        My wish is to register as a us

[rt-users] Auto-reply contains FAQ search results

2011-12-08 Thread Steve Huston
I've looked through the wiki and mailing list and didn't find mention of something like this. My auto-reply has a line to direct users to our FAQ (not RTFM, it predated RTFM and I've found no compelling reason to port it all now). However, as one might guess, people still do not go search for the

Re: [rt-users] RT tool & RecordTransaction => 0

2011-12-08 Thread Bart
So this if statement would be more accurate: (to have the ability to have a little more specific error log message) if ($tstatus eq 'new') { my ($status, $msg) = $self->TicketObj->AddCustomFieldValue(Field => 'aantal_minuten_new', Value => $self->TicketObj->FirstCustomField

Re: [rt-users] Auto-reply contains FAQ search results

2011-12-08 Thread Ruslan Zakirov
On Thu, Dec 8, 2011 at 19:12, Steve Huston wrote: > I've looked through the wiki and mailing list and didn't find mention of > something like this.  My auto-reply has a line to direct users to our > FAQ (not RTFM, it predated RTFM and I've found no compelling reason to > port it all now).  However

Re: [rt-users] The RT Wiki - Restructure (start using categories?)

2011-12-08 Thread Bart
Hi, So far it's been a busy week for me O_o (lots of small things to-do) I'll make a wiki page which will represent [the|a] "new" front page and start creating a structure, or somewhat a structure, on it so that everyone can help work on it + so we have a starting point. The page should be done

[rt-users] Full text search

2011-12-08 Thread Thomas Smith
Hi, In RT 3.x, one could do a full text "simple search" by entering "fulltext:". I tried this in RT 4 but it doesn't work. Is there a way to do a full text search in RT 4? ~ Tom RT Training Sessions (http://bestpractical.com/services/training.html) * Boston — March 5 & 6, 2012

Re: [rt-users] Full text search

2011-12-08 Thread Thomas Sibley
On 12/08/2011 01:28 PM, Thomas Smith wrote: > Hi, > > In RT 3.x, one could do a full text "simple search" by entering > "fulltext:". I tried this in RT 4 but it doesn't work. > > Is there a way to do a full text search in RT 4? That syntax is still supported but by default non-indexed FTS isn't

Re: [rt-users] RTx::Calendar in rt4

2011-12-08 Thread Kevin Falcone
On Tue, Nov 29, 2011 at 05:18:59PM +0100, Emmanuel Lacour wrote: > On Tue, Nov 29, 2011 at 11:08:03AM -0500, Joe Harris wrote: > > Has anyone ported the Calendar plugin to rt4? I installed it in the > > new version (4.0.4). It shows on the home screen, but there is not a > > link to the full cale

Re: [rt-users] CLI Scripting Question

2011-12-08 Thread Kevin Falcone
On Wed, Nov 30, 2011 at 09:28:53AM +0100, Nehmer Torben wrote: > Hi, > > > It wouldn't work. Most times it's easier to use > > $tickets->FromSQL("Queue = 'x' AND (Status ...)") instead of Limit* > > calls. LIKE adding % around arguments is historical thing. Use > > MATCHES. > > Using OPERATOR =>

[rt-users] How to set a language preference when creating a ticket with the rt CLI?

2011-12-08 Thread Stefan Vollmar
Hi, we have created a simple web interface for our users - they can now easily create tickets and this works, in general, very well. We have provided some custom templates for our queues (in German) and they are being used by RT. However, we have not yet customized all templates and RT uses the

Re: [rt-users] How to set a language preference when creating a ticket with the rt CLI?

2011-12-08 Thread Ruslan Zakirov
On Fri, Dec 9, 2011 at 01:01, Stefan Vollmar wrote: > Hi, > > we have created a simple web interface for our users - they can now easily > create tickets and this works, in general, very well. We have provided some > custom templates for our queues (in German) and they are being used by RT. > H

Re: [rt-users] Full text search

2011-12-08 Thread Dave Pascoe
I have had this configured in my RT 4.0.4 installation as follows: Set(%FullTextSearch, Enable => 1, Indexed => 0, ); but the results when using fulltext: I don't get the expected results. Searching for things that ought to return dozens of hits return maybe 2 or 3. I will try to dig i

Re: [rt-users] Full text search

2011-12-08 Thread Izz Abdullah
This is the same configuration I have in my 4.0.2 installation. Seems like to get full benefits from it I needed to restart MySQL and of course Apache. Maybe this will help. I've hardcoded the fulltext: directive into the simple search, and it works beautifully for us here. From: rt-users-bo

Re: [rt-users] Full text search

2011-12-08 Thread Thomas Sibley
On 12/08/2011 04:36 PM, Dave Pascoe wrote: > I have had this configured in my RT 4.0.4 installation as follows: > > Set(%FullTextSearch, > Enable => 1, > Indexed => 0, > ); > > but the results when using fulltext: I don't get the > expected results. Searching for things that ought to re

Re: [rt-users] Full text search

2011-12-08 Thread Thomas Sibley
On 12/08/2011 04:54 PM, Thomas Sibley wrote: > On 12/08/2011 04:36 PM, Dave Pascoe wrote: >> I have had this configured in my RT 4.0.4 installation as follows: >> >> Set(%FullTextSearch, >> Enable => 1, >> Indexed => 0, >> ); >> >> but the results when using fulltext: I don't get the >> ex

[rt-users] RTFM

2011-12-08 Thread Robert Hayward
Where do I go to find this path? The content area of a RTFM article cannot be edited. lib/RT/FM/Introduction.pod Regards, Robert Hayward Systems Support Engineer | Axispoint, Inc. 350 Madison Avenue, 4th floor, New York, NY 10017 Office: 212-920-2692 | Mobile: 267-231-5541 Email: rhayw...@ax

Re: [rt-users] RTFM

2011-12-08 Thread Ruslan Zakirov
On Fri, Dec 9, 2011 at 02:21, Robert Hayward wrote: > Where do I go to find this path? The content area of a RTFM article cannot > be edited. > > lib/RT/FM/Introduction.pod docs/customizing/articles_introduction.pod > > Regards, > Robert Hayward -- Best regards, Ruslan. RT Training Se

[rt-users] ExternalAuth Installed but not working

2011-12-08 Thread Ryan Backman
I'm having a bit of trouble getting ExternalAuth to work. I've scoured the archives and the net and found many suggestions, but none have made any changes. - I've setup logging to go to a seperate file, but all I get is a Login Failure message in this file when I try to login: [Thu Dec 8 23:38

Re: [rt-users] Full text search

2011-12-08 Thread Dave Pascoe
My bad. I wasn't expecting that Status=resolved tickets were not going to be searched. Operator error. I also learned that you can pass status into SimpleSearch right from the search box. Solves my needs. Thanks for the responses. RT Training Sessions (http://bestpractical.com/service

Re: [rt-users] Register Bcc as AdminCc user

2011-12-08 Thread Kriegers Horst
> it's not. Incoming mail has no Bcc field, MTA deleted it during processing. Thanks for your answer. Regards, Horst > -Message d'origine- > De : ruslan.zaki...@gmail.com [mailto:ruslan.zaki...@gmail.com] De la part > de Ruslan Zakirov > Envoyé : jeudi, 8. décembre 2011 16:11 > À : Krieg