[rt-users] Thanks for your help with the user CF

2010-11-11 Thread Wolfram Huettermann

Hi Emannuel,

thank you! It works very well. 


It is sufficient to write:

q{,  'CF.{Test}/TITLE:This is a test'}


Greetungs,

Wolfram


Re: [rt-users] Display user custom fields in user list

2010-11-11 Thread Ruslan Zakirov
Josef,

Your question is unrelated to this thread. Start a new thread next time.

CustomFieldValues returns an object, not a hash. You use it when cf may have
multiple values. Otherwise use FirstCustomFieldValue method.

Regards, Ruslan. From phone.
2010 11 11 01:40 пользователь Josef pe...@p-h-a.cz написал:
 I have a simillar question,
 how could I display these user fields in a script? I have tried
 something like

 {$Ticket-CustomFieldValues('MyCustomField')}
 but it returns some hash...

 {$Ticket-MyCustomField}
 doesn't work as well

 Dne 11/10/10 5:03 PM, Emmanuel Lacour napsal(a):
 On Wed, Nov 10, 2010 at 04:21:53PM +0100, Wolfram Huettermann wrote:
 Hi,

 I have a user list with the entries id, name, real name and
 e-mail address. I have created a user custom field hobbies and
 I want to display it in that list as an additional column. How is it
 possible? What should I do?

 on recent RT 3.8.8, you should be able to do this with configuration
 variable %AdminSearchResultFormat.

 example to display CF Test:

 Set(%AdminSearchResultFormat,
 ...
 Users =
 q{'a
href=__WebPath__/Admin/Users/Modify.html?id=__idid__/a/TITLE:#'}
 .q{,'a
href=__WebPath__/Admin/Users/Modify.html?id=__idName__/a/TITLE:Name'}
 .q{,__RealName__, __EmailAddress__}
 .q[, 'CF.{Test}'],
 ^^
 ...
 );



Re: [rt-users] Several line for a CustomField in CommandByEmail.

2010-11-11 Thread Ruslan Zakirov
Hi

Try spaces in the beginning of a new line.

Cf: bla
  Bla
  Bla

Regards, Ruslan. From phone.
2010 11 10 19:53 пользователь CALLEJA-ALBILLOS, FRANCK (FRANCK)** CTR ** 
franck.calleja-albil...@alcatel-lucent.com написал:
 Hello,

 I want to create tickets through CommandByEmail and fulfill some
CustomFields. One of them is a text area (including several lines), but I
don't know how to format the mail so that it takes the Carriage Return or
Line Feed into account :

 I've tried :

 CustomField.{Adresse}:6, rue Léonard de Vinci - BP 0119
 53001 LAVAL


 CustomField.{Adresse}:6, rue Léonard de Vinci - BP 0119
 53001 LAVAL


 CustomField.{Adresse}:6, rue Léonard de Vinci - BP 0119
 AddCustomField.{Adresse}:53001 LAVAL

 None seems to work. Or perhaps I'm wrong.
 Every else other Field ou CustomField is updated correctly.

 How can I do ?

 Thanks for your help,
 Franck CALLEJA-ALBILLOS



[rt-users] custom fields that apply to 'ticket transactions' only showing on ticket create

2010-11-11 Thread Kris Germann
Is there a way to show a mandatory custom field ONLY when the ticket is 
first created?


I want people to enter phone numbers and dates of technical issues, 
however now they are being asked to enter them again when resolving the 
ticket, which really there is no point to since it's recorded already...

--

Kris
Supervisor, Sales  Technical Support
Fibernetics Corporation
605 Boxwood Drive
Cambridge ON, N3E1A5


Re: [rt-users] custom fields that apply to 'ticket transactions' only showing on ticket create

2010-11-11 Thread Kris Germann
In addition, recording dates when 'Type' is 'select date' seems to show 
this in the transaction when the ticket is created:


Title of Custom Field: Thu Nov 18 00:00:00 2010

-- 00:00:00 indicating that I am able to enter a time _somewhere_ ... 
however I cannot find out how to... Am I blind?


Kris
Supervisor, Sales  Technical Support
Fibernetics Corporation
605 Boxwood Drive
Cambridge ON, N3E1A5

On 11/11/2010 10:45 AM, Kris Germann wrote:
Is there a way to show a mandatory custom field ONLY when the ticket 
is first created?


I want people to enter phone numbers and dates of technical issues, 
however now they are being asked to enter them again when resolving 
the ticket, which really there is no point to since it's recorded 
already...

--

Kris
Supervisor, Sales  Technical Support
Fibernetics Corporation
605 Boxwood Drive
Cambridge ON, N3E1A5


Re: [rt-users] RT::Extension::PriorityAsString Help Request (Comple Configuration)

2010-11-11 Thread Brian Thompson
Hello,


I'm in the process of installing  implementing the extension 
RT::Extension::PriorityAsString.

My first issue is with the make  Can anyone tell me if this compile was 
successful? (please
note the Warning although RT 3.8.8 is in fact installed and working for us):

perl Makefile.PL PREFIX=/rt/perl
Using RT configuration from /rt/perl/lib/RT.pm:
./html  = /rt/perl/html
./lib   = /rt/perl/lib
Checking if your kit is complete...
Looks good
Warning: prerequisite RT 3.8.3 not found.
Writing Makefile for RT::Extension::PriorityAsString
[rtrac...@ithelpdesk RT-Extension-PriorityAsString-0.03]$ make
cp lib/RT/Extension/PriorityAsString.pm 
blib/lib/RT/Extension/PriorityAsString.pm
Manifying blib/man3/RT::Extension::PriorityAsString.3pm
[rtrac...@ithelpdesk RT-Extension-PriorityAsString-0.03]$ make install
Installing /rt/perl/lib/RT/Extension/PriorityAsString.pm
Installing /rt/perl/man/man3/RT::Extension::PriorityAsString.3pm
Appending installation info to /rt/perl/lib/perllocal.pod
Installing /rt/perl/html/Ticket/Elements/ShowPriority
Installing /rt/perl/html/Elements/SelectPriority
Installing 
/rt/perl/html/Callbacks/PriorityAsString/Elements/RT__Ticket/ColumnMap/Once


I've gone ahead and added the following lines to our RT_SiteConfig.pm file:

Set(@Plugins, qw(... RT::Extension::PriorityAsString ...));
Set(%PriorityAsString, (Low = 0, Medium = 50, High = 100));
Set(@PriorityAsStringOrder, qw(Low Medium High));

I've restarted the web server as instructed but I'm not seeing any indication
that the number priorities are now strings.

I'm thinking here that the non-standard /rt installation directory might be
the issue but not sure where to look to make this work.

One other non-standard location is the path for RT_SiteConfig.pm and other
associated files, they live in /rt/app/etc:

[rtrac...@ithelpdesk etc]$ pwd
/rt/app/etc
[rtrac...@ithelpdesk etc]$ ls

acl.Informix  acl.Oracle  acl.Sybase   RT_Config.pm  schema.Informix   
schema.mysql-4.1  schema.Pg  schema.Sybase
acl.mysql acl.Pg  initialdata  RT_SiteConfig.pm  schema.mysql-4.0  
schema.Oracle schema.SQLite


Can anyone offer suggestions for how to troubleshoot?

Thank you!,


Brian

[cid:image001.jpg@01CB817A.E454B160]
Brian Thompson
Senior Unix Systems Administrator

Trident Microsystems, Inc.
1170 Kifer Road, Sunnyvale, CA  94086-5303
phone  408-962-5314
email brian.thomp...@tridentmicro.commailto:paul.hof...@tridentmicro.com

inline: image001.jpg

[rt-users] Automatically opening stalled tickets / OpenTicketAndComment

2010-11-11 Thread Keith Edmunds
We use the rt-crontool with Tom Lanyon's OpenTicketAndComment.pm module to
automatically open stalled tickets after a week, and this worked very well
with RT3.6.

We've recently upgraded to 3.8.8, and we now get this error:

Can't call method Message on an undefined value
at /usr/share/request-tracker3.8/lib/RT/Action/AutoOpen.pm line 77. 5190:
Processing without transaction, some conditions and actions may fail.
Consider using --transaction argument

I can see from the list that someone else had a similar problem when
moving from 3.6 to 3.8, but I didn't find a solution.

Can anyone shed any light on this? For completeness, Tom's module is
attached.

Thanks,
Keith

OpenTicketAndComment.pm
Description: Perl program


Re: [rt-users] custom fields that apply to 'ticket transactions' only showing on ticket create

2010-11-11 Thread Ruslan Zakirov
Hi

Then you should apply cf only to tickets. Transaction cfs are for every
update on a ticket.

Regards, Ruslan. From phone.
2010 11 11 18:46 пользователь Kris Germann kris_germ...@295.ca написал:
 Is there a way to show a mandatory custom field ONLY when the ticket is
 first created?

 I want people to enter phone numbers and dates of technical issues,
 however now they are being asked to enter them again when resolving the
 ticket, which really there is no point to since it's recorded already...
 --

 Kris
 Supervisor, Sales  Technical Support
 Fibernetics Corporation
 605 Boxwood Drive
 Cambridge ON, N3E1A5


Re: [rt-users] custom fields that apply to 'ticket transactions' only showing on ticket create

2010-11-11 Thread Emmanuel Lacour
On Thu, Nov 11, 2010 at 10:45:49AM -0500, Kris Germann wrote:
 Is there a way to show a mandatory custom field ONLY when the ticket
 is first created?
 

There is something like this in RT todo list ...

http://issues.bestpractical.com/Ticket/Display.html?id=14974user=guestpass=guest

 I want people to enter phone numbers and dates of technical issues,
 however now they are being asked to enter them again when resolving
 the ticket, which really there is no point to since it's recorded
 already...

As far as I know, displaying CF edit on correspond/comment/resolve is
not in RT core, but often done by a callback. You have to tweak this
callback (or EditBasics if you use this to resolve the ticket) to not
display edition of CF already filled.



Re: [rt-users] custom fields that apply to 'ticket transactions' onlyshowing on ticket create

2010-11-11 Thread Kris Germann
Ruslan,

Thank you, I've also forgot to mention that I'd like to keep the way the 
content of the custom field displays in the transaction body with 'ticket 
transactions' I may be wishing too much but who knows...

Kris Germann

Supervisor, Sales  Technical Support
Fibernetics Corp

Sent wirelessly from my BlackBerry device on the Bell network.
Envoyé sans fil par mon terminal mobile BlackBerry sur le réseau de Bell.

-Original Message-
From: Ruslan Zakirov r...@bestpractical.com
Sender: ruslan.zaki...@gmail.com
Date: Thu, 11 Nov 2010 21:42:03 
To: Kris Germannkris_germ...@295.ca
Cc: RT Usersrt-users@lists.bestpractical.com
Subject: Re: [rt-users] custom fields that apply to 'ticket transactions' only
 showing on ticket create

Hi

Then you should apply cf only to tickets. Transaction cfs are for every
update on a ticket.

Regards, Ruslan. From phone.
2010 11 11 18:46 пользователь Kris Germann kris_germ...@295.ca написал:
 Is there a way to show a mandatory custom field ONLY when the ticket is
 first created?

 I want people to enter phone numbers and dates of technical issues,
 however now they are being asked to enter them again when resolving the
 ticket, which really there is no point to since it's recorded already...
 --

 Kris
 Supervisor, Sales  Technical Support
 Fibernetics Corporation
 605 Boxwood Drive
 Cambridge ON, N3E1A5



Re: [rt-users] RT mobile interface

2010-11-11 Thread John Arends

Yes, it works if I add the /

On 11/10/10 12:10 AM, Jesse Vincent wrote:



On Tue  9.Nov'10 at 15:50:14 -0600, John Arends wrote:

Ok, I figured out some more specifics:

I pointed my browser (FireFox) at https://rt-system.edu/rt/m and it
forwarded to https://rt-system.edu/rt/m/index.html

I noticed the link at the bottom is for
https://rt-system.edu/rt/m?NotMobile=1 and it doesn't work.

If you try

  https://rt-system.edu/rt/m/?NotMobile=1

does it work?






Re: [rt-users] Question on CommandByMail error

2010-11-11 Thread Kenneth Crocker
Kevin,

We ran some transactions with debug and this is what we got:

Ok so here is the debug of the process:

[Thu Nov 11 21:38:58 2010] [debug]: Converting 'ISO-8859-1' to 'utf-8' for
text/plain - Subjectless message (/opt/rt3/bin/../lib/RT/I18N.pm:231)
[Thu Nov 11 21:38:58 2010] [debug]: Converting 'ISO-8859-1' to 'utf-8' for
text/html - Subjectless message (/opt/rt3/bin/../lib/RT/I18N.pm:231)
[Thu Nov 11 21:38:58 2010] [debug]: Guessed encoding: ascii
(/opt/rt3/bin/../lib/RT/I18N.pm:416)
[Thu Nov 11 21:38:58 2010] [debug]: Guessed encoding: ascii
(/opt/rt3/bin/../lib/RT/I18N.pm:416)
[Thu Nov 11 21:38:58 2010] [debug]: Found a ticket ID. It's 85261
(/opt/rt3/bin/../lib/RT/Interface/Email.pm:1153)
[Thu Nov 11 21:38:58 2010] [debug]: Mail from user #146 (kfcroc...@lbl.gov)
(/opt/rt3/bin/../lib/RT/Interface/Email/Auth/MailFrom.pm:75)
[Thu Nov 11 21:38:58 2010] [debug]: Running CommandByMail as KFCrocker
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:184)
[Thu Nov 11 21:38:58 2010] [debug]: Found pseudoheader: Priority = 4
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
[Thu Nov 11 21:38:58 2010] [debug]: Found pseudoheader: Due = 2010-11-28
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
[Thu Nov 11 21:38:58 2010] [debug]: Found pseudoheader: Status = new
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
[Thu Nov 11 21:38:58 2010] [debug]: Got command priority = 4
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213)
[Thu Nov 11 21:38:58 2010] [debug]: Got command due = 2010-11-28
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213)
[Thu Nov 11 21:38:58 2010] [debug]: Got command status = new
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213)
[Thu Nov 11 21:38:58 2010] [debug]: Updating Ticket 85261 in Queue Test
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:249)
[Thu Nov 11 21:38:58 2010] [debug]: About to think about scrips for
transaction #345045 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:163)
[Thu Nov 11 21:38:58 2010] [debug]: About to prepare scrips for transaction
#345045 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:167)
[Thu Nov 11 21:38:58 2010] [debug]: Found 0 scrips for TransactionCreate
stage with applicable type(s) Set
(/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:370)
[Thu Nov 11 21:38:58 2010] [debug]: About to commit scrips for transaction
#345045 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:187)
[Thu Nov 11 21:38:58 2010] [debug]: RT::Date used Time::ParseDate to make
'2010-11-28' 1290931200 (/opt/rt3/bin/../lib/RT/Date.pm:222)
[Thu Nov 11 21:38:58 2010] [debug]: About to think about scrips for
transaction #345046 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:163)
[Thu Nov 11 21:38:58 2010] [debug]: About to prepare scrips for transaction
#345046 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:167)
[Thu Nov 11 21:38:58 2010] [debug]: Found 0 scrips for TransactionCreate
stage with applicable type(s) Set
(/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:370)
[Thu Nov 11 21:38:58 2010] [debug]: About to commit scrips for transaction
#345046 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:187)
[Thu Nov 11 21:38:58 2010] [debug]: Guessed encoding: ascii
(/opt/rt3/bin/../lib/RT/I18N.pm:416)
[Thu Nov 11 21:38:58 2010] [debug]: Guessed encoding: ascii
(/opt/rt3/bin/../lib/RT/I18N.pm:416)
[Thu Nov 11 21:38:58 2010] [debug]: About to think about scrips for
transaction #345047 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:163)
[Thu Nov 11 21:38:58 2010] [debug]: About to prepare scrips for transaction
#345047 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:167)
[Thu Nov 11 21:38:58 2010] [debug]: Found 0 scrips for TransactionCreate
stage with applicable type(s) Correspond
(/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:370)
[Thu Nov 11 21:38:58 2010] [debug]: About to commit scrips for transaction
#345047 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:187)
[Thu Nov 11 21:38:58 2010] [debug]: About to think about scrips for
transaction #345048 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:163)
[Thu Nov 11 21:38:58 2010] [debug]: About to prepare scrips for transaction
#345048 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:167)
[Thu Nov 11 21:38:58 2010] [debug]: Found 0 scrips for TransactionCreate
stage with applicable type(s) Status
(/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:370)
[Thu Nov 11 21:38:58 2010] [debug]: About to commit scrips for transaction
#345048 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:187)
*[Thu Nov 11 21:38:58 2010] [warning]: Failed command 'due: 2010-11-28'
Error message: (no message)
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:696)
[Thu Nov 11