From GBaxter at blackpoolsixth.ac.uk Tue Dec 1 03:52:20 2009 From: GBaxter at blackpoolsixth.ac.uk (Guy Baxter) Date: Tue, 01 Dec 2009 08:52:20 GMT Subject: [rt-users] RT 3.8.2 from 3.4.2 Message-ID: Hi, We have a 6 year old install of RT 3.4.2 running on fedora core 2, I want to update this to the newest version - 3.8.2. As we need to use RT most of the time I am currently testing the new version on a different PC. (intention is to schedule some downtime once my test version is working to rebuild the original). I have done a mysql dump, and imported it onto a new fresh build of fedora 10 with mysql 5 and apache 2, however if i do this, when browsing RT i get logged out every 30 seconds or so. If i setup a new install without importing the data this does not happen... very strange? Also, I can't see how to setup RT to talk to my mailserver? I've found a bit about /etc/aliases but can't see anywhere for it to point to the IP of my mailserver? Does anyone have any ideas? Any help appreciated, Regards, Guy. This email and any attachments are confidential and are intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. Please contact the sender if you believe you have received this email in error. Emails are not secure and cannot be guaranteed to be free of errors or viruses. It is your responsibility to scan emails and attachments for viruses before opening them. Any views or opinions expressed are solely those of the author and do not necessarily represent those of The Blackpool Sixth Form College. ##################################################################################### Scanned by MailMarshal - Marshal's comprehensive email content security solution. Download a free evaluation of MailMarshal at www.marshal.com ##################################################################################### From pms52 at cam.ac.uk Tue Dec 1 06:33:22 2009 From: pms52 at cam.ac.uk (Philip Shore) Date: Tue, 01 Dec 2009 11:33:22 +0000 Subject: [rt-users] 3.8.6: WritableAttributes error in Web.pm's AttemptExternalAuth In-Reply-To: <20091130191522.GA1406@jibsheet.com> References: <4B141116.5070808@cam.ac.uk> <20091130191522.GA1406@jibsheet.com> Message-ID: <4B14FF02.4080603@cam.ac.uk> Hi Keven, Thanks for the quick response. That patch does indeed fix the error and now I can see the self service interface after authenticating. Re, our config. I have attached the complete config in case you would like to provide any words of wisdom. We are using a custom apache single sign on module that puts the users id into remote_user then we auto create the user after lookup their name, email address etc from an ldap source which I guess is the old handler. I am taking a look at RT::Authen::ExternalAuth to see if it would be a better solution for us. Many thanks, Philip Shore. Kevin Falcone wrote: > On Mon, Nov 30, 2009 at 06:38:14PM +0000, Philip Shore wrote: > >> I am trying to upgrade our 3.6.5 RT instance to 3.8.6 and I am getting >> an error at the point of first log on. >> >> There is new code in RT 3.8.6 that wasn't present in 3.8.5 that is >> throwing an error for me: >> > > I'd be interested to know if the untested attached patch fixes the > issue you're seeing. > > Your siteconfig is also really odd, it isn't clear to me if you're > using all in-house config, or some mix of apache auth and > RT-Authen-ExternalAuth or the much older ldap handler. > > -kevin > > >> error: Can't locate object method "WritableAttributes" via package >> "pms52" (perhaps you forgot to >> load "pms52"?) at /opt/rt3/bin/../lib/RT/Interface/Web.pm line 367, >> line 276. >> context: >> ... >> 363: # now get user specific information, to better create our user. >> 364: my $new_user_info = >> RT::Interface::Web::WebExternalAutoInfo($user); >> 365: >> 366: # set the attributes that have been defined. >> 367: foreach my $attribute ( $user->WritableAttributes ) { >> 368: $m->callback( >> 369: Attribute => $attribute, >> 370: User => $user, >> 371: UserInfo => $new_user_info, >> ... >> code stack: >> /opt/rt3/bin/../lib/RT/Interface/Web.pm:367 >> /opt/rt3/bin/../lib/RT/Interface/Web.pm:197 >> /opt/rt3/share/html/autohandler:53 >> >> >> I have RT configured to use WebExternalAuto, and so have an Apache >> module providing the userid via REMOTE_USER and user info collected via >> ldap. I logon with username "pms52" which appears in the error. I can >> also see in the rt log that it has successfully retrieved my information >> from our ldap server. >> >> I am not a perl programmer but it looks to me like the RT code at line >> 367 is expecting a database object but has a String instead. >> >> The AttemptExternalAuth subrouting is new in RT 3.8.6. Is there >> something I have not configured correctly or is there a bug ? I have >> pasted what I think are the relevant parts of our RT_SiteConfig below. >> >> Many thanks, >> Philip Shore. >> >> >> Set($AuthMethods, ['Internal']); >> >> Set($WebExternalAuth , 1); >> Set($WebExternalAuto , 1); >> Set($AutoCreate, { Privileged => 0 } ); >> >> Set($LdapExternalInfo, 1); >> Set($LdapAutoCreateNonLdapUsers, 1); >> Set($LdapAttrMap, {'Name' => 'uid', >> 'EmailAddress' => 'mail', >> 'Organization' => 'instID', >> 'RealName' => 'displayName', >> 'NickName' => 'title', >> 'ExternalContactInfoId' => 'mailAlternative', >> 'ExternalAuthId' => 'uid', >> 'Gecos' => 'uid', >> 'WorkPhone' => 'telephoneNumber', >> 'Address1' => 'postalAddress', >> 'Address2' => 'postalAddress'} >> ); >> >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: RT_SiteConfig.pm Type: application/x-perl Size: 25769 bytes Desc: not available URL: From falcone at bestpractical.com Tue Dec 1 10:09:28 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 1 Dec 2009 10:09:28 -0500 Subject: [rt-users] 3.8.6: WritableAttributes error in Web.pm's AttemptExternalAuth In-Reply-To: <4B14FF02.4080603@cam.ac.uk> References: <4B141116.5070808@cam.ac.uk> <20091130191522.GA1406@jibsheet.com> <4B14FF02.4080603@cam.ac.uk> Message-ID: <20091201150928.GE1406@jibsheet.com> On Tue, Dec 01, 2009 at 11:33:22AM +0000, Philip Shore wrote: > Thanks for the quick response. That patch does indeed fix the error and now I can see the > self service interface after authenticating. Great, thanks for testing. I'll commit that to the tree later today. > Re, our config. I have attached the complete config in case you would like to provide any > words of wisdom. > > We are using a custom apache single sign on module that puts the users id into remote_user > then we auto create the user after lookup their name, email address etc from an ldap source > which I guess is the old handler. I am taking a look at RT::Authen::ExternalAuth to see if > it would be a better solution for us. I don't immediately recognize the module you're using, but my guess is that it is indeed a precursor to RT::Authen::ExternalAuth. RAE can run in info-only mode (rather than auth + info) and is a more modern way of doing the integration. I don't know enough about how you're doing your apache auth to say if RAE makes sense as an auth source. It may be worth playing with on a test system. -kevin > > On Mon, Nov 30, 2009 at 06:38:14PM +0000, Philip Shore wrote: > > > I am trying to upgrade our 3.6.5 RT instance to 3.8.6 and I am getting > an error at the point of first log on. > > There is new code in RT 3.8.6 that wasn't present in 3.8.5 that is > throwing an error for me: > > > I'd be interested to know if the untested attached patch fixes the > issue you're seeing. > > Your siteconfig is also really odd, it isn't clear to me if you're > using all in-house config, or some mix of apache auth and > RT-Authen-ExternalAuth or the much older ldap handler. > > -kevin > > > > error: Can't locate object method "WritableAttributes" via package > "pms52" (perhaps you forgot to > load "pms52"?) at /opt/rt3/bin/../lib/RT/Interface/Web.pm line 367, > line 276. > context: > ... > 363: # now get user specific information, to better create our user. > 364: my $new_user_info = > RT::Interface::Web::WebExternalAutoInfo($user); > 365: > 366: # set the attributes that have been defined. > 367: foreach my $attribute ( $user->WritableAttributes ) { > 368: $m->callback( > 369: Attribute => $attribute, > 370: User => $user, > 371: UserInfo => $new_user_info, > ... > code stack: > /opt/rt3/bin/../lib/RT/Interface/Web.pm:367 > /opt/rt3/bin/../lib/RT/Interface/Web.pm:197 > /opt/rt3/share/html/autohandler:53 > > > I have RT configured to use WebExternalAuto, and so have an Apache > module providing the userid via REMOTE_USER and user info collected via > ldap. I logon with username "pms52" which appears in the error. I can > also see in the rt log that it has successfully retrieved my information > from our ldap server. > > I am not a perl programmer but it looks to me like the RT code at line > 367 is expecting a database object but has a String instead. > > The AttemptExternalAuth subrouting is new in RT 3.8.6. Is there > something I have not configured correctly or is there a bug ? I have > pasted what I think are the relevant parts of our RT_SiteConfig below. > > Many thanks, > Philip Shore. > > > Set($AuthMethods, ['Internal']); > > Set($WebExternalAuth , 1); > Set($WebExternalAuto , 1); > Set($AutoCreate, { Privileged => 0 } ); > > Set($LdapExternalInfo, 1); > Set($LdapAutoCreateNonLdapUsers, 1); > Set($LdapAttrMap, {'Name' => 'uid', > 'EmailAddress' => 'mail', > 'Organization' => 'instID', > 'RealName' => 'displayName', > 'NickName' => 'title', > 'ExternalContactInfoId' => 'mailAlternative', > 'ExternalAuthId' => 'uid', > 'Gecos' => 'uid', > 'WorkPhone' => 'telephoneNumber', > 'Address1' => 'postalAddress', > 'Address2' => 'postalAddress'} > ); > > > _______________________________________________ > [1]http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: [2]http://wiki.bestpractical.com > Commercial support: [3]sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at [4]http://rtbook.bestpractical.com > > > > > ------------------------------------------------------------------------------------ > > _______________________________________________ > [5]http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: [6]http://wiki.bestpractical.com > Commercial support: [7]sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at [8]http://rtbook.bestpractical.com > > References > > Visible links > 1. http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > 2. http://wiki.bestpractical.com/ > 3. mailto:sales at bestpractical.com > 4. http://rtbook.bestpractical.com/ > 5. http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > 6. http://wiki.bestpractical.com/ > 7. mailto:sales at bestpractical.com > 8. http://rtbook.bestpractical.com/ > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From smithj4 at bnl.gov Tue Dec 1 10:43:47 2009 From: smithj4 at bnl.gov (Jason A. Smith) Date: Tue, 01 Dec 2009 10:43:47 -0500 Subject: [rt-users] RT 3.8.2 from 3.4.2 In-Reply-To: References: Message-ID: <1259682227.26504.3.camel@smith.racf.bnl.gov> Hi Guy, I just did this for our RT server, upgrading from 3.4.5 to 3.8.6 without any major problems. Did you follow all of the steps in UPGRADING.mysql after the import, including: upgrade-mysql-schema.pl rt-setup-database shrink_cgm_table.pl ~Jason On Tue, 2009-12-01 at 08:52 +0000, Guy Baxter wrote: > Hi, > > We have a 6 year old install of RT 3.4.2 running on fedora core 2, I want > to update this to the newest version - 3.8.2. As we need to use RT most of > the time I am currently testing the new version on a different PC. > (intention is to schedule some downtime once my test version is working to > rebuild the original). > > I have done a mysql dump, and imported it onto a new fresh build of fedora > 10 with mysql 5 and apache 2, however if i do this, when browsing RT i get > logged out every 30 seconds or so. If i setup a new install without > importing the data this does not happen... very strange? > > Also, I can't see how to setup RT to talk to my mailserver? I've found a > bit about /etc/aliases but can't see anywhere for it to point to the IP of > my mailserver? Does anyone have any ideas? > > Any help appreciated, > > Regards, > > Guy. > > > > This email and any attachments are confidential and are intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. Please contact the sender if you believe you have received this email in error. Emails are not secure and cannot be guaranteed to be free of errors or viruses. It is your responsibility to scan emails and attachments for viruses before opening them. > > Any views or opinions expressed are solely those of the author and do not necessarily represent those of The Blackpool Sixth Form College. > > ##################################################################################### > Scanned by MailMarshal - Marshal's comprehensive email content security solution. > Download a free evaluation of MailMarshal at www.marshal.com > ##################################################################################### > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -- /------------------------------------------------------------------\ | Jason A. Smith Email: smithj4 at bnl.gov | | Atlas Computing Facility, Bldg. 510M Phone: +1-631-344-4226 | | Brookhaven National Lab, P.O. Box 5000 Fax: +1-631-344-7616 | | Upton, NY 11973-5000, U.S.A. | \------------------------------------------------------------------/ -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3906 bytes Desc: not available URL: From eje at panix.com Tue Dec 1 11:39:43 2009 From: eje at panix.com (Eleanor J. Evans [Panix Staff]) Date: Tue, 1 Dec 2009 11:39:43 -0500 Subject: [rt-users] Users with minimal rights now have full rights - why? In-Reply-To: <26567488.post@talk.nabble.com> References: <26567308.post@talk.nabble.com> <26567488.post@talk.nabble.com> Message-ID: <20091201163943.GB337@panix.com> On Sun, Nov 29, 2009 at 03:20:14PM -0800, John David Chapman wrote: > OK, Lets take this step by step. > I?m John Chapman, and my Customer is Joe Bloggs. > So?. > I log in using my superuser account ?John Chapman?. > I goto Configuration>Global>User Rights, and see that ?Joe Bloggs? rights > are only set to ?create ticket? and ?commentonticket?. Good. That?s what I > want. > BUT when I log into Joe Bloggs account he can do everything just like he is > a superuser. I don?t want Joe Bloggs to be able to do that :-( Now go to Configuration>Global>Group Rights and inspect the rights granted to Everyone and to Privileged. -- Eleanor J. (Piglet) Evans, eje at panix.com Customer Support, (212) 741-4400 From eje at panix.com Tue Dec 1 11:36:56 2009 From: eje at panix.com (Eleanor J. Evans [Panix Staff]) Date: Tue, 1 Dec 2009 11:36:56 -0500 Subject: [rt-users] Ignoring queue AdminCC for owned tickets In-Reply-To: References: Message-ID: <20091201163656.GA337@panix.com> On Fri, Nov 27, 2009 at 01:14:39PM +0000, David X. Glover wrote: > Currently, each of our queues have a group of people set as the > AdminCC, so that group is emailed whenever any changes happen to the > tickets in that queue. > I want to make it more granular, so that if a ticket has an owner, > instead of emails going to the AdminCCs for the queue, it only goes to > that person, and the requestors. > Un-owned tickets should still send emails to the AdminCC list for the > queue. > Is that possible? Perhaps I am missing something, because that looks obvious. Add scrips with user defined conditions. Description: On Correspond Owned Notify Owner, Requestors Condition: User Defined Action: Notify Owner, Requestors * Template: whatever you use for correspondence in this queue Custom condition: return 0 unless $self->TransactionObj->Type eq 'Correspond'; return 1 if $self->TicketObj->Owner; return 0; * if Notify Owner, Requestors isn't one of your actions, you can add it using the instructions here: http://wiki.bestpractical.com/view/ScripAction INSERT Into ScripActions( Name, Description, ExecModule, Argument, Creator, Created, LastUpdatedBy, LastUpdated ) VALUES ( 'Notify Owner, Requestors', 'Sends mail to the Owner and Requestors', 'Notify', 'Owner,Requestors', 1, NOW(), 1, NOW() ); Description: On Correspond Unowned Notify AdminCcs Condition: User Defined Action: Notify AdminCcs Template: whatever you use for correspondence in this queue Custom condition: return 0 unless $self->TransactionObj->Type eq 'Correspond'; return 0 if $self->TicketObj->Owner; return 1; Include "or $self->TransactionObj->Type eq 'Comment'" to taste. Is this the RT way of doing it, or is there a more elegant way? -- Eleanor J. (Piglet) Evans, eje at panix.com Customer Support, (212) 741-4400 From mahini at apple.com Tue Dec 1 11:57:52 2009 From: mahini at apple.com (Behzad Mahini) Date: Tue, 1 Dec 2009 08:57:52 -0800 Subject: [rt-users] RT 3.8.2 from 3.4.2 In-Reply-To: References: Message-ID: <58C4BB0A-678B-48E3-9409-6E52E5B77FF7@apple.com> On Dec 1, 2009, at 12:52 AM, Guy Baxter wrote: > > Also, I can't see how to setup RT to talk to my mailserver? I've > found a > bit about /etc/aliases but can't see anywhere for it to point to the > IP of > my mailserver? Does anyone have any ideas? As little as I know about this area, I could point out that there are 2 files that you need to be concerned with (main.cf & master.cf). The file that contains your IP addr. ( & mail relays, etc.) is "main.cf", and the safe way to edit "main.cf" is by using "postconf". Secondly, /etc/aliases file is where you place your rt-mailgate bits (http://wiki.bestpractical.com/view/ManualEmailConfig ), but it has nothing to do with you IP addr.. Once you make your changes to your /etc/aliases file, then you need to go through a few steps to make sure the changes you made to the /etc/aliases database take effect (i.e.,: shell> sudo postalias /etc/aliases shell> sudo newaliases Hope that helps -Behzad From hesco at campaignfoundations.com Wed Dec 2 01:36:22 2009 From: hesco at campaignfoundations.com (Hugh Esco) Date: Wed, 2 Dec 2009 01:36:22 -0500 Subject: [rt-users] Logs say: mason_handler.fcgiindex.html, browser missing css, gives me 404 on initial login Message-ID: <20091202013622.8f570ee0.hesco@campaignfoundations.com> This is my fifth RT install and the second server I've put this application on. The first four installs were on the same Debian machine. This one is the first on this centOS box. I get the login form and logo (http://rt.ourdomain.com/NoAuth/images/bplogo.gif), but no css, or any other images. Then after an initial log-in with root:password, I get only a 404 error. Anyone recognize those symptoms? While rendering the login page, it writes to /var/log/httpd/error_log, thirteen invocations of this error: script not found or unable to stat: /usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgiNoAuth The 'mason_handler.fcgiNoAuth', with no space before the 'NoAuth' looks awfully suspicious, but I have no idea where that might be generated. Then, when I try to log in, I get this error: script not found or unable to stat: /usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgiindex.html Again, with the no space after the '.fcgi' . . . I tried adding an extra space at the end of the lines in my vhost container. FastCgiServer /usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgi -idle-timeout 120 ScriptAlias / /usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgi without changing the result. What is it I might be missing here, please? CentOS, apache (from yum), mod_fastcgi-2.4.6 (from source). RT 3.8.6 from source. -- Hugh Esco http://www.CampaignFoundations.com/ if( $insurance->rationing() ) { $people->die(); } From bogey_63 at yahoo.com Wed Dec 2 04:17:38 2009 From: bogey_63 at yahoo.com (who else) Date: Wed, 2 Dec 2009 01:17:38 -0800 (PST) Subject: [rt-users] multiple contacts on one ticket Message-ID: <26605814.post@talk.nabble.com> Hi, i remember, having asked this one some time ago, but in the meanwhile it is pressing more on us: We have various companies, having more than one contact. They send tickets in and it would be great, if all of a company can also read tickets, others provided. So we won't get in tickets twice or even more often. Any chance, to show the same tickets to another contact, if the other contact's email is from the same domain? Thanks for help. Best w_e -- View this message in context: http://old.nabble.com/multiple-contacts-on-one-ticket-tp26605814p26605814.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From dominic.hargreaves at oucs.ox.ac.uk Wed Dec 2 05:26:30 2009 From: dominic.hargreaves at oucs.ox.ac.uk (Dominic Hargreaves) Date: Wed, 2 Dec 2009 10:26:30 +0000 Subject: [rt-users] Logs say: mason_handler.fcgiindex.html, browser missing css, gives me 404 on initial login In-Reply-To: <20091202013622.8f570ee0.hesco@campaignfoundations.com> References: <20091202013622.8f570ee0.hesco@campaignfoundations.com> Message-ID: <20091202102630.GA4570@gunboat-diplomat.oucs.ox.ac.uk> On Wed, Dec 02, 2009 at 01:36:22AM -0500, Hugh Esco wrote: > This is my fifth RT install and the second server I've put this > application on. The first four installs were on the same Debian > machine. This one is the first on this centOS box. > > I get the login form and logo > (http://rt.ourdomain.com/NoAuth/images/bplogo.gif), > > but no css, or any other images. Then after an initial log-in with > root:password, I get only a 404 error. > > Anyone recognize those symptoms? > > While rendering the login page, it writes to /var/log/httpd/error_log, > thirteen invocations of this error: > > script not found or unable to stat: > /usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgiNoAuth > > The 'mason_handler.fcgiNoAuth', with no space before the 'NoAuth' looks > awfully suspicious, but I have no idea where that might be generated. > > Then, when I try to log in, I get this error: > > script not found or unable to stat: > /usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgiindex.html > > Again, with the no space after the '.fcgi' . . . > > I tried adding an extra space at the end of the lines in my vhost > container. > > FastCgiServer /usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgi > -idle-timeout 120 > ScriptAlias / /usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgi > > without changing the result. > > What is it I might be missing here, please? Try ScriptAlias / /usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgi/ (ie with the extra / at the end). This is the configuration I'm using. -- Dominic Hargreaves, Systems Development and Support Team Computing Services, University of Oxford -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: From arrigo at northsea.sevenseas.org Wed Dec 2 06:03:59 2009 From: arrigo at northsea.sevenseas.org (Arrigo Triulzi) Date: Wed, 2 Dec 2009 12:03:59 +0100 Subject: [rt-users] On the session fixation vulnerability - what do the logs look like? Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear all, would it be possible to see an example of the logs produced by RT subjected to the session fixation vulnerability? I have a very bizarre event in the RT I manage which took place approximately 2 hrs after the security alert went out to the lists and I cannot explain away. It looks like this (RT 3.0.12): 192.168.X.Y - - [01/Dec/2009:18:21:56 +0000] "GET /rt/NoAuth/webrt.css HTTP/1.1" 200 6944 192.168.X.Y - - [01/Dec/2009:18:21:58 +0000] "GET /rt/Ticket/ Display.html?id=41114 HTTP/1.1" 200 56794 192.168.X.Y - - [01/Dec/2009:18:22:05 +0000] "GET /rt/NoAuth/webrt.css HTTP/1.1" 200 6944 192.168.X.Y - - [01/Dec/2009:18:22:06 +0000] "GET /rt/Ticket/ Update.html?id=41114&QuoteTransaction=293515&Action=Respond HTTP/1.1" 200 14338 192.168.X.Y - - [01/Dec/2009:18:24:21 +0000] "GET /rt/NoAuth/webrt.css HTTP/1.1" 200 6944 192.168.X.Y - - [01/Dec/2009:18:24:23 +0000] "POST /rt/Ticket/ Update.html HTTP/1.1" 200 23431 which correlates with: [Tue Dec 1 18:24:20 2009] [crit]: RT::Attachment->Create couldn't, as you didn' t specify a transaction (/usr/share/request-tracker3/lib/RT/ Attachment_Overlay.pm:117) [Tue Dec 1 18:24:20 2009] [crit]: Trying to check RT::Ticket rights for an unspecified RT::Ticket (/usr/share/request-tracker3/lib/RT/ Principal_Overlay.pm:355) [Tue Dec 1 18:24:20 2009] [err]: RT::Ticket=HASH(0xa0726b8) couldn't init a transaction Transaction Created (/usr/share/request-tracker3/ lib/RT/Ticket_Overlay.pm:2334) I've trawled through the past year of logs and we've never seen these errors before. The database log shows no transaction for the same time period (note hole between 16:24:55 GMT and 09:24:03 GMT): - -[ RECORD 18 ]-- +--------------------------------------------------------- id | 293515 effectiveticket | 0 ticket | 41114 timetaken | 30 type | Correspond field | oldvalue | newvalue | data | No Subject creator | 72707 created | 2009-12-01 16:24:55 - -[ RECORD 19 ]-- +--------------------------------------------------------- id | 293626 effectiveticket | 0 ticket | 41114 timetaken | 0 type | Comment field | oldvalue | newvalue | data | No Subject creator | 72707 created | 2009-12-02 09:24:03 and we did have an outbound e-mail sent by RT: Dec 1 18:24:20 glan postfix/pickup[14782]: 81A8DC5A6C: uid=33 from= Dec 1 18:24:20 glan postfix/cleanup[18057]: 81A8DC5A6C: message-id= Dec 1 18:24:20 glan postfix/qmgr[19235]: 81A8DC5A6C: from=, size=925, nrcpt=10 (queue active) Dec 1 18:24:20 glan postfix/pickup[14782]: BEF8CC5A6F: uid=33 from= Dec 1 18:24:20 glan postfix/cleanup[18057]: BEF8CC5A6F: message-id= Dec 1 18:24:20 glan postfix/qmgr[19235]: BEF8CC5A6F: from=, size=838, nrcpt=1 (queue active) Dec 1 18:24:21 glan postfix/smtp[18062]: BEF8CC5A6F: to=, relay=mailrelay.net.X.com[192.168.160.3], delay=1, status=sent (250 2.0.0 nB1IOK1r004792 Message accepte Wed for delivery) Dec 1 18:24:21 glan postfix/qmgr[19235]: BEF8CC5A6F: removed Dec 1 18:24:25 glan postfix/smtp[18059]: 81A8DC5A6C: to=, relay=mailrelay.net.X.com[192.168.160.2], delay=5, status=sent (250 2.0.0 nB1IOKOH031556 Message accepted for delivery) [all other ticket watchers follow] Dec 1 18:24:25 glan postfix/qmgr[19235]: 81A8DC5A6C: removed and the message looks like this: - --- 8< cut here 8< --- Received: by glan.net.X.com (Postfix, from userid 33) id 81A8DC5A6C; Tue, 1 Dec 2009 18:24:20 +0000 (GMT) MIME-Version: 1.0 In-Reply-To: X-Mailer: Perl5 Mail::Internet v1.62 Content-Type: text/plain; charset="utf-8" Reply-To: helpdesk at net.X.com X-RT-Original-Encoding: utf-8 RT-Originator: Managed-BY: RT 3.0.12 (http://www.bestpractical.com/rt/) Subject: [X #41114] Downloading contact list Sender: "www-data" RT-Ticket: X #41114 Message-Id: Precedence: bulk X-RT-Loop-Prevention: X To: "AdminCc of X Ticket #41114": ; Content-Transfer-Encoding: 8bit From: " via RT" Date: Tue, 1 Dec 2009 18:24:20 +0000 (GMT) This transaction appears to have no content - --- 8< cut here 8< --- Any suggestions gratefully received... Arrigo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAksWSZ8ACgkQDbQ6TQLMoL+JfACfdJyZxwtAqskd0lmzDnKHNFpz VfQAni4tghvjNyqS2AafozUorVtfS4cl =VPC+ -----END PGP SIGNATURE----- From mrathbone at sagonet.com Wed Dec 2 09:29:22 2009 From: mrathbone at sagonet.com (Maxwell A. Rathbone) Date: Wed, 02 Dec 2009 09:29:22 -0500 Subject: [rt-users] Logs say: mason_handler.fcgiindex.html, browser missing css, gives me 404 on initial login In-Reply-To: <20091202013622.8f570ee0.hesco@campaignfoundations.com> References: <20091202013622.8f570ee0.hesco@campaignfoundations.com> Message-ID: <4B1679C2.304@sagonet.com> I'm just guessing here in hopes to help as no one else has replied yet. I'd first recompile RT and make sure you are compiling it with the right options for Apache and FastCGI. Here is my configure line for RT with Apache and FastCGI: ./configure --enable-graphviz --enable-gd --with-web-handler=modperl2,fastcgi --with-db-type=Pg --with-web-user=apache --with-web-group=apache --with-rt-group=apache Please bear in mind the line above is for Postgres. If you use mySQL, you'll want to change the Pg to mysql. Then in Apache, I use the following vhost: ServerName subdomain.domain.com DocumentRoot /opt/rt3/share/html AddDefaultCharset UTF-8 ServerAdmin sysadmin at sagonet.com SetHandler default-handler AddHandler fastcgi-script fcgi ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/ Also in order to make this work, I believe I had to: chown root:apache /opt/rt3/etc/* chmod a+r /opt/rt3/etc/* hope this helps! Max Hugh Esco wrote: > This is my fifth RT install and the second server I've put this > application on. The first four installs were on the same Debian > machine. This one is the first on this centOS box. > > I get the login form and logo > (http://rt.ourdomain.com/NoAuth/images/bplogo.gif), > > but no css, or any other images. Then after an initial log-in with > root:password, I get only a 404 error. > > Anyone recognize those symptoms? > > While rendering the login page, it writes to /var/log/httpd/error_log, > thirteen invocations of this error: > > script not found or unable to stat: > /usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgiNoAuth > > The 'mason_handler.fcgiNoAuth', with no space before the 'NoAuth' looks > awfully suspicious, but I have no idea where that might be generated. > > Then, when I try to log in, I get this error: > > script not found or unable to stat: > /usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgiindex.html > > Again, with the no space after the '.fcgi' . . . > > I tried adding an extra space at the end of the lines in my vhost > container. > > FastCgiServer /usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgi > -idle-timeout 120 > ScriptAlias / /usr/local/rt/vp/rt3.8.6/bin/mason_handler.fcgi > > without changing the result. > > What is it I might be missing here, please? > > CentOS, apache (from yum), mod_fastcgi-2.4.6 (from source). > RT 3.8.6 from source. > > From jesse at bestpractical.com Wed Dec 2 10:45:53 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Wed, 2 Dec 2009 10:45:53 -0500 Subject: [rt-users] On the session fixation vulnerability - what do the logs look like? In-Reply-To: References: Message-ID: <20091202154553.GA366@bestpractical.com> Arrigo, What you'd see if you were attacked using the vulnerability we announced patches for would...not necessarily be distinguishable from regular traffic to your RT server. Though you _would_ see the malicious user's IP in your logs. I think you hit a case where something went wrong with transaction creation, possibly related to the file someone was trying to attach. It looks like a bug. But it doesn't look like you were attacked. Best, Jesse -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: From fjaeckel at bfk.de Wed Dec 2 10:49:58 2009 From: fjaeckel at bfk.de (Frederic Jaeckel) Date: Wed, 2 Dec 2009 15:49:58 +0000 Subject: [rt-users] Linelenght in FCKeditor and plain text editor Message-ID: <20091202154958.061c9f36@pc30a.int.bfk.de> Hi, is it possible to restrict the line length to 72 characters in RT? It should automatically wrap the entered text to the next line and stuff.. How is this be done in RT Config style? Is there a config variable? Are there limitations? regards, -- Frederic Jaeckel BFK edv-consulting Kriegsstr. 100 76133 Karlsruhe -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: not available URL: From arrigo at northsea.sevenseas.org Wed Dec 2 11:39:00 2009 From: arrigo at northsea.sevenseas.org (Arrigo Triulzi) Date: Wed, 2 Dec 2009 17:39:00 +0100 Subject: [rt-users] On the session fixation vulnerability - what do the logs look like? In-Reply-To: <20091202154553.GA366@bestpractical.com> References: <20091202154553.GA366@bestpractical.com> Message-ID: <3582CDF0-78C1-4D7A-9FF4-331189196432@northsea.sevenseas.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Jesse, On Dec 2, 2009, at 16:45, Jesse Vincent wrote: > It looks like a bug. But it doesn't look like you were attacked. OK, I'll file it under "bizarre bug"... one day we'll find the courage to upgrade to 3.8... Thanks for taking the time to clarify, Arrigo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAksWmCUACgkQDbQ6TQLMoL9GSQCfU0LKTWoa7d+sBO4dzm+0YzJ9 HS4Anj0oDCmIcXnWWdnMI+WfO3lUCnWw =LoVk -----END PGP SIGNATURE----- From smcclure at rice.edu Wed Dec 2 12:02:50 2009 From: smcclure at rice.edu (Susan McClure) Date: Wed, 02 Dec 2009 11:02:50 -0600 Subject: [rt-users] Cloning all scrips to new queue ? Message-ID: <4B169DBA.1050001@rice.edu> Is there now a way, through the RT GUI, to copy all your scrips (disabled) to a new queue? I can do it with psql commands. I thought there was a new, easier way to do it through the RT GUI in 3.8; but I can't find that now in the list or online info. Would RT-Extension-QueueWizard be the best way to do it? It appears to want to clone the whole queue to a new queue, can I clone just the scrips? I have a "default" queue, RT:Template, with all the scrips we use, all disabled. Usually I use psql to copy each scrip into a new queue, after the queue has been created. Thanks, Susie -------------- next part -------------- A non-text attachment was scrubbed... Name: smcclure.vcf Type: text/x-vcard Size: 240 bytes Desc: not available URL: From nesius at gmail.com Wed Dec 2 12:54:40 2009 From: nesius at gmail.com (Robert Nesius) Date: Wed, 2 Dec 2009 11:54:40 -0600 Subject: [rt-users] User Rights Message-ID: I've been struggling to find the right combination of access control settings for a queue that will result in the following: * Users can submit tickets, and can see their own tickets. * Users cannot see other people's tickets. * Admins can see all tickets. The part I'm struggling with is that I can' find away to allow the queue to be visible in the drop-down box for the "create a ticket" interface without seemingly allowing all of the tickets in the queue to be visible. It strikes me I might be "going against the grain" of RT's design again, which means I should probably ask some for some experts to weigh in. Thanks so much, -Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesse at bestpractical.com Wed Dec 2 12:56:58 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Wed, 2 Dec 2009 12:56:58 -0500 Subject: [rt-users] User Rights In-Reply-To: References: Message-ID: <20091202175658.GA9333@bestpractical.com> On Wed, Dec 02, 2009 at 11:54:40AM -0600, Robert Nesius wrote: > The part I'm struggling with is that I can' find away to allow the queue to > be visible in the drop-down box for the "create a ticket" interface without > seemingly allowing all of the tickets in the queue to be visible. I believe you want to grant "See Queue" and "Create Ticket" but not "Show Ticket" Best, JEsse From nesius at gmail.com Wed Dec 2 13:44:04 2009 From: nesius at gmail.com (Robert Nesius) Date: Wed, 2 Dec 2009 12:44:04 -0600 Subject: [rt-users] User Rights In-Reply-To: <20091202175658.GA9333@bestpractical.com> References: <20091202175658.GA9333@bestpractical.com> Message-ID: On Wed, Dec 2, 2009 at 11:56 AM, Jesse Vincent wrote: > > On Wed, Dec 02, 2009 at 11:54:40AM -0600, Robert Nesius wrote: > > The part I'm struggling with is that I can' find away to allow the queue > to > > be visible in the drop-down box for the "create a ticket" interface > without > > seemingly allowing all of the tickets in the queue to be visible. > > I believe you want to grant "See Queue" and "Create Ticket" but not "Show > Ticket" > > Ah-ha. That lead me to the solution I was looking for. Thanks very much, Jesse! -Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: From kfcrocker at lbl.gov Wed Dec 2 14:19:56 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Wed, 02 Dec 2009 11:19:56 -0800 Subject: [rt-users] User Rights In-Reply-To: References: Message-ID: <4B16BDDC.3040907@lbl.gov> Robert, For that particular Queue, I would: 1) Grant "CreateTicket" to "Everyone" or "Privileged, as you prefer. 2) Grant "ShowQueue" to "Everyone" or "Privileged, as you prefer. 3) Grant "ShowTicket" to the role "Requestor". 4) Grant "ShowTicket" and any other rights you want to the role "AdminCc". That should do it. Kenn LBNL On 12/2/2009 9:54 AM, Robert Nesius wrote: > I've been struggling to find the right combination of access control > settings for a queue that will result in the following: > * Users can submit tickets, and can see their own tickets. > * Users cannot see other people's tickets. > * Admins can see all tickets. > > The part I'm struggling with is that I can' find away to allow the > queue to be visible in the drop-down box for the "create a ticket" > interface without seemingly allowing all of the tickets in the queue > to be visible. > > It strikes me I might be "going against the grain" of RT's design > again, which means I should probably ask some for some experts to > weigh in. > > Thanks so much, > -Rob > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhguitarist1 at gmail.com Wed Dec 2 15:10:08 2009 From: jhguitarist1 at gmail.com (James Higgins) Date: Wed, 2 Dec 2009 12:10:08 -0800 (PST) Subject: [rt-users] Scrip to Generate Parent Tickets Message-ID: <26342398.post@talk.nabble.com> The idea here that if a specific device is down and causing an outage to a number of systems, that when the first ticket is created and a CF is set to "Outage" that it will generate a Parent ticket for the Outage and link any following tickets created for that Outage. I have a partially working scrip at this point, but am stuck on how to add a ticket to an existing Parent and on how to generate a new ticket and set it as the Parent. Here is what I have so far: Action: User Defined Template: Blank Stage TransactionBatch ###################################################################### # Custom Condition: # Check to confirm ticket is set to Outage return 0 unless $self->TransactionObj->Type eq "Create"; return 0 unless $self->TicketObj->CustomFieldValues('Type of Issue')->Next->Content eq 'Outage'; return 1; ###################################################################### # Custom Action: # Search for other Outage tickets with Matching StartUnit my $problemUnit = undef; my $Transaction = $self->TransactionObj; my $search = RT::Tickets->new($RT::SystemUser); $problemUnit = $self->TicketObj->CustomFieldValues('Unit Where Issue Begins')->Next->Content; $search->LimitQueue(VALUE => 'Network Tech'); #$search->LimitCustomField(CUSTOMFIELD => 'Type of Issue', VALUE => 'Outage'); #$search->LimitCustomField(CUSTOMFIELD => 'Customer Name', VALUE => 'Master'); $search->LimitStatus(VALUE => 'new', OPERATOR => '=', ENTRYAGGREGATOR => 'or'); $search->LimitStatus(VALUE => 'open', OPERATOR => '='); if ($search->Count == 0) { return 1; } my $id = undef; my $startUnit = undef; my $priority = 3; while (my $ticket = $search->Next) { #start while # Ignore the ticket that caused this scrip to run next if $self->TicketObj->Id == $ticket->Id; $startUnit = $ticket->CustomFieldValues('Unit Where Issue Begins')->Next->Content; # Compare the two 'Unit Where Issue Begins' CFs if ($startUnit eq $problemUnit){ #start 1st IF my $master = $ticket->CustomFieldValues('Customer Name')->Next->Content; # Check to see if Ticket is Master and has Child Tickets next unless($master eq "Master"); if ($ticket->Members() ge 1){ #start 2nd IF # Ticket is Master/Parent -> add current Ticket as Child of Parent $id = $self->TicketObj->id; $ticket->AddLink(Type=>'MemberOf',Base=>$id); # Increment Parent ticket Priority my $priority = $ticket->Priority; $ticket->SetPriority ($priority + 1); return 1; #exit scrip } #end 2nd IF } #end 1st IF # No Parent found -> Create new Parent and link as Child my $child_ticket = RT::Ticket->new ($RT::SystemUser); my $typeIssue = $self->TicketObj->CustomFieldValues('Type of Issue')->Next->Content; my $coop = $self->TicketObj->CustomFieldValues('Coop')->Next->Content; my $customer = 'Master'; $child_ticket->Create( Queue => 'Network Tech', Type => 'Ticket', Members => $self->TicketObj->Id ); ################ Set CustomFields in Parent ################ $child_ticket->AddCustomFieldValue(Field => 'Coop', Value => $coop); $child_ticket->AddCustomFieldValue(Field => 'Type of Issue', Value => $typeIssue); $child_ticket->AddCustomFieldValue(Field => 'Unit Where Issue Begins', Value => $problemUnit); $child_ticket->AddCustomFieldValue(Field => 'Customer Name', Value => $customer); return 1; #exit scrip } #end while return 1; ############################################################# All help is greatly appreciated! -- View this message in context: http://old.nabble.com/Scrip-to-Generate-Parent-Tickets-tp26342398p26342398.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From aaron at guise.net.nz Wed Dec 2 16:32:13 2009 From: aaron at guise.net.nz (Aaron Guise) Date: Thu, 3 Dec 2009 10:32:13 +1300 Subject: [rt-users] Not sending auto response from certain from addresses In-Reply-To: References: <86d53a100911161045i30cd58dcrdff534f3971352c2@mail.gmail.com> <86d53a100911171134h691739cfl6589bc5c02d1df0b@mail.gmail.com> <86d53a100911191122w4f9946fcw386d6bafe737ff46@mail.gmail.com> <86d53a100911291616w27218b6s2cc88de7d224aedb@mail.gmail.com> <86d53a100911300837r44957253m94f25737cbdc9c11@mail.gmail.com> Message-ID: Hi Tyler, Sorry, I put you a little wrong before. I have done some looking and testing. It appears what you want to do is actually override the template rather than the Scrip to stop that resolve email going out. For example my Global - Email on Resolve scrip uses a global template in the Name of Resolve. To overide this at the queue level just create a new template with exactly the same name as your global one uses. [image: ?ui=2&view=att&th=125514c44c933027&attid=0.1&disp=attd&realattid=ii_125514c44c933027&zw] The screeshot shows my one from our testing queue. I have just created the Resolve template again at the queue level, just leave all the content blank. RT then should not send an email at all. You can do the same for the autoreply on Create scrip. * Regards,* *Aaron Guise 07 838 7793 027 212 6638 aaron at guise.net.nz * MSN: guisea at hotmail.com Contact Me [image: Facebook] On Tue, Dec 1, 2009 at 10:23 PM, Aaron Guise wrote: > Hmmm, I'll check our environment out tomorrow and let you know what I > find. > > > On Tue, Dec 1, 2009 at 5:37 AM, Tyler Hall wrote: > >> Hey Aaron - >> >> I got a change to try it out today, but it doesn't seem to write. >> Scrip 3 is the script that sends the auto response, so I duplicated it >> for the abuse queue, but it doesn't seem to do anything... >> >> >> >> On Sun, Nov 29, 2009 at 5:16 PM, Tyler Hall wrote: >> > Thanks Aaron! I'll try it out, been out of the office all week due >> > to the holiday. >> > >> > >> > >> > On Wed, Nov 25, 2009 at 12:20 AM, Aaron Guise >> wrote: >> >> Hi Tyler, >> >> That should be simple, you should not even need to touch perl to do >> this. >> >> Just simply overriding the script that sends the email should do the >> >> trick. >> >> For Example: >> >> In your Abuse Queue create a scrip with the same name e.g. >> >> OnResolve(Whatever) Set it to use template blank, this then will not >> send a >> >> notification. You would need to do this for any of the global scrips >> which >> >> you would like to override the default action. I hope this makes some >> >> sense, if not then let me know. >> >> -- >> >> Regards, >> >> >> >> Aaron >> >> >> >> On Fri, Nov 20, 2009 at 8:22 AM, Tyler Hall >> wrote: >> >>> >> >>> Great, that works wonders. >> >>> >> >>> Sadly, I believe this is perl and perl isn't my strong point. >> >>> >> >>> I have one less request, I am willing to pay. >> >>> >> >>> I was hoping these same conditions could work for certain queues... I >> >>> have a queue called 'Abuse' that when someone sends to, or resolves >> >>> from I would prefer not to send out the auto response/closure email, >> >>> is that something you think you could code up for me? >> >>> >> >>> Thanks, >> >>> --Tyler >> >>> >> >>> >> >>> On Tue, Nov 17, 2009 at 7:28 PM, Aaron Guise >> wrote: >> >>> > Yeah, >> >>> > >> >>> > You need to put that script into the scrip that sends the resolve >> email >> >>> > too. >> >>> > >> >>> > Mine looks like this; >> >>> > >> >>> > my @exceptionList = ('gentrack at ham.sitel.co.nz', >> >>> > 'hamdb02 at ham.sitel.co.nz', >> >>> > 'gentrack at genesisenergy.co.nz', >> >>> > 'root at hamrt01.ham.sitel.co.nz', >> >>> > 'genfax at sanderson.co.nz'); >> >>> > >> >>> > my $transactionType = $self->TransactionObj->Type; >> >>> > my $transactionField = $self->TransactionObj->Field; >> >>> > my $transactionVal = $self->TransactionObj->NewValue; >> >>> > my $ticketRequestor = lc($self->TicketObj->RequestorAddresses); >> >>> > >> >>> > if ($transactionType eq 'Status' && $transactionField eq 'Status' && >> >>> > $transactionVal eq 'resolved' ) { >> >>> > return if grep { $ticketRequestor eq lc($_) } @exceptionList; >> >>> > return 1; >> >>> > } >> >>> > return; >> >>> > >> >>> > -- >> >>> > Regards, >> >>> > >> >>> > Aaron >> >>> > >> >>> > >> >>> > On Wed, Nov 18, 2009 at 8:34 AM, Tyler Hall >> wrote: >> >>> >> >> >>> >> Thanks so much! >> >>> >> >> >>> >> Do you know if there's a similar script for 'Resolve'? I changed >> the >> >>> >> custom code from 'Create' to 'Resolve' (and 'Resolved') but it >> didn't >> >>> >> seem to work. >> >>> >> >> >>> >> Thanks, >> >>> >> Tyler >> >>> >> >> >>> >> >> >>> >> On Mon, Nov 16, 2009 at 7:58 PM, Aaron Guise >> >>> >> wrote: >> >>> >> > You probably need to check this out; >> >>> >> > http://wiki.bestpractical.com/view/OnCreateAutoReplyException >> >>> >> > >> >>> >> > -- >> >>> >> > Regards, >> >>> >> > >> >>> >> > Aaron >> >>> >> > >> >>> >> > >> >>> >> > On Tue, Nov 17, 2009 at 7:45 AM, Tyler Hall > > >> >>> >> > wrote: >> >>> >> >> >> >>> >> >> All - >> >>> >> >> >> >>> >> >> Is it possible for RT to add an email into a ticket, however do >> not >> >>> >> >> send an auto response, just for certain from addresses? >> >>> >> >> >> >>> >> >> Thanks! >> >>> >> >> _______________________________________________ >> >>> >> >> >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >>> >> >> >> >>> >> >> Community help: http://wiki.bestpractical.com >> >>> >> >> Commercial support: sales at bestpractical.com >> >>> >> >> >> >>> >> >> >> >>> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly >> Media. >> >>> >> >> Buy a copy at http://rtbook.bestpractical.com >> >>> >> > >> >>> >> > >> >>> >> > >> >>> >> > >> >>> >> > >> >>> > >> >>> > >> >>> > >> >>> > >> >>> > >> > >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: RTScreenshot.png Type: image/png Size: 24497 bytes Desc: not available URL: From nesius at gmail.com Wed Dec 2 17:37:09 2009 From: nesius at gmail.com (Robert Nesius) Date: Wed, 2 Dec 2009 16:37:09 -0600 Subject: [rt-users] User Rights In-Reply-To: <4B16BDDC.3040907@lbl.gov> References: <4B16BDDC.3040907@lbl.gov> Message-ID: On Wed, Dec 2, 2009 at 1:19 PM, Ken Crocker wrote: > Robert, > > For that particular Queue, I would: > > 1) Grant "CreateTicket" to "Everyone" or "Privileged, as you prefer. > 2) Grant "ShowQueue" to "Everyone" or "Privileged, as you prefer. > 3) Grant "ShowTicket" to the role "Requestor". > 4) Grant "ShowTicket" and any other rights you want to the role "AdminCc". > > That should do it. > > Thanks Ken, between you and Jesse I got most of the way there, and the final "ah-ha" just hit me. I'll share my learning/thoughts here in case it helps people in the future. Basically, all of my employees are privileged users, so they get the "RT At A Glance" (RT at AG) page. I have the "quick create" in the RT at AG page, so that seemed logical. But when a customer's ticket was assigned to an admin, it was no longer visible on the RT at AG page because I don't have "show tickets" turned on for the general queue. However, clicking on "quick search" and then typing "general" into the search box resulted in the correct list of tickets being presented - the tickets owned by the customer. However, expecting my end-users to jump through that many clicks is expecting too much. I tried finding away to enable a "my tickets" portal to RT at AG where "my" = "submitter", but couldn't find it. It finally occurred to me the SelfService interface might have the "view" I'm looking for, and sure enough it does. I see some mods on the wiki to add "If user can't own ticket redirect to self-service" functionality, which is probably how I'll go. However, a LINK to the self service page on the RT at AG page would be handy. Even better - a portal/module for SelfService that I could add to RT at AG would be slick. In any case, I have a clear path to a usable end-state. Thanks again for your help and advice! -Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrummel at imapp.com Wed Dec 2 18:25:21 2009 From: jrummel at imapp.com (Jonathan Rummel) Date: Wed, 2 Dec 2009 15:25:21 -0800 (PST) Subject: [rt-users] Auto-creating a 'dependant' ticket On Transaction In-Reply-To: <16426EA38D57E74CB1DE5A6AE1DB0394026A84A9@w3hamboex11.ger.win.int.kn> References: <26505061.post@talk.nabble.com> <20091125113806.049954D8165@diesel.bestpractical.com> <16426EA38D57E74CB1DE5A6AE1DB0394026A84A9@w3hamboex11.ger.win.int.kn> Message-ID: <26618452.post@talk.nabble.com> Thank you all so much! This is definitely getting me closer to what I want. Is there any way you could help dumb-it-down a little more for my benefit please? And to clarify a little, I don't want this to happen On Create, only when my CF "Progress" is changed to "Send" in a ticket that already exists. Is the following correct (or close)? If not, could you please make corrections?: CONDITION: User Defined ACTION: User Defined TEMPLATE: Global Template: Blank STAGE: TransactionCreate CUSTOM CONDITION: if ($self->TicketObj->FirstCustomFieldValue('Progress') eq 'Send') { return 1; } return 0; CUSTOM ACTION PREPARATION CODE: return 1; CUSTOM ACTION CLEANUP CODE: (this is where I think I'm messing up) my $trans = $self->TransactionObj; my $tkt = $self->TicketObj; my $requestors = [ $tkt->Requestors->MemberEmailAddresses]; my $new_tkt = RT::Ticket->new($RT::SystemUser); my ($id, $msg) = $new_tkt->Create( Queue => "Data Analysis", Subject => $tkt->Subject, Status => 'new', Requestor => $requestors, DependedOnBy => $tkt->Id) return 1; I know that the Custom Condition works, but the Action doesn't seem to be working. Any help would greatly be appreciated. Thanks again! Brumm, Torsten / Kuehne + Nagel / Ham MI-ID wrote: > > Sorry, didn't read all, > > 1. Condition: CustomCondition: > > if ( ($self->TransactionObj->Type eq "CustomField" || > $self->TransactionObj->Type eq "Create" ) && > ($self->TicketObj->FirstCustomFieldValue('YourCustomFieldName') || > $self->TicketObj->FirstCustomFieldValue('YourCustomFieldName')) ) { > return 1; > } > return 0; > > Action: Userdefine: > > Here the part of Gabriele but with the content check: > > return(0) unless ($self->TicketObj->Type eq 'ticket'); > if ($self->TicketObj->FirstCustomFieldValue('YourCustomFieldName') =~ > /Whatyouarelookingfor/i) { > > my $trans = $self->TransactionObj; > my $tkt = $self->TicketObj; > > my $requestors = [ $tkt->Requestors->MemberEmailAddresses]; > my $new_tkt = RT::Ticket->new($RT::SystemUser); my ($id, $msg) = > $new_tkt->Create( > Queue => "your-queue-name-goes-here", > Subject => $tkt->Subject, > Status => 'new', > Requestor => $requestors, > DependedOnBy => $tkt->Id) > > return 1; > } > return 0; > > > Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann > (Vors.), Dirk Blesius (Stellv.), Reiner Heiken (Stellv.), Bruno Mang, > Alfred Manke, Christian Marnett? (Stellv.), Mark Reinhardt (Stellv.), Jens > Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, > USt-IdNr.: DE 812773878, Persoenlich haftende Gesellschaft: Kuehne & Nagel > A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: > Klaus-Michael Kuehne > > > > -----Urspruengliche Nachricht----- > Von: rt-users-bounces at lists.bestpractical.com > [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von Franzini, > Gabriele [Nervianoms] > Gesendet: Mittwoch, 25. November 2009 12:25 > An: jrummel at imapp.com > Cc: rt-users at lists.bestpractical.com > Betreff: Re: [rt-users] Auto-creating a 'dependant' ticket On Transaction > > Hello jrummel, > From novice to novice, try a Scrip with something like: > > 1) Condition: as in OnCustomFieldValueChange (see wiki); > 2) Action: User-defined, based upon DivideTicketIntoSubtasks (see > wiki): > > my $trans = $self->TransactionObj; > my $tkt = $self->TicketObj; > > my $requestors = [ $tkt->Requestors->MemberEmailAddresses]; > my $new_tkt = RT::Ticket->new($RT::SystemUser); my ($id, $msg) = > $new_tkt->Create( > Queue => "your-queue-name-goes-here", > Subject => $tkt->Subject, > Status => 'new', > Requestor => $requestors, > DependedOnBy => $tkt->Id) > > return 1; > > HTH, > Gabriele Franzini > ICT Applications Manager > Nerviano Medical Sciences SRL > PO Box 11 - Viale Pasteur 10 > 20014 Nerviano Italy > tel +39 0331581477 > fax +39 0331581456 > >> >>Date: Tue, 24 Nov 2009 15:19:41 -0800 (PST) >>From: jrummel >>Subject: [rt-users] Auto-creating a 'dependant' ticket On Transaction >>To: rt-users at lists.bestpractical.com >>Message-ID: <26505061.post at talk.nabble.com> >>Content-Type: text/plain; charset=us-ascii >> >>Hi All, >> >>I'm definitely an RT novice, and could use some assistance. I have a > ticket >>Custom Field ("Progress"). It is a Select One Value field. When > someone >>selects the value "Sent", I want a new ticket created that is 'depended > on >>by' the original ticket. Can anyone help me with this please? I'm > desperate! >> >>Thanks! >> >>P.S. If the new ticket could automatically have an owner assigned upon > creation >> as well, that would be ideal. But the above request is definitely > priority. > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com Commercial support: > sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > -- View this message in context: http://old.nabble.com/Auto-creating-a-%27dependant%27-ticket-On-Transaction-tp26505061p26618452.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From nesius at gmail.com Wed Dec 2 19:04:21 2009 From: nesius at gmail.com (Robert Nesius) Date: Wed, 2 Dec 2009 18:04:21 -0600 Subject: [rt-users] RT's model for privileged users Message-ID: Originally when pre-populating my user database, I thought it made sense to make all of my users privileged so I could easily assign them to groups - I noticed unprivileged users were not displayed in the user-management interface by default. But what I'm seeing now is that there is a 'great divide' between privileged and unprivileged users in RT. Specifically, unprivileged users get the SelfService interface automatically, which is the interface most users would want most of the time. Being "privileged" in RT seems to inherently imply being "a ticket resolver" due to the dramatically different interface presented by RT. I was about to run off and modify RT to present the SelfService interface to privileged users who can't own tickets when it occurred to me "What's the difference? Why not make the general user unprivileged?". On the one hand, in my present use-model I suspect it doesn't matter. On the other hand, I perceive there is functionality like dashboards that can't be exposed to people if they are unprivileged, though having dashboards publish themselves via an email address would work around that I suppose (I think they can do that?). In any case, is this the right paradigm? * privileged = ticket resolvers * Unprivileged = ticket submitters? I sense having all of my users be privileged is going against the design philosophy of RT, and would appreciate any clarification or insights from other RT admins. Thanks much! -Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: From allen+rtlist at crystalfontz.com Wed Dec 2 19:46:46 2009 From: allen+rtlist at crystalfontz.com (Allen) Date: Wed, 2 Dec 2009 16:46:46 -0800 Subject: [rt-users] webkit browser lose session only when viewing Attachment Message-ID: <885d981e0912021646g6854dcf3y4b9d51fb364834b7@mail.gmail.com> Hello, I have noticed that my Ubuntu install of RT 3.8.4 (but not my Debian install of same) gives Chrome and Safari browsers a new session cookie whenever they click an Attachment (/rt/Attachment/[transactionId]/[attachmentId]/filename). So after a logged-in user views an attachment, the cookie they have no longer matches up with the one they were using to be considered logged-in. Then any subsequent action results in a login prompt. The logout problem does not happen when clicking any other links in RT. Only the links to attachments kill the session. I checked the MySQL session table to see what happened to the old session and it is still there. I don;t know why RT issues a new one. The a_session field is a longblob. I truncated the sessions table and started again, but still the same. The same behavior occurs both whether session is stored in MySQL or in 'Apache::Session::File' (with RT Config for WebSessionClass). I have watched my network with Wireshark and see that when Safari and Chrome ask for the Attachment, the GET request includes the Cookie header with the correct (logged in) cookie. The server response returns the attachment without any cookie header, and then webkit immediately asks to GET /favicon.ico, without any cookie header. That's when the server replies back with a new cookie in a response that contains the login page. Firefox and Opera browsers don't have any problem at all with losing their session after clicking an attachment. Here's a little screencast that shows consistent session loss for Safari and Chrome, only when clicking into an Attachment: http://www.youtube.com/watch?v=JgKrL680xI8&fmt=18 Any ideas on why this would happen? I have another Debian install of 3.8.4 that is almost identical to this Ubuntu one and don't get this problem. Allen From jan.grant at bristol.ac.uk Thu Dec 3 04:29:52 2009 From: jan.grant at bristol.ac.uk (jan.grant at bristol.ac.uk) Date: Thu, 3 Dec 2009 09:29:52 +0000 (GMT) Subject: [rt-users] RT's model for privileged users In-Reply-To: References: Message-ID: On Wed, 2 Dec 2009, Robert Nesius wrote: > I sense having all of my users be privileged is going against the design > philosophy of RT, and would appreciate any clarification or insights from > other RT admins. There are a number of problems just having a large number of legitimately privileged users; many of the configuration screens don't scale well with a large number of users. We're looking at pretty much privileging all users here (to a greater or lesser extent) but it does cause problems, yeah. -- jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ Tel +44 (0)117 3317661 http://ioctl.org/jan/ "Sufficiently large"="infinite" for sufficiently large values of "sufficiently" From wikus.smit at gmail.com Thu Dec 3 06:19:57 2009 From: wikus.smit at gmail.com (Wikus Smit) Date: Thu, 3 Dec 2009 11:19:57 +0000 Subject: [rt-users] Getting error with Shredder On rt3.8.6 Message-ID: Hi All, We are trying to get the Shredder working on RT 3.8.6 (Ubuntu Install) under tools but with no luck, it keeps saying ?Shredder needs a directory to write dumps to. Please check that you have /opt/rt3/var/data/RT-Shredder and it is writable by your web server? in the GUI. We created it manually because it didn?t exist and made it writable by www-data group with no luck. We also tried running the rt-shredder script as below but just seems to be able to delete 10 tickets at a time and we have over 30k deleted tickets to wipe. ./rt-shredder --plugin 'Tickets=query,Queue="it-support" and Status="deleted"' Did anyone experienced the same problem in the GUI or maybe knows how to delete more tickets at a time? Regards, Wikus Smit From howie at thingy.com Thu Dec 3 06:28:32 2009 From: howie at thingy.com (Howard Jones) Date: Thu, 03 Dec 2009 11:28:32 +0000 Subject: [rt-users] Help! RTX-Shredder eats all my memory... In-Reply-To: <015F3751F8AC3B42BCA8C4854412B5202456D78556@NCvMAIL01.netcologne.intern> References: <015F3751F8AC3B42BCA8C4854412B5202456D78556@NCvMAIL01.netcologne.intern> Message-ID: <4B17A0E0.6080404@thingy.com> Loos, Christian wrote: > Maybe Shredder will delete some tickets. > > Take a look at this bug: > http://rt3.fsck.com/Ticket/Display.html?id=14170&user=guest&pass=guest > _______________________________________________ > I don't think this is what is biting me though - it has been happily shredding up until now (300K+ tickets). Then again, we have (had) 350000 tickets, so I don't know each one intimately, and wouldn't notice if it did delete some of them accidentally. I suppose I'll need to go hunting in the database schema and find the {something} with a lot of associated {something-else}, or a circular reference of some kind, but I was hoping for a bit of direction :-) From howie at thingy.com Thu Dec 3 06:40:05 2009 From: howie at thingy.com (Howard Jones) Date: Thu, 03 Dec 2009 11:40:05 +0000 Subject: [rt-users] Getting error with Shredder On rt3.8.6 In-Reply-To: References: Message-ID: <4B17A395.6090808@thingy.com> Wikus Smit wrote: > ./rt-shredder --plugin 'Tickets=query,Queue="it-support" and Status="deleted"' > > Did anyone experienced the same problem in the GUI or maybe knows how > to delete more tickets at a time? > ./rt-shredder --plugin 'Tickets=query,Queue="it-support;limit,100" and Status="deleted"' From Gabriele.Franzini at nervianoms.com Thu Dec 3 07:35:54 2009 From: Gabriele.Franzini at nervianoms.com (Franzini, Gabriele [Nervianoms]) Date: Thu, 3 Dec 2009 13:35:54 +0100 Subject: [rt-users] Auto-creating a 'dependant' ticket On Transaction In-Reply-To: References: Message-ID: <20091203124912.D95AA19B8021@diesel.bestpractical.com> Hi Jonathan, maybe the problem is this one below: [...] Requestor => $requestors, DependedOnBy => $tkt->Id) ; <== SEMICOLON MISSING (my fault in the first message!) return 1; Regards, Gabriele From: Jonathan Rummel Subject: Re: [rt-users] Auto-creating a 'dependant' ticket On Transaction To: rt-users at lists.bestpractical.com Message-ID: <26618452.post at talk.nabble.com> Content-Type: text/plain; charset=UTF-8 Thank you all so much! This is definitely getting me closer to what I want. Is there any way you could help dumb-it-down a little more for my benefit please? And to clarify a little, I don't want this to happen On Create, only when my CF "Progress" is changed to "Send" in a ticket that already exists. Is the following correct (or close)? If not, could you please make corrections?: CONDITION: User Defined ACTION: User Defined TEMPLATE: Global Template: Blank STAGE: TransactionCreate CUSTOM CONDITION: if ($self->TicketObj->FirstCustomFieldValue('Progress') eq 'Send') { return 1; } return 0; CUSTOM ACTION PREPARATION CODE: return 1; CUSTOM ACTION CLEANUP CODE: (this is where I think I'm messing up) my $trans = $self->TransactionObj; my $tkt = $self->TicketObj; my $requestors = [ $tkt->Requestors->MemberEmailAddresses]; my $new_tkt = RT::Ticket->new($RT::SystemUser); my ($id, $msg) = $new_tkt->Create( Queue => "Data Analysis", Subject => $tkt->Subject, Status => 'new', Requestor => $requestors, DependedOnBy => $tkt->Id) return 1; I know that the Custom Condition works, but the Action doesn't seem to be working. Any help would greatly be appreciated. Thanks again! From wpereira at pop-sp.rnp.br Thu Dec 3 09:55:06 2009 From: wpereira at pop-sp.rnp.br (Wagner Pereira) Date: Thu, 03 Dec 2009 12:55:06 -0200 Subject: [rt-users] I'm almost there! Message-ID: <4B17D14A.4080005@pop-sp.rnp.br> Hey, folks. What this message below means? (Logged on my /var/log/apache2/errors.log) And how can I solve that problem? [Thu Dec 03 12:44:46 2009] [error] [client 200.133.192.22] Can't locate RT/FM.pm in @INC (@INC contains: /usr/local/rt-3.8.6/bin/../local/lib /usr/local/rt-3.8.6/bin/../lib /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . /etc/apache2) at /usr/local/rt-3.8.6/bin/../lib/RT.pm line 627.\n My /etc/apache2/sites-available/default file is: ServerName rtracker.pop-sp.rnp.br ServerAdmin wpereira at pop-sp.rnp.br RedirectMatch ^/$ http://rtracker.pop-sp.rnp.br/rt/ DocumentRoot /var/www CustomLog /var/log/apache2/www-pop-webmail.log combined ServerSignature Off LogLevel warn And my /usr/local/rt-3.8.6/etc/RT_SiteConfig.pm is: ### Custom settings ### Set($rtname, 'PoP-SP'); Set($Organization, 'rtracker.pop-sp.rnp.br'); Set($CorrespondAddress, 'rt at rtracker.pop-sp.rnp.br'); Set($CommentAddress, 'rt-comment at rtracker.pop-sp.rnp.br'); Set($OwnerEmail, 'admin at pop-sp.rnp.br'); Set($MaxAttachmentSize, 10000000); # THE DATABASE Set($DatabaseType, 'mysql'); Set($DatabaseUser, 'rtuser'); Set($DatabasePassword, 'pass_rtuser'); Set($DatabaseName, 'rtdb'); # THE WEBSERVER Set($WebPath, '/rt'); Set($WebBaseURL, 'http://rtracker.pop-sp.rnp.br'); Thanks in advance! -- Wagner Pereira PoP-SP/RNP - Ponto de Presen?a da RNP em S?o Paulo CCE/USP - Centro de Computa??o Eletr?nica da Universidade de S?o Paulo http://www.pop-sp.rnp.br Fone at RNP 1015-8902 From falcone at bestpractical.com Thu Dec 3 10:00:42 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 3 Dec 2009 10:00:42 -0500 Subject: [rt-users] I'm almost there! In-Reply-To: <4B17D14A.4080005@pop-sp.rnp.br> References: <4B17D14A.4080005@pop-sp.rnp.br> Message-ID: <20091203150042.GF1406@jibsheet.com> On Thu, Dec 03, 2009 at 12:55:06PM -0200, Wagner Pereira wrote: > Hey, folks. > > What this message below means? (Logged on my /var/log/apache2/errors.log) > > And how can I solve that problem? > > [Thu Dec 03 12:44:46 2009] [error] [client 200.133.192.22] Can't locate > RT/FM.pm in @INC (@INC contains: /usr/local/rt-3.8.6/bin/../local/lib > /usr/local/rt-3.8.6/bin/../lib /etc/perl /usr/local/lib/perl/5.10.0 > /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 > /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . > /etc/apache2) at /usr/local/rt-3.8.6/bin/../lib/RT.pm line 627.\n Did you install RT::FM? If not, you shouldn't have Set(@Plugins, qw(RT::FM)); in your RT_SiteConfig.pm -kevin > My /etc/apache2/sites-available/default file is: > > > ServerName rtracker.pop-sp.rnp.br > ServerAdmin wpereira at pop-sp.rnp.br > RedirectMatch ^/$ http://rtracker.pop-sp.rnp.br/rt/ > DocumentRoot /var/www > CustomLog /var/log/apache2/www-pop-webmail.log combined > ServerSignature Off > LogLevel warn > > > And my /usr/local/rt-3.8.6/etc/RT_SiteConfig.pm is: > > ### Custom settings ### > Set($rtname, 'PoP-SP'); Set($Organization, 'rtracker.pop-sp.rnp.br'); > Set($CorrespondAddress, 'rt at rtracker.pop-sp.rnp.br'); > Set($CommentAddress, 'rt-comment at rtracker.pop-sp.rnp.br'); > Set($OwnerEmail, 'admin at pop-sp.rnp.br'); Set($MaxAttachmentSize, 10000000); > > # THE DATABASE > > Set($DatabaseType, 'mysql'); > > Set($DatabaseUser, 'rtuser'); Set($DatabasePassword, 'pass_rtuser'); > Set($DatabaseName, 'rtdb'); > > # THE WEBSERVER > > Set($WebPath, '/rt'); Set($WebBaseURL, 'http://rtracker.pop-sp.rnp.br'); > > Thanks in advance! > > -- > > Wagner Pereira > > PoP-SP/RNP - Ponto de Presen?a da RNP em S?o Paulo > CCE/USP - Centro de Computa??o Eletr?nica da Universidade de S?o Paulo > http://www.pop-sp.rnp.br > Fone at RNP 1015-8902 > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From wpereira at pop-sp.rnp.br Thu Dec 3 11:33:20 2009 From: wpereira at pop-sp.rnp.br (Wagner Pereira) Date: Thu, 03 Dec 2009 14:33:20 -0200 Subject: [rt-users] I'm almost there! In-Reply-To: <20091203150042.GF1406@jibsheet.com> References: <4B17D14A.4080005@pop-sp.rnp.br> <20091203150042.GF1406@jibsheet.com> Message-ID: <4B17E850.1000407@pop-sp.rnp.br> Kevin, I've tried to install this, but check this out: cpan[1]> install RT::FM CPAN: Storable loaded ok (v2.18) Going to read '/root/.cpan/Metadata' Database was generated on Wed, 02 Dec 2009 10:40:10 GMT CPAN: YAML loaded ok (v0.70) Going to read 143 yaml files from /root/.cpan/build/ CPAN: Time::HiRes loaded ok (v1.9711) DONE Restored the state of none (in 1.2107 secs) Warning: Cannot install RT::FM, don't know what it is. Try the command i /RT::FM/ to find objects with matching identifiers. Next, I made what CPAN suggested to do, and... cpan[1]> i /RT::FM/ CPAN: Storable loaded ok (v2.18) Going to read '/root/.cpan/Metadata' Database was generated on Wed, 02 Dec 2009 10:40:10 GMT CPAN: YAML loaded ok (v0.70) Going to read 143 yaml files from /root/.cpan/build/ CPAN: Time::HiRes loaded ok (v1.9711) DONE Restored the state of none (in 1.2082 secs) No objects found of any type for argument /RT::FM/ Finally, in my RT_SiteConfig.pm I have the follow lines commented: #Set (@Plugins,(qw(Extension::QuickDelete RT::FM))); #Set (@Plugins,(qw(RT::FM)); -- Wagner Pereira PoP-SP/RNP - Ponto de Presen?a da RNP em S?o Paulo CCE/USP - Centro de Computa??o Eletr?nica da Universidade de S?o Paulo http://www.pop-sp.rnp.br Fone at RNP 1015-8902 Kevin Falcone escreveu: > On Thu, Dec 03, 2009 at 12:55:06PM -0200, Wagner Pereira wrote: > >> Hey, folks. >> >> What this message below means? (Logged on my /var/log/apache2/errors.log) >> >> And how can I solve that problem? >> >> [Thu Dec 03 12:44:46 2009] [error] [client 200.133.192.22] Can't locate >> RT/FM.pm in @INC (@INC contains: /usr/local/rt-3.8.6/bin/../local/lib >> /usr/local/rt-3.8.6/bin/../lib /etc/perl /usr/local/lib/perl/5.10.0 >> /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 >> /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . >> /etc/apache2) at /usr/local/rt-3.8.6/bin/../lib/RT.pm line 627.\n >> > > Did you install RT::FM? > If not, you shouldn't have Set(@Plugins, qw(RT::FM)); in your > RT_SiteConfig.pm > > -kevin > > >> My /etc/apache2/sites-available/default file is: >> >> >> ServerName rtracker.pop-sp.rnp.br >> ServerAdmin wpereira at pop-sp.rnp.br >> RedirectMatch ^/$ http://rtracker.pop-sp.rnp.br/rt/ >> DocumentRoot /var/www >> CustomLog /var/log/apache2/www-pop-webmail.log combined >> ServerSignature Off >> LogLevel warn >> >> >> And my /usr/local/rt-3.8.6/etc/RT_SiteConfig.pm is: >> >> ### Custom settings ### >> Set($rtname, 'PoP-SP'); Set($Organization, 'rtracker.pop-sp.rnp.br'); >> Set($CorrespondAddress, 'rt at rtracker.pop-sp.rnp.br'); >> Set($CommentAddress, 'rt-comment at rtracker.pop-sp.rnp.br'); >> Set($OwnerEmail, 'admin at pop-sp.rnp.br'); Set($MaxAttachmentSize, 10000000); >> >> # THE DATABASE >> >> Set($DatabaseType, 'mysql'); >> >> Set($DatabaseUser, 'rtuser'); Set($DatabasePassword, 'pass_rtuser'); >> Set($DatabaseName, 'rtdb'); >> >> # THE WEBSERVER >> >> Set($WebPath, '/rt'); Set($WebBaseURL, 'http://rtracker.pop-sp.rnp.br'); >> >> Thanks in advance! >> >> -- >> >> Wagner Pereira >> >> PoP-SP/RNP - Ponto de Presen?a da RNP em S?o Paulo >> CCE/USP - Centro de Computa??o Eletr?nica da Universidade de S?o Paulo >> http://www.pop-sp.rnp.br >> Fone at RNP 1015-8902 >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com From mrathbone at sagonet.com Thu Dec 3 11:41:28 2009 From: mrathbone at sagonet.com (Maxwell A. Rathbone) Date: Thu, 03 Dec 2009 11:41:28 -0500 Subject: [rt-users] I'm almost there! In-Reply-To: <4B17E850.1000407@pop-sp.rnp.br> References: <4B17D14A.4080005@pop-sp.rnp.br> <20091203150042.GF1406@jibsheet.com> <4B17E850.1000407@pop-sp.rnp.br> Message-ID: <4B17EA38.4090004@sagonet.com> Try: http://bestpractical.com/rtfm/download.html Max Wagner Pereira wrote: > Kevin, > > I've tried to install this, but check this out: > > cpan[1]> install > RT::FM > > CPAN: Storable loaded ok (v2.18) > Going to read '/root/.cpan/Metadata' > Database was generated on Wed, 02 Dec 2009 10:40:10 GMT > CPAN: YAML loaded ok (v0.70) > Going to read 143 yaml files from /root/.cpan/build/ > CPAN: Time::HiRes loaded ok (v1.9711) > DONE > Restored the state of none (in 1.2107 secs) > Warning: Cannot install RT::FM, don't know what it is. > Try the command > > i /RT::FM/ > > to find objects with matching identifiers. > > Next, I made what CPAN suggested to do, and... > > cpan[1]> i > /RT::FM/ > > CPAN: Storable loaded ok (v2.18) > Going to read '/root/.cpan/Metadata' > Database was generated on Wed, 02 Dec 2009 10:40:10 GMT > CPAN: YAML loaded ok (v0.70) > Going to read 143 yaml files from /root/.cpan/build/ > CPAN: Time::HiRes loaded ok (v1.9711) > DONE > Restored the state of none (in 1.2082 secs) > No objects found of any type for argument /RT::FM/ > > > Finally, in my RT_SiteConfig.pm I have the follow lines commented: > > #Set (@Plugins,(qw(Extension::QuickDelete RT::FM))); > #Set (@Plugins,(qw(RT::FM)); > > From mrathbone at sagonet.com Thu Dec 3 12:16:00 2009 From: mrathbone at sagonet.com (Maxwell A. Rathbone) Date: Thu, 03 Dec 2009 12:16:00 -0500 Subject: [rt-users] I'm almost there! In-Reply-To: <4B17EFAF.1060608@pop-sp.rnp.br> References: <4B17D14A.4080005@pop-sp.rnp.br> <20091203150042.GF1406@jibsheet.com> <4B17E850.1000407@pop-sp.rnp.br> <4B17EA38.4090004@sagonet.com> <4B17EFAF.1060608@pop-sp.rnp.br> Message-ID: <4B17F250.5080602@sagonet.com> I believe it should be installed to the local/plugins sub-directory inside your RT installation directory.. [root at abuse02 ~]# ls -l /opt/rt3/local/plugins/ total 28 drwxr-xr-x 5 root root 4096 Dec 1 15:33 RT-Authen-ExternalAuth drwxr-xr-x 4 root root 4096 Dec 1 12:33 RT-Extension-SpawnLinkedTicketInQueue drwxr-xr-x 4 root root 4096 Dec 1 12:33 RT-Extension-SummaryByUser drwxr-xr-x 5 root root 4096 Dec 1 12:36 RT-Extension-TicketAging drwxr-xr-x 8 root root 4096 Nov 30 15:04 RT-FM drwxr-xr-x 4 root root 4096 Dec 1 12:37 RTFM-Extension-ArticleTemplates drwxr-xr-x 6 root root 4096 Nov 30 15:04 RT-IR Max Wagner Pereira wrote: > Max, > > I already installed this RTFM 2.4.2 in my /usr/local directory. > > Next step is... > From pjaramillo at kcp.com Thu Dec 3 12:31:03 2009 From: pjaramillo at kcp.com (pjaramillo at kcp.com) Date: Thu, 3 Dec 2009 11:31:03 -0600 Subject: [rt-users] RTIR Blocks Message-ID: Has anyone modified RTIR to allow Blocks to be linked to Incident Reports instead of Incidents? If so, how? I don't like the fact that I have to create an Incident Report and then an Incident to create a Block. That logic is flawed. It assumes it takes an actual incident to put a block in place, where as you should want to be proactive and block prior to an incident. Thanks, Paul J From william.graboyes at theportalgrp.com Thu Dec 3 12:31:13 2009 From: william.graboyes at theportalgrp.com (William Graboyes) Date: Thu, 3 Dec 2009 09:31:13 -0800 Subject: [rt-users] Trying to auto include RTFM article based on tab click. Message-ID: <8a5c3dac0912030931k40ee8e2ag5f1ba4ad7b81eb7a@mail.gmail.com> Hi List, I believe I have the proper method (or not). {$RT Host name}/rt3/Ticket/Update.html?Action=Comment&id={$ticketNumber}&RTFM-Include-Article-Named={$article} Now when I include the desired article, I have a problem with the way it is displaying in the FSCK editor Such as Follows: Hi <Requester Name>,

Your request has been received and assigned to <GroupName>

Thanks,
Service Desk
Is there an extra processing directive that is required to force this to load first in the "Source" portion of the FSCK editor? Thanks, Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrathbone at sagonet.com Thu Dec 3 12:39:00 2009 From: mrathbone at sagonet.com (Maxwell A. Rathbone) Date: Thu, 03 Dec 2009 12:39:00 -0500 Subject: [rt-users] RTIR Blocks In-Reply-To: References: Message-ID: <4B17F7B4.60105@sagonet.com> Paul, Why would you want to block an IP before a problem occurs? And how would you know that the IP is going to be problematic before a problem occurs? We utilize RTIR for our Abuse handling. External sites email us to abuse at sagonet.com, which drops into RTIR's Incident Reports queue. From there, our Abuse Admins verify the issue, then proceed to open an Incident & Investigation(outbound ticket to our customer) simultaneously. If the customer does not correct the problem within ___ amount of time, our Abuse Admins will then open a Block, blocking the customer IP until they fix the issue. It may just be how you are using it that causes you to feel the logic is flawed. As from my example above, it fits perfectly in the logical workflow. Max pjaramillo at kcp.com wrote: > Has anyone modified RTIR to allow Blocks to be linked to Incident Reports > instead of Incidents? If so, how? > > I don't like the fact that I have to create an Incident Report and then > an Incident to create a Block. That logic is flawed. It assumes it takes > an actual incident to put a block in place, where as you should want to be > proactive and block prior to an incident. > > Thanks, > Paul J > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From pjaramillo at kcp.com Thu Dec 3 12:55:23 2009 From: pjaramillo at kcp.com (pjaramillo at kcp.com) Date: Thu, 3 Dec 2009 11:55:23 -0600 Subject: [rt-users] RTIR Blocks In-Reply-To: <4B17F7B4.60105@sagonet.com> References: <4B17F7B4.60105@sagonet.com> Message-ID: Why would you want to block an IP before a problem occurs? And how would you know that the IP is going to be problematic before a problem occurs? Let me explain better. An a IP or domain doesn't have to cause YOU an incident for it to be blocked. For your business's sake, you should proactively block malicious IPs/Domains. There are variety of sources that provide information on bad IPs and domains. If your not using these and relying on waiting for something bad to happen, I'm very sorry. The logic is flawed for this reason. It REQUIRES an incident to occur before a block can happen. That is flawed in any scenario. A better logic flow would allow for blocks to be tied to either Incident Reports or Incidents. Thanks, Paul J From: "Maxwell A. Rathbone" To: pjaramillo at kcp.com, rt-users at lists.bestpractical.com Date: 12/03/2009 11:36 AM Subject: Re: [rt-users] RTIR Blocks Paul, Why would you want to block an IP before a problem occurs? And how would you know that the IP is going to be problematic before a problem occurs? We utilize RTIR for our Abuse handling. External sites email us to abuse at sagonet.com, which drops into RTIR's Incident Reports queue. From there, our Abuse Admins verify the issue, then proceed to open an Incident & Investigation(outbound ticket to our customer) simultaneously. If the customer does not correct the problem within ___ amount of time, our Abuse Admins will then open a Block, blocking the customer IP until they fix the issue. It may just be how you are using it that causes you to feel the logic is flawed. As from my example above, it fits perfectly in the logical workflow. Max pjaramillo at kcp.com wrote: > Has anyone modified RTIR to allow Blocks to be linked to Incident Reports > instead of Incidents? If so, how? > > I don't like the fact that I have to create an Incident Report and then > an Incident to create a Block. That logic is flawed. It assumes it takes > an actual incident to put a block in place, where as you should want to be > proactive and block prior to an incident. > > Thanks, > Paul J > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From falcone at bestpractical.com Thu Dec 3 12:57:21 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 3 Dec 2009 12:57:21 -0500 Subject: [rt-users] Trying to auto include RTFM article based on tab click. In-Reply-To: <8a5c3dac0912030931k40ee8e2ag5f1ba4ad7b81eb7a@mail.gmail.com> References: <8a5c3dac0912030931k40ee8e2ag5f1ba4ad7b81eb7a@mail.gmail.com> Message-ID: <20091203175721.GG1406@jibsheet.com> On Thu, Dec 03, 2009 at 09:31:13AM -0800, William Graboyes wrote: > Hi List, > > I believe I have the proper method (or not). > > {$RT Host > name}/rt3/Ticket/Update.html?Action=Comment&id={$ticketNumber}&RTFM-Include-Article-Named={$article} > > Now when I include the desired article, I have a problem with the way it is displaying in the > FSCK editor Such as Follows: Does it work when using the normal RTFM inclusion method? You also don't say what RT version you're running, and the FCKeditor has had a number of bugfixes -kevin > Hi <Requester Name>, >
>
Your request has been received and assigned to <GroupName> >
>
Thanks, >
Service Desk >
> > Is there an extra processing directive that is required to force this to load first in the > "Source" portion of the FSCK editor? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From william.graboyes at theportalgrp.com Thu Dec 3 13:10:45 2009 From: william.graboyes at theportalgrp.com (William Graboyes) Date: Thu, 3 Dec 2009 10:10:45 -0800 Subject: [rt-users] Trying to auto include RTFM article based on tab click. In-Reply-To: <20091203175721.GG1406@jibsheet.com> References: <8a5c3dac0912030931k40ee8e2ag5f1ba4ad7b81eb7a@mail.gmail.com> <20091203175721.GG1406@jibsheet.com> Message-ID: <8a5c3dac0912031010ved61ad2j62235a63c8c54b86@mail.gmail.com> Kevin, Some days I would forget my head if it weren't bolted to my neck. Currently testing on RT 3.8.6. When you type in the article number and hit `GO` it works as expected, only when you are wanting to include that article by default (maybe there is a better way of doing this?) does it look like html source instead of wysiwyg. Thanks, Bill On Thu, Dec 3, 2009 at 9:57 AM, Kevin Falcone wrote: > On Thu, Dec 03, 2009 at 09:31:13AM -0800, William Graboyes wrote: > > Hi List, > > > > I believe I have the proper method (or not). > > > > {$RT Host > > > name}/rt3/Ticket/Update.html?Action=Comment&id={$ticketNumber}&RTFM-Include-Article-Named={$article} > > > > Now when I include the desired article, I have a problem with the way > it is displaying in the > > FSCK editor Such as Follows: > > Does it work when using the normal RTFM inclusion method? > > You also don't say what RT version you're running, and the FCKeditor > has had a number of bugfixes > > -kevin > > > Hi <Requester Name>, > >
> >
Your request has been received and assigned to <GroupName> > >
> >
Thanks, > >
Service Desk > >
> > > > Is there an extra processing directive that is required to force this > to load first in the > > "Source" portion of the FSCK editor? > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Thu Dec 3 13:17:44 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 3 Dec 2009 13:17:44 -0500 Subject: [rt-users] Trying to auto include RTFM article based on tab click. In-Reply-To: <8a5c3dac0912031010ved61ad2j62235a63c8c54b86@mail.gmail.com> References: <8a5c3dac0912030931k40ee8e2ag5f1ba4ad7b81eb7a@mail.gmail.com> <20091203175721.GG1406@jibsheet.com> <8a5c3dac0912031010ved61ad2j62235a63c8c54b86@mail.gmail.com> Message-ID: <20091203181744.GH1406@jibsheet.com> On Thu, Dec 03, 2009 at 10:10:45AM -0800, William Graboyes wrote: > Currently testing on RT 3.8.6. > > When you type in the article number and hit `GO` it works as expected, only when you are > wanting to include that article by default (maybe there is a better way of doing this?) does > it look like html source instead of wysiwyg. You may need to also pass in FCKeditorEncoded=1 in the URL We escape quoted replies before the FCKeditor sees them, and the RTFM include looks like a quoted reply in this instance. If that doesn't solve it, I have no idea without digging. -kevin > On Thu, Dec 3, 2009 at 9:57 AM, Kevin Falcone <[1]falcone at bestpractical.com> wrote: > > On Thu, Dec 03, 2009 at 09:31:13AM -0800, William Graboyes wrote: > > Hi List, > > > > I believe I have the proper method (or not). > > > > {$RT Host > > > name}/rt3/Ticket/Update.html?Action=Comment&id={$ticketNumber}&RTFM-Include-Article-Named={$article} > > > > Now when I include the desired article, I have a problem with the way it is displaying in > the > > FSCK editor Such as Follows: > > Does it work when using the normal RTFM inclusion method? > > You also don't say what RT version you're running, and the FCKeditor > has had a number of bugfixes > -kevin > > Hi <Requester Name>, > >
> >
Your request has been received and assigned to <GroupName> > >
> >
Thanks, > >
Service Desk > >
> > > > Is there an extra processing directive that is required to force this to load first in the > > "Source" portion of the FSCK editor? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From william.graboyes at theportalgrp.com Thu Dec 3 13:24:49 2009 From: william.graboyes at theportalgrp.com (William Graboyes) Date: Thu, 3 Dec 2009 10:24:49 -0800 Subject: [rt-users] Trying to auto include RTFM article based on tab click. In-Reply-To: <20091203181744.GH1406@jibsheet.com> References: <8a5c3dac0912030931k40ee8e2ag5f1ba4ad7b81eb7a@mail.gmail.com> <20091203175721.GG1406@jibsheet.com> <8a5c3dac0912031010ved61ad2j62235a63c8c54b86@mail.gmail.com> <20091203181744.GH1406@jibsheet.com> Message-ID: <8a5c3dac0912031024ufc28009yf3761e5d3e053729@mail.gmail.com> Kevin, You Da Man, That worked perfectly. Thanks for the quick help, Bill On Thu, Dec 3, 2009 at 10:17 AM, Kevin Falcone wrote: > FCKeditorEncoded=1 -------------- next part -------------- An HTML attachment was scrubbed... URL: From allen+rtlist at crystalfontz.com Thu Dec 3 13:41:28 2009 From: allen+rtlist at crystalfontz.com (Allen) Date: Thu, 3 Dec 2009 10:41:28 -0800 Subject: [rt-users] webkit browser lose session only when viewing Attachment Message-ID: <885d981e0912031041v74099555mf0b714759bde61e1@mail.gmail.com> I found the reason for this problem. But don't know the correct solution. The reason is that RT's runs from the /rt subdirectory on this server. That subdirectory is where the authenticated session cookie applies. When Webkit browser asks for /favicon.ico that is above the /rt directory, therefore the login cookie is inapplicable there. So, RT sends back a response with a new cookie. The reason this happens on 1 of my servers and not the other is because RT on the broken server is one of many NameBasedVirtualHosts. So if the visitor is at this hostname, it hits RT, even if /rt was not part of the REQUEST_URI. On my other server, it uses mod_vhost_alias for all the domains, and RT is installed just as an Alias /rt. So on that server when /favicon.ico is requested, the answer does not come back from RT, but from one of the other mod_vhost_alias domains because the Alias does not apply. It seems I need some kind of rewrite rule in the Apache config to handle people asking for "/file" instead of "/rt/file" Or maybe just remove the "Alias /rt /usr/share/request-tracker3.8/html" and other references to /rt in the Apache configs and just let RT run at DocumentRoot instead of in a subdirectory? Anyone else running RT in a subdirectory of a NameBasedVirtualhost with a suggestion? Allen From jake at elsif.net Thu Dec 3 14:02:01 2009 From: jake at elsif.net (elsif) Date: Thu, 3 Dec 2009 14:02:01 -0500 (EST) Subject: [rt-users] Custom fields in search results In-Reply-To: <885d981e0912031041v74099555mf0b714759bde61e1@mail.gmail.com> References: <885d981e0912031041v74099555mf0b714759bde61e1@mail.gmail.com> Message-ID: <20091203135727.F609@disintegration.igs.net> RT 3.8.5 on FreeBSD 6.2 using Apache 2.2.6 How can I have the search functions search and display custom fields? The page here: http://wiki.bestpractical.com/view/DisplayCustomFieldsInTicketSearch ...says that the conventional method doesn't work in 3.6 and above. I've created Custom Fields for 'tickets', added it to the queue, and when I create a new ticket the dropdown box is there. But in both simple and advanced saarch I'm unable to make RT find results based on the option (development categories 'bugs, 'feature requests', etc) that was chosen for the custom field. -jake From Mike.Johnson at NorMed.ca Thu Dec 3 14:14:58 2009 From: Mike.Johnson at NorMed.ca (Mike Johnson) Date: Thu, 03 Dec 2009 14:14:58 -0500 Subject: [rt-users] Allowing to change to queue without seeing queue anywhere else Message-ID: <4B17C7AB.4EF5.001E.0@NorMed.ca> Is this possible? I want a set of users to have a queue, and if they get a ticket that belongs elsewhere, they can dump it in to that queue... but they can't see that queue anywhere else? Like, I don't want them to see the queue in the search criteria, in the "new ticket in" dropdown, in the "quick search" section, anything like that. Most of my users are quite fluent in how to use RT and don't do stupid things... but I'm afraid of at least a couple of my new users :P haha... any help, much appreciated. Mike Johnson Datatel Programmer/Analyst Northern Ontario School of Medicine 955 Oliver Road Thunder Bay, ON P7B 5E1 Phone: 807.766.7331 Email: mike.johnson at normed.ca Technology assistance: email nosmhelpdesk at normed.ca Technology Emergency Contact (TEC) Mon-Fri, 8am to 5pm excluding stat holidays: Off campus toll free 1-800-461-8777, option 8, or locally either (705)-662-7120 or (807)-766-7500 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jake at elsif.net Thu Dec 3 14:22:13 2009 From: jake at elsif.net (elsif) Date: Thu, 3 Dec 2009 14:22:13 -0500 (EST) Subject: [rt-users] Allowing to change to queue without seeing queue anywhere else In-Reply-To: <4B17C7AB.4EF5.001E.0@NorMed.ca> References: <4B17C7AB.4EF5.001E.0@NorMed.ca> Message-ID: <20091203142001.U689@disintegration.igs.net> Put those users into a special group. Then , in configuration->queues->queuename->group rights, give them access to 'modify ticket' is how I'm guessing it would work... Where 'queuename' is the ticket of the queue(s) they can dump to. Worth a try... On Thu, 3 Dec 2009, Mike Johnson wrote: > Is this possible? > > I want a set of users to have a queue, and if they get a ticket that belongs elsewhere, they can dump it in to that queue... but they can't see that queue anywhere else? > > Like, I don't want them to see the queue in the search criteria, in the "new ticket in" dropdown, in the "quick search" section, anything like that. > > Most of my users are quite fluent in how to use RT and don't do stupid things... but I'm afraid of at least a couple of my new users :P haha... > > any help, much appreciated. > > Mike Johnson > Datatel Programmer/Analyst > Northern Ontario School of Medicine > 955 Oliver Road > Thunder Bay, ON P7B 5E1 > Phone: 807.766.7331 > Email: mike.johnson at normed.ca > Technology assistance: email nosmhelpdesk at normed.ca > Technology Emergency Contact (TEC) Mon-Fri, 8am to 5pm excluding stat holidays: > Off campus toll free 1-800-461-8777, option 8, or locally either > (705)-662-7120 or (807)-766-7500 > From fooraide at gmail.com Thu Dec 3 14:38:57 2009 From: fooraide at gmail.com (David) Date: Thu, 3 Dec 2009 14:38:57 -0500 Subject: [rt-users] Custom sort for saved searches and dashboards Message-ID: Hi, In reference to the question I had regarding customizing the way dashboards are sorted, I was able to figure it out - thanks: http://lists.bestpractical.com/pipermail/rt-users/2009-October/061874.html In fact, there was two files to modify: /share/html/Dashboards/index.html (Which corresponds to "Tools" -> "Dashboards") /share/html/Dashboards/Elements/ListOfDashboards (Which corresponds to the "Module" you can add to your homepage or to other dashboards) (I think these should be editable under /local now if the patch went through..?) Also, if I did this, it wouldn't work: Dashboards => [sort { $a->Name <=> $b->Name } @{ $dashboards->{personal} || [] }], Instead, I needed to use this: Dashboards => [sort { $a->Name cmp $b->Name } @{ $dashboards->{personal} || [] }], Since instead of comparing a numerical value, I was comparing strings: Binary "<=>" returns -1, 0, or 1 depending on whether the left argument is numerically less than, equal to, or greater than the right argument. Binary "cmp" returns -1, 0, or 1 depending on whether the left argument is stringwise less than, equal to, or greater than the right argument. Now, on to my real question. I'm trying to ease the process of doing maintenance on our saved searches because we are using a lot. Right now, they are sorted by unique ID. I'd also like to sort them by alphabetical order but I wasn't able to find the right file to look at. Can anyone point me in the right direction ? From falcone at bestpractical.com Thu Dec 3 14:45:04 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 3 Dec 2009 14:45:04 -0500 Subject: [rt-users] Custom sort for saved searches and dashboards In-Reply-To: References: Message-ID: <20091203194504.GI1406@jibsheet.com> On Thu, Dec 03, 2009 at 02:38:57PM -0500, David wrote: > Hi, > > In reference to the question I had regarding customizing the way > dashboards are sorted, I was able to figure it out - thanks: > http://lists.bestpractical.com/pipermail/rt-users/2009-October/061874.html > > In fact, there was two files to modify: > /share/html/Dashboards/index.html (Which corresponds to "Tools" -> "Dashboards") > /share/html/Dashboards/Elements/ListOfDashboards (Which corresponds to > the "Module" you can add to your homepage or to other dashboards) > > (I think these should be editable under /local now if the patch went through..?) As Shawn mentioned, commit 0c6959ab9ad added callbacks to make them sortable without an overlay. That patch will be included in 3.8.7. 3.8.7rc1 is available as of yesterday. -kevin > Also, if I did this, it wouldn't work: > Dashboards => [sort { $a->Name <=> $b->Name } @{ > $dashboards->{personal} || [] }], > > Instead, I needed to use this: > Dashboards => [sort { $a->Name cmp $b->Name } @{ > $dashboards->{personal} || [] }], > > Since instead of comparing a numerical value, I was comparing strings: > Binary "<=>" returns -1, 0, or 1 depending on whether the left > argument is numerically less than, equal to, or greater than the right > argument. > Binary "cmp" returns -1, 0, or 1 depending on whether the left > argument is stringwise less than, equal to, or greater than the right > argument. > > Now, on to my real question. I'm trying to ease the process of doing > maintenance on our saved searches because we are using a lot. Right > now, they are sorted by unique ID. > I'd also like to sort them by alphabetical order but I wasn't able to > find the right file to look at. > > Can anyone point me in the right direction ? > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From change+lists.rt at nightwind.net Thu Dec 3 14:58:18 2009 From: change+lists.rt at nightwind.net (Nick Kartsioukas) Date: Thu, 03 Dec 2009 11:58:18 -0800 Subject: [rt-users] Adding AdminCC on ticket creation fails without ModifyTicket right Message-ID: <1259870298.5972.1348322131@webmail.messagingengine.com> I currently have permissions set on tickets such that only the ticket owner has the ModifyTicket right. If I create a ticket, and on the ticket creation screen set someone as AdminCC, and submit the ticket, the ticket is successfully created but I get a permission denied error on adding the AdminCC. I'm not sure if this is a bug or a feature...I would think that a privileged user creating a ticket should be able to set an AdminCC (for a manager or someone else who wishes to follow the ticket details), but the order in which RT creates the ticket prevents that from working (ticket created, then a separate transaction to add the AdminCC). This problem does not exist when adding a normal CC on ticket creation. If I create the ticket with myself as the owner, it does allow me to set AdminCC, but in our setup a privileged user (as a member of one particular group) does not have ownership permissions in all the queues, but we do have create ticket permissions in other queues. Any ideas if there's a way around this? From fooraide at gmail.com Thu Dec 3 15:01:46 2009 From: fooraide at gmail.com (David) Date: Thu, 3 Dec 2009 15:01:46 -0500 Subject: [rt-users] Custom sort for saved searches and dashboards In-Reply-To: <20091203194504.GI1406@jibsheet.com> References: <20091203194504.GI1406@jibsheet.com> Message-ID: Thanks for the heads up on 3.8.7, we'll hold back our upgrade since we were expecting to upgrade to 3.8.6 shortly. However, that does not tell me what file I need to look at for changing the order for Saved Searches ? Thanks for the advice, On Thu, Dec 3, 2009 at 2:45 PM, Kevin Falcone wrote: > On Thu, Dec 03, 2009 at 02:38:57PM -0500, David wrote: >> Hi, >> >> In reference to the question I had regarding customizing the way >> dashboards are sorted, I was able to figure it out - thanks: >> http://lists.bestpractical.com/pipermail/rt-users/2009-October/061874.html >> >> In fact, there was two files to modify: >> /share/html/Dashboards/index.html (Which corresponds to "Tools" -> "Dashboards") >> /share/html/Dashboards/Elements/ListOfDashboards (Which corresponds to >> the "Module" you can add to your homepage or to other dashboards) >> >> (I think these should be editable under /local now if the patch went through..?) > > As Shawn mentioned, commit 0c6959ab9ad added callbacks to make them > sortable without an overlay. ?That patch will be included in 3.8.7. > 3.8.7rc1 is available as of yesterday. > > -kevin From kfcrocker at lbl.gov Thu Dec 3 15:52:06 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Thu, 03 Dec 2009 12:52:06 -0800 Subject: [rt-users] Adding AdminCC on ticket creation fails without ModifyTicket right In-Reply-To: <1259870298.5972.1348322131@webmail.messagingengine.com> References: <1259870298.5972.1348322131@webmail.messagingengine.com> Message-ID: <4B1824F6.5000100@lbl.gov> Nick, Have you tried setting the AdminCc when creating the ticket? You can do that with the WebUI. If these tickets are being created via Email, then downloading/installing the "CommandByMail" extension/plugin will allow you to do this. As to changing/setting the AdminCc once the ticket is created, that's strictly a "ModifyTicket" right. There are a couple things you can do to a ticket /without/ that right, which are Make/Show Comments and Reply/See Email & correspondence. Another thing you can do is if you know who will be a regular AdminCc on a Queue by queue basis, set the Queue AdminCc Watcher to that person and then set the Queue Group Right for the AdminCc /role/ to allow "ModifyTicket". Hope this helps. Kenn LBNL On 12/3/2009 11:58 AM, Nick Kartsioukas wrote: > I currently have permissions set on tickets such that only the ticket > owner has the ModifyTicket right. If I create a ticket, and on the > ticket creation screen set someone as AdminCC, and submit the ticket, > the ticket is successfully created but I get a permission denied error > on adding the AdminCC. I'm not sure if this is a bug or a feature...I > would think that a privileged user creating a ticket should be able to > set an AdminCC (for a manager or someone else who wishes to follow the > ticket details), but the order in which RT creates the ticket prevents > that from working (ticket created, then a separate transaction to add > the AdminCC). This problem does not exist when adding a normal CC on > ticket creation. > If I create the ticket with myself as the owner, it does allow me to set > AdminCC, but in our setup a privileged user (as a member of one > particular group) does not have ownership permissions in all the queues, > but we do have create ticket permissions in other queues. > > Any ideas if there's a way around this? > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From change+lists.rt at nightwind.net Thu Dec 3 16:27:14 2009 From: change+lists.rt at nightwind.net (Nick Kartsioukas) Date: Thu, 03 Dec 2009 13:27:14 -0800 Subject: [rt-users] Adding AdminCC on ticket creation fails without ModifyTicket right In-Reply-To: <4B1824F6.5000100@lbl.gov> References: <1259870298.5972.1348322131@webmail.messagingengine.com> <4B1824F6.5000100@lbl.gov> Message-ID: <1259875634.18535.1348337179@webmail.messagingengine.com> On Thu, 03 Dec 2009 12:52:06 -0800, "Ken Crocker" said: > Have you tried setting the AdminCc when creating the ticket? You can do > that with the WebUI. If these tickets are being created via Email, then > downloading/installing the "CommandByMail" extension/plugin will allow > you to do this. Yep, I am setting the AdminCC on the ticket creation page via the web interface. It appears that RT treats setting the AdminCC as a separate transaction from the ticket creation, so it creates the ticket, then attempts to apply the AdminCC value, and that's where it fails (as after the ticket is created, I don't have the ModifyTicket right). Privileged user with: CreateTicket, CommentOnTicket, SeeQueue, ShowOutgoingEmail, ShowTicket, ShowTicketComments on the queue in question. I wish "ModifyTicket" was split up, it encompasses quite a lot of operations... From slander at hearstsc.com Thu Dec 3 16:59:25 2009 From: slander at hearstsc.com (Lander, Scott) Date: Thu, 3 Dec 2009 16:59:25 -0500 Subject: [rt-users] Problem seeing all unowned tickets. Message-ID: <39A20BAEB14A6344A0646DD5C8F98D4B090E70E6DF@RCLTEXCMS02.resource.hearstcorp.com> All, In RT 3.8.5. I have a dozen or so queues, and people can't see tickets outside their own workgroup queue. This works fine. Each user has the X newest unowned tickets search on their RT at a Glance page (the default). Until recently, this worked fine, but, recently people started reporting tickets missing from that search. The search is pretty simple - select where owner = 'Nobody' and (Status = 'new' or Status = 'open') When I ran this (or viewed it) as root I saw all the tickets. When I clicked on the "X Newest unowned tickets" tab, I would see all of the tickets - and in this case, there were 9, while the X in X Newest unowned tickets was 10. So, I expected to see all 9 tickets in the RT at a Glance page. Nope.... Then I noticed that the search said 30 tickets found! OK - thats what I saw as root, too, because I was seeing all tickets, not just the ones in the users queue... I noticed that the ticket that was missing from the user queue was ticket 19 in the root list. So, I set the users X displayed tickets to be 20. Loh and behold - the missing ticket now shows up in his RT at a Glance! It turns out, we now have 20 (and growing) tickets that are no longer displayed in the home page, not because of any problem with the ticket, but, just their position in the list! IE, even though the list has 30 tickets, across all of our queues, each user can only see tickets in the first 10 positions. Does this description make any sense? Does anyone have any clues how I can fix this? Obviously it will quickly be a major problem for us. Thanks ------------------------------------------------------------------------------------ This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst Service Center (cadmin at hearstsc.com) immediately by email and delete the original message. ------------------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From kfcrocker at lbl.gov Thu Dec 3 17:10:32 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Thu, 03 Dec 2009 14:10:32 -0800 Subject: [rt-users] Adding AdminCC on ticket creation fails without ModifyTicket right In-Reply-To: <1259875634.18535.1348337179@webmail.messagingengine.com> References: <1259870298.5972.1348322131@webmail.messagingengine.com> <4B1824F6.5000100@lbl.gov> <1259875634.18535.1348337179@webmail.messagingengine.com> Message-ID: <4B183758.8040407@lbl.gov> Nick, I suppose you could make yourself the owner when you create it, then after it is created, give it to someone else. But that is the long way around. You could also write a scrip to do it with RT authority, but that is a little like doing it twice when it shouldn't be necessary. Are you sure you don't have a set list of AdminCc's for each queue? That way you just grant the right "ModifyTicket" to the role "AdminCc" at the queue level. Kenn LBNL On 12/3/2009 1:27 PM, Nick Kartsioukas wrote: > On Thu, 03 Dec 2009 12:52:06 -0800, "Ken Crocker" > said: > >> Have you tried setting the AdminCc when creating the ticket? You can do >> that with the WebUI. If these tickets are being created via Email, then >> downloading/installing the "CommandByMail" extension/plugin will allow >> you to do this. >> > > Yep, I am setting the AdminCC on the ticket creation page via the web > interface. It appears that RT treats setting the AdminCC as a separate > transaction from the ticket creation, so it creates the ticket, then > attempts to apply the AdminCC value, and that's where it fails (as after > the ticket is created, I don't have the ModifyTicket right). > > Privileged user with: CreateTicket, CommentOnTicket, SeeQueue, > ShowOutgoingEmail, ShowTicket, ShowTicketComments on the queue in > question. > > I wish "ModifyTicket" was split up, it encompasses quite a lot of > operations... > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From change+lists.rt at nightwind.net Thu Dec 3 17:15:05 2009 From: change+lists.rt at nightwind.net (Nick Kartsioukas) Date: Thu, 03 Dec 2009 14:15:05 -0800 Subject: [rt-users] Problem seeing all unowned tickets. In-Reply-To: <39A20BAEB14A6344A0646DD5C8F98D4B090E70E6DF@RCLTEXCMS02.resource.hearstcorp.com> References: <39A20BAEB14A6344A0646DD5C8F98D4B090E70E6DF@RCLTEXCMS02.resource.hearstcorp.com> Message-ID: <1259878505.25326.1348345181@webmail.messagingengine.com> On Thu, 3 Dec 2009 16:59:25 -0500, "Lander, Scott" said: > In RT 3.8.5. I have a dozen or so queues, and people can't see > tickets outside their own workgroup queue. This works fine. Each > user has the X newest unowned tickets search on their RT at a Glance > page (the default). Until recently, this worked fine, but, recently > people started reporting tickets missing from that search. If you set $UseSQLForACLChecks, that should fix the problem. >From RT_Config.pl: "In RT for ages ACL are checked after search what in some situtations result in empty search pages and wrong count of tickets. Set $UseSQLForACLChecks to 1 to use SQL and get rid of these problems. However, this option is beta. In some cases it result in performance improvements, but some setups can not handle it." Depending on how many users/groups you have and how your database is configured you may see a performance hit, maybe give it a try on a test instance and see how much of an impact there is. From change+lists.rt at nightwind.net Thu Dec 3 17:20:09 2009 From: change+lists.rt at nightwind.net (Nick Kartsioukas) Date: Thu, 03 Dec 2009 14:20:09 -0800 Subject: [rt-users] Adding AdminCC on ticket creation fails without ModifyTicket right In-Reply-To: <4B183758.8040407@lbl.gov> References: <1259870298.5972.1348322131@webmail.messagingengine.com> <4B1824F6.5000100@lbl.gov> <1259875634.18535.1348337179@webmail.messagingengine.com> <4B183758.8040407@lbl.gov> Message-ID: <1259878809.26009.1348345445@webmail.messagingengine.com> On Thu, 03 Dec 2009 14:10:32 -0800, "Ken Crocker" said: > I suppose you could make yourself the owner when you create it, then > after it is created, give it to someone else. But that is the long way > around. You could also write a scrip to do it with RT authority, but > that is a little like doing it twice when it shouldn't be necessary. Yep, but since I don't have ownership rights in all queues, I would have to create it in a queue in which I could own it, set myself as the owner when I create it, then move the ticket to the other queue...quite a round-about way to do it. > Are you sure you don't have a set list of AdminCc's for each queue? That > way you just grant the right "ModifyTicket" to the role "AdminCc" at the > queue level. Nope, we don't have any AdminCCs set at the queue level. Sometimes staff here have an interest in a case and want to follow the comments on it, so the ticket creator would add them when creating the ticket. We only want ModifyTicket to be granted to the owner, so someone else doesn't accidentally close or move a ticket that's not theirs (have to steal it, then perform the action...a two-step process that should prevent such errors, especially if someone starts clicking things they don't understand on the Bulk Update screen). From allen+rtlist at crystalfontz.com Thu Dec 3 17:03:09 2009 From: allen+rtlist at crystalfontz.com (Allen) Date: Thu, 3 Dec 2009 14:03:09 -0800 Subject: [rt-users] webkit browser lose session only when viewing Attachment In-Reply-To: <885d981e0912031041v74099555mf0b714759bde61e1@mail.gmail.com> References: <885d981e0912031041v74099555mf0b714759bde61e1@mail.gmail.com> Message-ID: <885d981e0912031403s5022ee32nb329649b2bc5c437@mail.gmail.com> For future readers, to make it so that requests for objects above the $WebPath directory (like /favicon.ico, when WebPath is "/rt") do not trash the current session, I changed the RT installation so that it runs from the root directory of a subdiomain (rt.example.com) instead of a subdirectory (example.com/rt). Changes to Apache config files: /etc/apache2/sites-available/rt.example.com: insecure vhost container: + backwards compat for anyone with old links to subdir: + RewriteEngine on + RewriteCond %{REQUEST_URI} ^/rt(.*) + RewriteRule .* http://rt.example.com%1 [R] - Alias /rt /usr/share/request-tracker3.8/html - + same changes to secure vhost container except rewrite redirects to httpS /etc/request-tracker3.8/apache2-modperl2.conf: -RewriteRule ^/rt$ /rt/ -RewriteRule ^/rt/(.*)$ /usr/share/request-tracker3.8/html/$1 - + /etc/request-tracker3.8/RT_SiteConfig.d/50-debconf Set($WebPath , "/rt"); Set($WebPath , ""); From perlstalker at vuser.org Thu Dec 3 17:36:42 2009 From: perlstalker at vuser.org (Randy Smith) Date: Thu, 03 Dec 2009 15:36:42 -0700 Subject: [rt-users] Requester details in query Message-ID: Greetings, I want to create a printable report that lists open tickets in a queue that includes requester details including phone and address. Is there a way to do that with the query builder or do I have to whip out my perl-fu and write a custom report. -- Randy Smith http://www.vuser.org/ http://perlstalker.blogspot.com/ From ktm at rice.edu Thu Dec 3 17:52:57 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Thu, 3 Dec 2009 16:52:57 -0600 Subject: [rt-users] Requester details in query In-Reply-To: References: Message-ID: <20091203225257.GN3237@it.is.rice.edu> On Thu, Dec 03, 2009 at 03:36:42PM -0700, Randy Smith wrote: > Greetings, > > I want to create a printable report that lists open tickets in a queue > that includes requester details including phone and address. > > Is there a way to do that with the query builder or do I have to whip > out my perl-fu and write a custom report. > > -- > Randy Smith > http://www.vuser.org/ > http://perlstalker.blogspot.com/ > Randy, We populate custom fields with the requestor information at ticket creation since it does change over time and this allows us to know, for example, from which department the request originated. If you do that, you should be able to simple add the appropriate CF's to your report. Regards, Ken From kfcrocker at lbl.gov Thu Dec 3 18:37:18 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Thu, 03 Dec 2009 15:37:18 -0800 Subject: [rt-users] Adding AdminCC on ticket creation fails without ModifyTicket right In-Reply-To: <1259878809.26009.1348345445@webmail.messagingengine.com> References: <1259870298.5972.1348322131@webmail.messagingengine.com> <4B1824F6.5000100@lbl.gov> <1259875634.18535.1348337179@webmail.messagingengine.com> <4B183758.8040407@lbl.gov> <1259878809.26009.1348345445@webmail.messagingengine.com> Message-ID: <4B184BAE.8080600@lbl.gov> Nick, I was just thinking that we are looking at the wrong cause. I have MANY users that are allowed to create tickets in a queue and NOT allowed to modify those tickets, yet, they are able to create a ticket with an AdminCc with no problems. I'm wondering if, perhaps, we should look at what rights have been granted to those users that are being listed as the ticket's AdminCc. Are they in a group we can look at? if not, we have to look at each user. Kenn LBNL On 12/3/2009 2:20 PM, Nick Kartsioukas wrote: > On Thu, 03 Dec 2009 14:10:32 -0800, "Ken Crocker" > said: > >> I suppose you could make yourself the owner when you create it, then >> after it is created, give it to someone else. But that is the long way >> around. You could also write a scrip to do it with RT authority, but >> that is a little like doing it twice when it shouldn't be necessary. >> > > Yep, but since I don't have ownership rights in all queues, I would have > to create it in a queue in which I could own it, set myself as the owner > when I create it, then move the ticket to the other queue...quite a > round-about way to do it. > > >> Are you sure you don't have a set list of AdminCc's for each queue? That >> way you just grant the right "ModifyTicket" to the role "AdminCc" at the >> queue level. >> > > Nope, we don't have any AdminCCs set at the queue level. Sometimes > staff here have an interest in a case and want to follow the comments on > it, so the ticket creator would add them when creating the ticket. We > only want ModifyTicket to be granted to the owner, so someone else > doesn't accidentally close or move a ticket that's not theirs (have to > steal it, then perform the action...a two-step process that should > prevent such errors, especially if someone starts clicking things they > don't understand on the Bulk Update screen). > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From change+lists.rt at nightwind.net Thu Dec 3 18:51:19 2009 From: change+lists.rt at nightwind.net (Nick Kartsioukas) Date: Thu, 03 Dec 2009 15:51:19 -0800 Subject: [rt-users] Adding AdminCC on ticket creation fails without ModifyTicket right In-Reply-To: <4B184BAE.8080600@lbl.gov> References: <1259870298.5972.1348322131@webmail.messagingengine.com> <4B1824F6.5000100@lbl.gov> <1259875634.18535.1348337179@webmail.messagingengine.com> <4B183758.8040407@lbl.gov> <1259878809.26009.1348345445@webmail.messagingengine.com> <4B184BAE.8080600@lbl.gov> Message-ID: <1259884279.5868.1348357721@webmail.messagingengine.com> On Thu, 03 Dec 2009 15:37:18 -0800, "Ken Crocker" said: > I was just thinking that we are looking at the wrong cause. I have MANY > users that are allowed to create tickets in a queue and NOT allowed to > modify those tickets, yet, they are able to create a ticket with an > AdminCc with no problems. I'm wondering if, perhaps, we should look at > what rights have been granted to those users that are being listed as > the ticket's AdminCc. Are they in a group we can look at? if not, we > have to look at each user. All Privileged users have Watch and WatchAsAdminCC in the queue I'm creating the ticket in, and the user I was attempting to set as AdminCC is Privileged. Hmm. Let me give the details of the permissions here... I'm a Privileged user, in the Net Support group. I'm attempting to create the ticket in the PC Support queue. User I'm attempting to set as AdminCC is also in Net Support. Privileged users have these permissions in the PC Support queue: CreateTicket CommentOnTicket SeeQueue ShowOutgoingEmail ShowTicket ShowTicketComments Watch WatchAsAdminCC PC Support group members have these additional rights in the PC Support queue: AssignCustomFields OwnTicket StealTicket TakeTicket Owner role also has the right ModifyTicket From kfcrocker at lbl.gov Thu Dec 3 18:58:47 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Thu, 03 Dec 2009 15:58:47 -0800 Subject: [rt-users] Adding AdminCC on ticket creation fails without ModifyTicket right In-Reply-To: <1259884279.5868.1348357721@webmail.messagingengine.com> References: <1259870298.5972.1348322131@webmail.messagingengine.com> <4B1824F6.5000100@lbl.gov> <1259875634.18535.1348337179@webmail.messagingengine.com> <4B183758.8040407@lbl.gov> <1259878809.26009.1348345445@webmail.messagingengine.com> <4B184BAE.8080600@lbl.gov> <1259884279.5868.1348357721@webmail.messagingengine.com> Message-ID: <4B1850B7.10404@lbl.gov> Nick, Is the person you are trying to set as AdminCc also in the PC Support group? What rights are set for Privileged users in the Net Support group? Kenn On 12/3/2009 3:51 PM, Nick Kartsioukas wrote: > On Thu, 03 Dec 2009 15:37:18 -0800, "Ken Crocker" > said: > >> I was just thinking that we are looking at the wrong cause. I have MANY >> users that are allowed to create tickets in a queue and NOT allowed to >> modify those tickets, yet, they are able to create a ticket with an >> AdminCc with no problems. I'm wondering if, perhaps, we should look at >> what rights have been granted to those users that are being listed as >> the ticket's AdminCc. Are they in a group we can look at? if not, we >> have to look at each user. >> > > All Privileged users have Watch and WatchAsAdminCC in the queue I'm > creating the ticket in, and the user I was attempting to set as AdminCC > is Privileged. Hmm. > > Let me give the details of the permissions here... > > I'm a Privileged user, in the Net Support group. I'm attempting to > create the ticket in the PC Support queue. User I'm attempting to set > as AdminCC is also in Net Support. > > Privileged users have these permissions in the PC Support queue: > CreateTicket CommentOnTicket SeeQueue ShowOutgoingEmail ShowTicket > ShowTicketComments Watch WatchAsAdminCC > > PC Support group members have these additional rights in the PC Support > queue: > AssignCustomFields OwnTicket StealTicket TakeTicket > > Owner role also has the right ModifyTicket > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From change+lists.rt at nightwind.net Thu Dec 3 19:13:24 2009 From: change+lists.rt at nightwind.net (Nick Kartsioukas) Date: Thu, 03 Dec 2009 16:13:24 -0800 Subject: [rt-users] Adding AdminCC on ticket creation fails without ModifyTicket right In-Reply-To: <4B1850B7.10404@lbl.gov> References: <1259870298.5972.1348322131@webmail.messagingengine.com> <4B1824F6.5000100@lbl.gov> <1259875634.18535.1348337179@webmail.messagingengine.com> <4B183758.8040407@lbl.gov> <1259878809.26009.1348345445@webmail.messagingengine.com> <4B184BAE.8080600@lbl.gov> <1259884279.5868.1348357721@webmail.messagingengine.com> <4B1850B7.10404@lbl.gov> Message-ID: <1259885604.9640.1348361163@webmail.messagingengine.com> On Thu, 03 Dec 2009 15:58:47 -0800, "Ken Crocker" said: > Is the person you are trying to set as AdminCc also in the PC Support > group? No, they are a member of the Net Support group, but they do have Watch and WatchAsAdminCC in the PC Support queue. > What rights are set for Privileged users in the Net Support group? I'm not sure I understand...anyone I've told RT "Let this user be granted rights to" is a Privileged user, correct? So telling RT to give Watch and WatchAsAdminCC to Privileged users should apply to all who have that box checked, regardless of the group they're a member of. From Richard at widexs.nl Fri Dec 4 03:38:45 2009 From: Richard at widexs.nl (Richard Pijnenburg) Date: Fri, 4 Dec 2009 09:38:45 +0100 Subject: [rt-users] Custom field for users Message-ID: <87458E9581E41E4F8FFD60620074085604694C96@mail01.widexs.local> Dear List, I've created a custom field to be included in the user details. I want to put in a customer ID which we use in our administration system. As far as I can see it's defined correct as a "Custom Fields for Users" but I can't see it anywhere. Am I forgetting something? Thank you for your time. Met vriendelijke groet / With kind regards, Richard Pijnenburg -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Fri Dec 4 05:43:33 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 4 Dec 2009 05:43:33 -0500 Subject: [rt-users] Custom field for users In-Reply-To: <87458E9581E41E4F8FFD60620074085604694C96@mail01.widexs.local> References: <87458E9581E41E4F8FFD60620074085604694C96@mail01.widexs.local> Message-ID: <20091204104333.GJ1406@jibsheet.com> On Fri, Dec 04, 2009 at 09:38:45AM +0100, Richard Pijnenburg wrote: > Dear List, > > > > I've created a custom field to be included in the user details. > > I want to put in a customer ID which we use in our administration system. > > As far as I can see it's defined correct as a "Custom Fields for Users" but I can't see it anywhere. > Am I forgetting something? > > Thank you for your time. Make sure you've applied it in Configuration -> Global -> Custom Fields -> Users -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From Richard at widexs.nl Fri Dec 4 05:51:04 2009 From: Richard at widexs.nl (Richard Pijnenburg) Date: Fri, 4 Dec 2009 11:51:04 +0100 Subject: [rt-users] Custom field for users In-Reply-To: <20091204104333.GJ1406@jibsheet.com> References: <87458E9581E41E4F8FFD60620074085604694C96@mail01.widexs.local> <20091204104333.GJ1406@jibsheet.com> Message-ID: <87458E9581E41E4F8FFD60620074085604694CB3@mail01.widexs.local> It works :-) Thank you very much. Met vriendelijke groet / With kind regards, Richard Pijnenburg -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone Sent: Friday, December 04, 2009 11:44 AM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Custom field for users On Fri, Dec 04, 2009 at 09:38:45AM +0100, Richard Pijnenburg wrote: > Dear List, > > > > I've created a custom field to be included in the user details. > > I want to put in a customer ID which we use in our administration system. > > As far as I can see it's defined correct as a "Custom Fields for Users" but I can't see it anywhere. > Am I forgetting something? > > Thank you for your time. Make sure you've applied it in Configuration -> Global -> Custom Fields -> Users -kevin From d.glover1 at physics.ox.ac.uk Fri Dec 4 08:38:20 2009 From: d.glover1 at physics.ox.ac.uk (David X. Glover) Date: Fri, 4 Dec 2009 13:38:20 +0000 Subject: [rt-users] rtUnifiedreminder on 3.6 Message-ID: Has anyone attempted to get this script: http://wiki.bestpractical.com/view/rtUnifiedreminder Working on RT 3.6? It fails because it can't find the Config Class Method, and I'm wondering whether to bother trying to hack it to make it work, or whether I should give up now. -- David X. Glover Department of Physics University of Oxford http://www.physics.ox.ac.uk/ From slander at hearstsc.com Fri Dec 4 09:00:11 2009 From: slander at hearstsc.com (Lander, Scott) Date: Fri, 4 Dec 2009 09:00:11 -0500 Subject: [rt-users] Problem seeing all unowned tickets. In-Reply-To: <1259878505.25326.1348345181@webmail.messagingengine.com> References: <39A20BAEB14A6344A0646DD5C8F98D4B090E70E6DF@RCLTEXCMS02.resource.hearstcorp.com> <1259878505.25326.1348345181@webmail.messagingengine.com> Message-ID: <39A20BAEB14A6344A0646DD5C8F98D4B090E70E732@RCLTEXCMS02.resource.hearstcorp.com> Nick, Thanks for the reply - that did resolve the ticket issue. Testing now to see what kind of performance change we see. Scott -----Original Message----- From: Nick Kartsioukas [mailto:change+lists.rt at nightwind.net] Sent: Thursday, December 03, 2009 5:15 PM To: Lander, Scott; rt-users at lists.bestpractical.com Subject: Re: [rt-users] Problem seeing all unowned tickets. On Thu, 3 Dec 2009 16:59:25 -0500, "Lander, Scott" said: > In RT 3.8.5. I have a dozen or so queues, and people can't see > tickets outside their own workgroup queue. This works fine. Each > user has the X newest unowned tickets search on their RT at a Glance > page (the default). Until recently, this worked fine, but, recently > people started reporting tickets missing from that search. If you set $UseSQLForACLChecks, that should fix the problem. >From RT_Config.pl: "In RT for ages ACL are checked after search what in some situtations result in empty search pages and wrong count of tickets. Set $UseSQLForACLChecks to 1 to use SQL and get rid of these problems. However, this option is beta. In some cases it result in performance improvements, but some setups can not handle it." Depending on how many users/groups you have and how your database is configured you may see a performance hit, maybe give it a try on a test instance and see how much of an impact there is. ------------------------------------------------------------------------------------ This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst Service Center (cadmin at hearstsc.com) immediately by email and delete the original message. ------------------------------------------------------------------------------------ From kfcrocker at lbl.gov Fri Dec 4 11:25:55 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Fri, 04 Dec 2009 08:25:55 -0800 Subject: [rt-users] Adding AdminCC on ticket creation fails without ModifyTicket right In-Reply-To: <1259885604.9640.1348361163@webmail.messagingengine.com> References: <1259870298.5972.1348322131@webmail.messagingengine.com> <4B1824F6.5000100@lbl.gov> <1259875634.18535.1348337179@webmail.messagingengine.com> <4B183758.8040407@lbl.gov> <1259878809.26009.1348345445@webmail.messagingengine.com> <4B184BAE.8080600@lbl.gov> <1259884279.5868.1348357721@webmail.messagingengine.com> <4B1850B7.10404@lbl.gov> <1259885604.9640.1348361163@webmail.messagingengine.com> Message-ID: <4B193813.7060601@lbl.gov> Nick, Suffer me this and try putting the person you want as AdminCc in the PC Support group OR allow the Net Support group to have the same rights as the PC Support group for that queue. Then try setting the AdminCc. My reasoning is that if the role AdminCc has rights to a queue and you are assigning the role AdminCc to a person that does not have the particular rights as AdminCc in that queue, it will not accept the assignment. Just try it and let me know. Kenn LBNL On 12/3/2009 4:13 PM, Nick Kartsioukas wrote: > On Thu, 03 Dec 2009 15:58:47 -0800, "Ken Crocker" > said: > >> Is the person you are trying to set as AdminCc also in the PC Support >> group? >> > > No, they are a member of the Net Support group, but they do have Watch > and WatchAsAdminCC in the PC Support queue. > > >> What rights are set for Privileged users in the Net Support group? >> > > I'm not sure I understand...anyone I've told RT "Let this user be > granted rights to" is a Privileged user, correct? So telling RT to give > Watch and WatchAsAdminCC to Privileged users should apply to all who > have that box checked, regardless of the group they're a member of. > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kfcrocker at lbl.gov Fri Dec 4 11:33:46 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Fri, 04 Dec 2009 08:33:46 -0800 Subject: [rt-users] Adding AdminCC on ticket creation fails without ModifyTicket right In-Reply-To: <1259885604.9640.1348361163@webmail.messagingengine.com> References: <1259870298.5972.1348322131@webmail.messagingengine.com> <4B1824F6.5000100@lbl.gov> <1259875634.18535.1348337179@webmail.messagingengine.com> <4B183758.8040407@lbl.gov> <1259878809.26009.1348345445@webmail.messagingengine.com> <4B184BAE.8080600@lbl.gov> <1259884279.5868.1348357721@webmail.messagingengine.com> <4B1850B7.10404@lbl.gov> <1259885604.9640.1348361163@webmail.messagingengine.com> Message-ID: <4B1939EA.4000602@lbl.gov> Nick, Also, try granting "ReplytoTicket" for all privileged either Globally or in that queue. Kenn LBNL On 12/3/2009 4:13 PM, Nick Kartsioukas wrote: > On Thu, 03 Dec 2009 15:58:47 -0800, "Ken Crocker" > said: > >> Is the person you are trying to set as AdminCc also in the PC Support >> group? >> > > No, they are a member of the Net Support group, but they do have Watch > and WatchAsAdminCC in the PC Support queue. > > >> What rights are set for Privileged users in the Net Support group? >> > > I'm not sure I understand...anyone I've told RT "Let this user be > granted rights to" is a Privileged user, correct? So telling RT to give > Watch and WatchAsAdminCC to Privileged users should apply to all who > have that box checked, regardless of the group they're a member of. > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mahini at apple.com Fri Dec 4 11:45:22 2009 From: mahini at apple.com (Behzad Mahini) Date: Fri, 4 Dec 2009 08:45:22 -0800 Subject: [rt-users] rtUnifiedreminder on 3.6 In-Reply-To: References: Message-ID: I did not go through the entire code, however, one thing that I noticed to be incorrect is the line which says "package RT" shown below: # Pull in the RT stuff package RT; use RT::Interface::CLI qw(CleanEnv GetCurrentUser GetMessageContent loc); ...that line needs to be changed to: use RT; -Behzad On Dec 4, 2009, at 5:38 AM, David X. Glover wrote: > Has anyone attempted to get this script: > http://wiki.bestpractical.com/view/rtUnifiedreminder > > Working on RT 3.6? It fails because it can't find the Config Class > Method, and I'm wondering whether to bother trying to hack it to > make it work, or whether I should give up now. > > -- > David X. Glover > Department of Physics > University of Oxford > http://www.physics.ox.ac.uk/ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From change+lists.rt at nightwind.net Fri Dec 4 12:17:44 2009 From: change+lists.rt at nightwind.net (Nick Kartsioukas) Date: Fri, 04 Dec 2009 09:17:44 -0800 Subject: [rt-users] Adding AdminCC on ticket creation fails without ModifyTicket right In-Reply-To: <4B193813.7060601@lbl.gov> References: <1259870298.5972.1348322131@webmail.messagingengine.com> <4B1824F6.5000100@lbl.gov> <1259875634.18535.1348337179@webmail.messagingengine.com> <4B183758.8040407@lbl.gov> <1259878809.26009.1348345445@webmail.messagingengine.com> <4B184BAE.8080600@lbl.gov> <1259884279.5868.1348357721@webmail.messagingengine.com> <4B1850B7.10404@lbl.gov> <1259885604.9640.1348361163@webmail.messagingengine.com> <4B193813.7060601@lbl.gov> Message-ID: <1259947064.23446.1348482189@webmail.messagingengine.com> On Fri, 04 Dec 2009 08:25:55 -0800, "Ken Crocker" said: > Suffer me this and try putting the person you want as AdminCc in the PC > Support group OR allow the Net Support group to have the same rights as > the PC Support group for that queue. Then try setting the AdminCc. My > reasoning is that if the role AdminCc has rights to a queue and you are > assigning the role AdminCc to a person that does not have the particular > rights as AdminCc in that queue, it will not accept the assignment. Just > try it and let me know. Added WatchAsAdminCC and ReplyToTicket explicitly for the user I'm trying to set as the AdminCC in the PC queue, and it still won't let me. * Ticket 540 created in queue 'PC' * Couldn't set AdminCc watcher: Permission Denied (normally ReplyToTicket is granted only to the ticket owner) From falcone at bestpractical.com Fri Dec 4 12:24:47 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 4 Dec 2009 12:24:47 -0500 Subject: [rt-users] rtUnifiedreminder on 3.6 In-Reply-To: References: Message-ID: <20091204172447.GA910@jibsheet.com> On Fri, Dec 04, 2009 at 01:38:20PM +0000, David X. Glover wrote: > Has anyone attempted to get this script: > http://wiki.bestpractical.com/view/rtUnifiedreminder > > Working on RT 3.6? It fails because it can't find the Config Class > Method, and I'm wondering whether to bother trying to hack it to > make it work, or whether I should give up now. RT->Config->Get('foo') is the 3.8 syntax for retrieving config vars. In theory, you can go swap those to $RT::foo and be fine -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From perlstalker at vuser.org Fri Dec 4 12:09:49 2009 From: perlstalker at vuser.org (Randy Smith) Date: Fri, 04 Dec 2009 10:09:49 -0700 Subject: [rt-users] Requester details in query In-Reply-To: <20091203225257.GN3237@it.is.rice.edu> References: <20091203225257.GN3237@it.is.rice.edu> Message-ID: <4B19425D.3040607@vuser.org> Kenneth Marshall wrote: > On Thu, Dec 03, 2009 at 03:36:42PM -0700, Randy Smith wrote: >> Greetings, >> >> I want to create a printable report that lists open tickets in a queue >> that includes requester details including phone and address. >> >> Is there a way to do that with the query builder or do I have to whip >> out my perl-fu and write a custom report. >> >> > Randy, > > We populate custom fields with the requestor information at > ticket creation since it does change over time and this allows > us to know, for example, from which department the request > originated. If you do that, you should be able to simple add > the appropriate CF's to your report. I'm populating the user's detail fields using ExternalAuth and LDAP. I don't like the idea of pushing that info custom fields when it already exists elsewhere but it's certainly an option, perhaps for the room number. It doesn't make as much sense for things like requesters phone number though. I'll have to think about that a bit. > > Regards, > Ken -- Randy Smith http://www.vuser.org/ http://perlstalker.blogspot.com/ From falcone at bestpractical.com Fri Dec 4 12:29:59 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 4 Dec 2009 12:29:59 -0500 Subject: [rt-users] Adding AdminCC on ticket creation fails without ModifyTicket right In-Reply-To: <1259870298.5972.1348322131@webmail.messagingengine.com> References: <1259870298.5972.1348322131@webmail.messagingengine.com> Message-ID: <20091204172959.GB910@jibsheet.com> On Thu, Dec 03, 2009 at 11:58:18AM -0800, Nick Kartsioukas wrote: > I currently have permissions set on tickets such that only the ticket > owner has the ModifyTicket right. If I create a ticket, and on the > ticket creation screen set someone as AdminCC, and submit the ticket, > the ticket is successfully created but I get a permission denied error > on adding the AdminCC. I'm not sure if this is a bug or a feature...I > would think that a privileged user creating a ticket should be able to > set an AdminCC (for a manager or someone else who wishes to follow the > ticket details), but the order in which RT creates the ticket prevents > that from working (ticket created, then a separate transaction to add > the AdminCC). This problem does not exist when adding a normal CC on > ticket creation. > If I create the ticket with myself as the owner, it does allow me to set > AdminCC, but in our setup a privileged user (as a member of one > particular group) does not have ownership permissions in all the queues, > but we do have create ticket permissions in other queues. > > Any ideas if there's a way around this? The code is rather explicit about this. If you're creating a ticket and try to add an AdminCc it either wants your user to have ModifyTicket or for you to be adding yourself and for you to have WatchAsAdminCc. If you care to look in the code, see Ticket_Overlay.pm's Create method, the loop at 534 and then the contents of the AddWatcher method. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From william.graboyes at theportalgrp.com Fri Dec 4 12:35:11 2009 From: william.graboyes at theportalgrp.com (William Graboyes) Date: Fri, 4 Dec 2009 09:35:11 -0800 Subject: [rt-users] Custom fields in search results In-Reply-To: <20091203135727.F609@disintegration.igs.net> References: <885d981e0912031041v74099555mf0b714759bde61e1@mail.gmail.com> <20091203135727.F609@disintegration.igs.net> Message-ID: <8a5c3dac0912040935s6035c112g7dcd21df35453aa1@mail.gmail.com> Hi Jake, When you have custom fields assigned to a On Thu, Dec 3, 2009 at 11:02 AM, elsif wrote: > RT 3.8.5 on FreeBSD 6.2 using Apache 2.2.6 > > How can I have the search functions search and display custom fields? > > The page here: > http://wiki.bestpractical.com/view/DisplayCustomFieldsInTicketSearch > > ...says that the conventional method doesn't work in 3.6 and above. > > I've created Custom Fields for 'tickets', added it to the queue, and when > I create a new ticket the dropdown box is there. > > But in both simple and advanced saarch I'm unable to make RT find results > based on the option (development categories 'bugs, 'feature requests', > etc) that was chosen for the custom field. > > -jake > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -- Bill Graboyes On Assignment At: Toyota Motor Sales, USA, Inc. Consumer Portal Delivery Office: (310) 468-6754 Cell: (714) 515-8312 -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Fri Dec 4 12:38:50 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 4 Dec 2009 12:38:50 -0500 Subject: [rt-users] Requester details in query In-Reply-To: <4B19425D.3040607@vuser.org> References: <20091203225257.GN3237@it.is.rice.edu> <4B19425D.3040607@vuser.org> Message-ID: <20091204173850.GC910@jibsheet.com> On Fri, Dec 04, 2009 at 10:09:49AM -0700, Randy Smith wrote: > Kenneth Marshall wrote: > > On Thu, Dec 03, 2009 at 03:36:42PM -0700, Randy Smith wrote: > >> Greetings, > >> > >> I want to create a printable report that lists open tickets in a queue > >> that includes requester details including phone and address. > >> > >> Is there a way to do that with the query builder or do I have to whip > >> out my perl-fu and write a custom report. > >> > >> > > Randy, > > > > We populate custom fields with the requestor information at > > ticket creation since it does change over time and this allows > > us to know, for example, from which department the request > > originated. If you do that, you should be able to simple add > > the appropriate CF's to your report. > > I'm populating the user's detail fields using ExternalAuth and LDAP. I > don't like the idea of pushing that info custom fields when it already > exists elsewhere but it's certainly an option, perhaps for the room > number. It doesn't make as much sense for things like requesters phone > number though. If you don't want to copy user data into ticket cfs, the right way to do it is to use the callbacks available in BuildFormatString and RT__Ticket/ColumnMap to add new display fields (you can see the existing Requestors key for an idea of what needs doing). -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From william.graboyes at theportalgrp.com Fri Dec 4 12:37:34 2009 From: william.graboyes at theportalgrp.com (William Graboyes) Date: Fri, 4 Dec 2009 09:37:34 -0800 Subject: [rt-users] Custom fields in search results In-Reply-To: <8a5c3dac0912040935s6035c112g7dcd21df35453aa1@mail.gmail.com> References: <885d981e0912031041v74099555mf0b714759bde61e1@mail.gmail.com> <20091203135727.F609@disintegration.igs.net> <8a5c3dac0912040935s6035c112g7dcd21df35453aa1@mail.gmail.com> Message-ID: <8a5c3dac0912040937n7dc7954atf190927f4efb9ba1@mail.gmail.com> Hi Jake, Sorry for that last transmission, it sent without my consent. At any rate, when you have custom fields assigned to a queue, they will only show up in the query builder if you have that queue selected. Otherwise you would need to make the custom field global to be able to search without a qualified queue. Thanks, Bill On Fri, Dec 4, 2009 at 9:35 AM, William Graboyes < william.graboyes at theportalgrp.com> wrote: > Hi Jake, > > When you have custom fields assigned to a > > On Thu, Dec 3, 2009 at 11:02 AM, elsif wrote: > >> RT 3.8.5 on FreeBSD 6.2 using Apache 2.2.6 >> >> How can I have the search functions search and display custom fields? >> >> The page here: >> http://wiki.bestpractical.com/view/DisplayCustomFieldsInTicketSearch >> >> ...says that the conventional method doesn't work in 3.6 and above. >> >> I've created Custom Fields for 'tickets', added it to the queue, and when >> I create a new ticket the dropdown box is there. >> >> But in both simple and advanced saarch I'm unable to make RT find results >> based on the option (development categories 'bugs, 'feature requests', >> etc) that was chosen for the custom field. >> >> -jake >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> > > > > -- > Bill Graboyes > On Assignment At: > Toyota Motor Sales, USA, Inc. > Consumer Portal Delivery > Office: (310) 468-6754 > Cell: (714) 515-8312 > -- Bill Graboyes On Assignment At: Toyota Motor Sales, USA, Inc. Consumer Portal Delivery Office: (310) 468-6754 Cell: (714) 515-8312 -------------- next part -------------- An HTML attachment was scrubbed... URL: From kjm at 123.net Fri Dec 4 12:53:00 2009 From: kjm at 123.net (Kyle McKinley) Date: Fri, 04 Dec 2009 12:53:00 -0500 Subject: [rt-users] Reminders are setting off one of my OnCreate Scrips Message-ID: <4B194C7C.308@123.net> Hello, So I have queue "turnup" that has a scrip OnCreate>NotifyCCs. I just started playing around with Reminders. They create a new ticket in that queue, but oddly enough, don't show up in the RT at a Glance SavedSearch, where they actually should according to my parameters (Queue= Turnup AND Status NOT Resolved.) Which is fine because I don't want them there. The problem is that my CCs are getting emailed something that is totally unrelated to what the Template was created for ie. notifying my CCs of a new customer for Turnup. I only want the Owner of the reminder to receive an email. Is there any was around this issue? I can't seem to find anything related in the archives. BTW, this is my first post here. Running RT 3.8.2 -- Sincerely, Kyle McKinley Network Operations 123Net Direct: 248.228.8207 Fax: 248.264.2805 kjm at 123.net www.123.net From change+lists.rt at nightwind.net Fri Dec 4 13:16:56 2009 From: change+lists.rt at nightwind.net (Nick Kartsioukas) Date: Fri, 04 Dec 2009 10:16:56 -0800 Subject: [rt-users] Reminders are setting off one of my OnCreate Scrips In-Reply-To: <4B194C7C.308@123.net> References: <4B194C7C.308@123.net> Message-ID: <1259950616.31339.1348490175@webmail.messagingengine.com> On Fri, 04 Dec 2009 12:53:00 -0500, "Kyle McKinley" said: > So I have queue "turnup" that has a scrip OnCreate>NotifyCCs. I just > started playing around with Reminders. They create a new ticket in that > queue, but oddly enough, don't show up in the RT at a Glance > SavedSearch, where they actually should according to my parameters > (Queue= Turnup AND Status NOT Resolved.) Which is fine because I don't > want them there. The problem is that my CCs are getting emailed > something that is totally unrelated to what the Template was created for > ie. notifying my CCs of a new customer for Turnup. I only want the > Owner of the reminder to receive an email. Is there any was around this > issue? I can't seem to find anything related in the archives. BTW, > this is my first post here. So, you want CCs to be notified when a normal ticket is created, but not when a reminder is created? I think you'll need to set a custom condition for the OnCreate NotifyCCs scrip, something that will trigger when the transaction type is Create and the ticket type is not reminder. I'm-not-yet-fully-awake-so-check-my-work-first maybe-working code follows: my $trans = $self->TransactionObj; my $ticket = $self->TicketObj; return 0 unless $trans->Type == 'Create'; return 0 unless $ticket->Type != 'reminder'; return 1; From ktm at rice.edu Fri Dec 4 13:23:03 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Fri, 4 Dec 2009 12:23:03 -0600 Subject: [rt-users] Requester details in query In-Reply-To: <4B19425D.3040607@vuser.org> References: <20091203225257.GN3237@it.is.rice.edu> <4B19425D.3040607@vuser.org> Message-ID: <20091204182302.GP3237@it.is.rice.edu> On Fri, Dec 04, 2009 at 10:09:49AM -0700, Randy Smith wrote: > Kenneth Marshall wrote: > > On Thu, Dec 03, 2009 at 03:36:42PM -0700, Randy Smith wrote: > >> Greetings, > >> > >> I want to create a printable report that lists open tickets in a queue > >> that includes requester details including phone and address. > >> > >> Is there a way to do that with the query builder or do I have to whip > >> out my perl-fu and write a custom report. > >> > >> > > Randy, > > > > We populate custom fields with the requestor information at > > ticket creation since it does change over time and this allows > > us to know, for example, from which department the request > > originated. If you do that, you should be able to simple add > > the appropriate CF's to your report. > > I'm populating the user's detail fields using ExternalAuth and LDAP. I > don't like the idea of pushing that info custom fields when it already > exists elsewhere but it's certainly an option, perhaps for the room > number. It doesn't make as much sense for things like requesters phone > number though. > Phone number is actually one of the fields that benefits the most since people logging the ticket could be: at a hotel, at home, on their cell phone, at their desk, in a conference room, ... It helps to be able to reach them where the directory information is always fixed. Regards, Ken From kfcrocker at lbl.gov Fri Dec 4 13:28:02 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Fri, 04 Dec 2009 10:28:02 -0800 Subject: [rt-users] Adding AdminCC on ticket creation fails without ModifyTicket right In-Reply-To: <20091204172959.GB910@jibsheet.com> References: <1259870298.5972.1348322131@webmail.messagingengine.com> <20091204172959.GB910@jibsheet.com> Message-ID: <4B1954B2.9010408@lbl.gov> Kevin, Yea. You're right. I've never had to deal with this because we really do not use AdminCc at the ticket level. We set up all our AdminCc's at the Queue watcher level and that way a simple scrip will take care of notifications and we can handle all the privileges with the role at queue level. In fact, I modified our ticket create screen to /remove/ the AdminCc box. We just don't want to deal with it that way. Oh well. Sorry Nick, that I couldn't help you. Kenn LBNL On 12/4/2009 9:29 AM, Kevin Falcone wrote: > On Thu, Dec 03, 2009 at 11:58:18AM -0800, Nick Kartsioukas wrote: > >> I currently have permissions set on tickets such that only the ticket >> owner has the ModifyTicket right. If I create a ticket, and on the >> ticket creation screen set someone as AdminCC, and submit the ticket, >> the ticket is successfully created but I get a permission denied error >> on adding the AdminCC. I'm not sure if this is a bug or a feature...I >> would think that a privileged user creating a ticket should be able to >> set an AdminCC (for a manager or someone else who wishes to follow the >> ticket details), but the order in which RT creates the ticket prevents >> that from working (ticket created, then a separate transaction to add >> the AdminCC). This problem does not exist when adding a normal CC on >> ticket creation. >> If I create the ticket with myself as the owner, it does allow me to set >> AdminCC, but in our setup a privileged user (as a member of one >> particular group) does not have ownership permissions in all the queues, >> but we do have create ticket permissions in other queues. >> >> Any ideas if there's a way around this? >> > > The code is rather explicit about this. > If you're creating a ticket and try to add an AdminCc it either wants > your user to have ModifyTicket or for you to be adding yourself and > for you to have WatchAsAdminCc. > > If you care to look in the code, see Ticket_Overlay.pm's Create > method, the loop at 534 and then the contents of the AddWatcher > method. > > -kevin > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From kjm at 123.net Fri Dec 4 14:44:37 2009 From: kjm at 123.net (Kyle McKinley) Date: Fri, 04 Dec 2009 14:44:37 -0500 Subject: [rt-users] Reminders are setting off one of my OnCreate Scrips *RESOLVED In-Reply-To: <1259950616.31339.1348490175@webmail.messagingengine.com> References: <4B194C7C.308@123.net> <1259950616.31339.1348490175@webmail.messagingengine.com> Message-ID: <4B1966A5.7020309@123.net> Nick, That seems to have done the trick. I didn't realize that their were ticket "types." Thanks for the quick response! Sincerely, Kyle McKinley Network Operations 123Net Direct: 248.228.8207 Fax: 248.264.2805 kjm at 123.net www.123.net Nick Kartsioukas wrote: > On Fri, 04 Dec 2009 12:53:00 -0500, "Kyle McKinley" said: > >> So I have queue "turnup" that has a scrip OnCreate>NotifyCCs. I just >> started playing around with Reminders. They create a new ticket in that >> queue, but oddly enough, don't show up in the RT at a Glance >> SavedSearch, where they actually should according to my parameters >> (Queue= Turnup AND Status NOT Resolved.) Which is fine because I don't >> want them there. The problem is that my CCs are getting emailed >> something that is totally unrelated to what the Template was created for >> ie. notifying my CCs of a new customer for Turnup. I only want the >> Owner of the reminder to receive an email. Is there any was around this >> issue? I can't seem to find anything related in the archives. BTW, >> this is my first post here. >> > > So, you want CCs to be notified when a normal ticket is created, but not > when a reminder is created? > I think you'll need to set a custom condition for the OnCreate NotifyCCs > scrip, something that will trigger when the transaction type is Create > and the ticket type is not reminder. > > I'm-not-yet-fully-awake-so-check-my-work-first maybe-working code > follows: > my $trans = $self->TransactionObj; > my $ticket = $self->TicketObj; > return 0 unless $trans->Type == 'Create'; > return 0 unless $ticket->Type != 'reminder'; > return 1; > > From kjm at 123.net Fri Dec 4 15:23:24 2009 From: kjm at 123.net (Kyle McKinley) Date: Fri, 04 Dec 2009 15:23:24 -0500 Subject: [rt-users] Only showing a certain custom field when another custom field has a certain value selected Message-ID: <4B196FBC.5090603@123.net> Hello, I realize this is an open ended question here. I'm looking for a way to hide custom fields until necessitated by the choice of a value in another custom field. Is their a way to do this with Scrips or do I need to dig into the config files? Or is this some capability that hierarchal custom fields will provide when I upgrade at some point? So what I'm really getting at, is should I just wait till I upgrade. Thanks! -- Sincerely, Kyle McKinley Network Operations 123Net Direct: 248.228.8207 Fax: 248.264.2805 kjm at 123.net www.123.net From kjm at 123.net Fri Dec 4 15:27:36 2009 From: kjm at 123.net (Kyle McKinley) Date: Fri, 04 Dec 2009 15:27:36 -0500 Subject: [rt-users] Only showing a certain custom field when another custom field has a certain value selected In-Reply-To: <4B196FBC.5090603@123.net> References: <4B196FBC.5090603@123.net> Message-ID: <4B1970B8.70208@123.net> I am currently using RT 3.8.2 Sincerely, Kyle McKinley Network Operations 123Net Direct: 248.228.8207 Fax: 248.264.2805 kjm at 123.net www.123.net Kyle McKinley wrote: > Hello, > > I realize this is an open ended question here. I'm looking for a way to > hide custom fields until necessitated by the choice of a value in > another custom field. Is their a way to do this with Scrips or do I > need to dig into the config files? Or is this some capability that > hierarchal custom fields will provide when I upgrade at some point? So > what I'm really getting at, is should I just wait till I upgrade. Thanks! > > From smithj4 at bnl.gov Fri Dec 4 15:51:31 2009 From: smithj4 at bnl.gov (Jason A. Smith) Date: Fri, 04 Dec 2009 15:51:31 -0500 Subject: [rt-users] Using rt-mailgate with multiple actions and UnsafeEmailCommands. Message-ID: <1259959891.15549.11.camel@smith.racf.bnl.gov> I have rt-3.8.6 and recently tried passing multiple actions, correspond-resolve, with the UnsafeEmailCommands option set, but only the correspond action is done. The resolve action does work if done by itself, but not done together with correspond. Has anyone else tried this successfully or had similar problems? I tried looking through the Interface::Email::Gateway code, but quickly became overwhelmed. For now, I guess I will just resort to separate procmail rules. ~Jason -- /------------------------------------------------------------------\ | Jason A. Smith Email: smithj4 at bnl.gov | | Atlas Computing Facility, Bldg. 510M Phone: +1-631-344-4226 | | Brookhaven National Lab, P.O. Box 5000 Fax: +1-631-344-7616 | | Upton, NY 11973-5000, U.S.A. | \------------------------------------------------------------------/ -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3906 bytes Desc: not available URL: From smithj4 at bnl.gov Fri Dec 4 16:59:16 2009 From: smithj4 at bnl.gov (Jason A. Smith) Date: Fri, 04 Dec 2009 16:59:16 -0500 Subject: [rt-users] Using rt-mailgate with multiple actions and UnsafeEmailCommands. In-Reply-To: <1259959891.15549.11.camel@smith.racf.bnl.gov> References: <1259959891.15549.11.camel@smith.racf.bnl.gov> Message-ID: <1259963956.15549.17.camel@smith.racf.bnl.gov> Okay, I also have RT-Extension-CommandByMail installed and it appears that it is preventing rt-mailgate from running the UnsafeEmailCommands. If I remove Filter::TakeAction from my @MailPlugins list, then it works as it should. Is this expected behavior, or would this be considered a bug? ~Jason On Fri, 2009-12-04 at 15:51 -0500, Jason A. Smith wrote: > I have rt-3.8.6 and recently tried passing multiple actions, > correspond-resolve, with the UnsafeEmailCommands option set, but only > the correspond action is done. The resolve action does work if done by > itself, but not done together with correspond. > > Has anyone else tried this successfully or had similar problems? I > tried looking through the Interface::Email::Gateway code, but quickly > became overwhelmed. For now, I guess I will just resort to separate > procmail rules. > > ~Jason > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com -- /------------------------------------------------------------------\ | Jason A. Smith Email: smithj4 at bnl.gov | | Atlas Computing Facility, Bldg. 510M Phone: +1-631-344-4226 | | Brookhaven National Lab, P.O. Box 5000 Fax: +1-631-344-7616 | | Upton, NY 11973-5000, U.S.A. | \------------------------------------------------------------------/ -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3906 bytes Desc: not available URL: From smithj4 at bnl.gov Fri Dec 4 17:39:08 2009 From: smithj4 at bnl.gov (Jason A. Smith) Date: Fri, 04 Dec 2009 17:39:08 -0500 Subject: [rt-users] Using rt-mailgate with multiple actions and UnsafeEmailCommands. In-Reply-To: <1259963956.15549.17.camel@smith.racf.bnl.gov> References: <1259959891.15549.11.camel@smith.racf.bnl.gov> <1259963956.15549.17.camel@smith.racf.bnl.gov> Message-ID: <1259966348.15549.28.camel@smith.racf.bnl.gov> On Fri, 2009-12-04 at 16:59 -0500, Jason A. Smith wrote: > Okay, I also have RT-Extension-CommandByMail installed and it appears > that it is preventing rt-mailgate from running the UnsafeEmailCommands. > If I remove Filter::TakeAction from my @MailPlugins list, then it works > as it should. > > Is this expected behavior, or would this be considered a bug? I am going to Cc the rt-devel list, if you think this is a bug you can remove the rt-user list from followups. I think the problem is actually with the logic in: RT::Interface::Email::GetAuthenticationLevel The AuthStat value is only initialized once in the beginning of the function and after CommandByMail's TakeAction processes the correspond action, AuthStat is left with a value of -2, which means all remaining actions will be skipped with any plugin. Shouldn't the AuthStat value be reset for each action? I think it may be better to put the actions loop outside of the plugins loop and reset the AuthStat value for each action. What do you think? ~Jason -- /------------------------------------------------------------------\ | Jason A. Smith Email: smithj4 at bnl.gov | | Atlas Computing Facility, Bldg. 510M Phone: +1-631-344-4226 | | Brookhaven National Lab, P.O. Box 5000 Fax: +1-631-344-7616 | | Upton, NY 11973-5000, U.S.A. | \------------------------------------------------------------------/ -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3906 bytes Desc: not available URL: From SMelot at lmusd.org Fri Dec 4 19:35:57 2009 From: SMelot at lmusd.org (Scott Melot) Date: Fri, 04 Dec 2009 16:35:57 -0800 Subject: [rt-users] eDirectory authentication and groups question Message-ID: <4B193A6D.C733.00F3.0@lmusd.org> Hello: I've been working on migrating my school district from an MS Access based work order system to RT. I have been able to get it up and running with Ubuntu 8.04, MySQL 5, RT 3.8.6, ExternalAuth 0.08 and RTFM 2.4.2. But I am having some problems What I would like to do is have general staff be able to log in and have an account created, then for a support staff to be able to manually (automatically would be better but I'll take manual) add them to a custom group within RT if they need more permissions than to submit a trouble ticket to the support queue. Currently I am able to authenticate to my eDirectory through LDAP and ExternalAuth as an unpriveleged user but I haven't been able to figure out the rest. Any help or suggestions would be appreciated. I am including my RT_SiteConfig (modified to protect some information) below. # THE BASICS: Set($rtname, 'server.name'); Set($Organization, 'LMUSD'); Set($CorrespondAddress , 'removed'); Set($CommentAddress , 'removed'); Set($Timezone , 'US/PACIFIC'); # obviously choose what suits you # THE DATABASE: Set($DatabaseType, 'mysql'); # e.g. Pg or mysql # These are the settings we used above when creating the RT database, # you MUST set these to what you chose in the section above. Set($DatabaseUser , 'removed'); Set($DatabasePassword , 'removed'); Set($DatabaseName , 'removed'); # THE WEBSERVER: Set($WebDomain, 'localhost' ); Set($WebPath , ""); Set($WebBaseURL , "http://removed"); # THE PLUGINS Set(@Plugins,qw( RT::FM RT::Authen::ExternalAuth )); # LDAP Authentication Set($ExternalAuthPriority, [ 'My_LDAP', ] ); Set($ExternalInfoPriority, [ 'My_LDAP' ] ); Set($ExternalServiceUsesSSLorTLS, 0); Set($AutoCreateNonExternalUsers, 0); Set($ExternalSettings, { 'My_LDAP' => { 'type' => 'ldap', 'server' => 'removed', 'base' => 'o=', 'filter' => '(objectClass=Person)', 'd_filter' => '(objectClass=Computer)', 'tls' => 0, 'ssl_version' => 3, 'net_ldap_args' => [ version => 3 ], #'group' => 'RT_Users', #'group_attr' => 'groupmembersattribute', # 'attr_match_list' => [ 'Name', 'EmailAddress', ], # 'attr_map' => { 'Name' => 'uid', 'EmailAddress' => 'mail', } }, } ); 1; Scott Melot Personal Computer Network Specialist III, Information Technology Services Lucia Mar Unified School District Phone: (805) 474-3000 ext 1016 From change+lists.rt at nightwind.net Fri Dec 4 19:46:13 2009 From: change+lists.rt at nightwind.net (Nick Kartsioukas) Date: Fri, 04 Dec 2009 16:46:13 -0800 Subject: [rt-users] eDirectory authentication and groups question In-Reply-To: <4B193A6D.C733.00F3.0@lmusd.org> References: <4B193A6D.C733.00F3.0@lmusd.org> Message-ID: <1259973973.19703.1348539791@webmail.messagingengine.com> On Fri, 04 Dec 2009 16:35:57 -0800, "Scott Melot" said: > What I would like to do is have general staff be able to log in and have > an account created, then for a support staff to be able to manually > (automatically would be better but I'll take manual) add them to a custom > group within RT if they need more permissions than to submit a trouble > ticket to the support queue. All that needs to be done is for an admin to go to Configuration, Users, and search for the username of the person you want to set up (be sure to change the search type to Name, defaults to User ID). Click their user and check the box that says "Let this person be granted rights" and make them a member of the appropriate group. You can also get a list of all privileged and non-privileged users in RT by entering % in the search box. From stroke_of_death at yahoo.com Fri Dec 4 22:32:14 2009 From: stroke_of_death at yahoo.com (Sean) Date: Fri, 4 Dec 2009 19:32:14 -0800 (PST) Subject: [rt-users] Add dashboard to selfservice In-Reply-To: <643114.25028.qm@web58704.mail.re1.yahoo.com> Message-ID: <955153.62020.qm@web58706.mail.re1.yahoo.com> Hi, How can I add dashboards to the selfservice page? This allows me to add dashboards for managers to see some reports instead of having to make them priviliged users Thanks, Sean From allen+rtlist at crystalfontz.com Sat Dec 5 01:07:25 2009 From: allen+rtlist at crystalfontz.com (Allen) Date: Fri, 4 Dec 2009 22:07:25 -0800 Subject: [rt-users] rtUnifiedreminder on 3.6 Message-ID: <885d981e0912042207o755567a7h65899c9ae3b70824@mail.gmail.com> > Working on RT 3.6? It fails because it can't find the Config Class Method I posted that script on the wiki and can vouch that it works on 3.8.4. I wouldn't know what has to change to make work on 3.6. Probably just some of the boilerplate lines of code. Allen From johndchapman at hotmail.com Sat Dec 5 09:43:13 2009 From: johndchapman at hotmail.com (John David Chapman) Date: Sat, 5 Dec 2009 06:43:13 -0800 (PST) Subject: [rt-users] Users with minimal rights now have full rights - why? In-Reply-To: <26567308.post@talk.nabble.com> References: <26567308.post@talk.nabble.com> Message-ID: <26656224.post@talk.nabble.com> Thanks Elenor and Kenn, good stuff. All working nicely; I'll keep the access rights down to users, as I'm using a minimal amount of users. Thanks! John David Chapman wrote: > > Hi, > > I have a number of users set up with minimal rights (In Global user > rights, they only have comment and create on ticket set up). > > Yet for some reason, when they log in, they have full rights (can even > mess with my root account). If I remove privileges, they still have the > ability to create tickets and put them in what ever queue they want. > > I have even tried setting up some new restricted accounts, yet they also > have full admin when they log on. > > I am not sure what has happened. Anyone got any ideas? > > -- View this message in context: http://old.nabble.com/Users-with-minimal-rights-now-have-full-rights---why--tp26567308p26656224.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From johndchapman at hotmail.com Sat Dec 5 09:48:20 2009 From: johndchapman at hotmail.com (John David Chapman) Date: Sat, 5 Dec 2009 06:48:20 -0800 (PST) Subject: [rt-users] Can I add more than one email address to a user? (within user configuration) Message-ID: <26656255.post@talk.nabble.com> Lets assume I have set up user Joe Bloggs. I added joe.bloggs1 at example.com; joe.bloggs2 at example.com as the email with user configuration. However, RT only ever notifies joe.bloggs1 at example.com Why? -- View this message in context: http://old.nabble.com/Can-I-add-more-than-one-email-address-to-a-user--%28within-user-configuration%29-tp26656255p26656255.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From raanders at cyber-office.net Sat Dec 5 10:30:47 2009 From: raanders at cyber-office.net (Roderick A. Anderson) Date: Sat, 05 Dec 2009 07:30:47 -0800 Subject: [rt-users] Can I add more than one email address to a user? (within user configuration) In-Reply-To: <26656255.post@talk.nabble.com> References: <26656255.post@talk.nabble.com> Message-ID: <4B1A7CA7.4060006@cyber-office.net> John David Chapman wrote: > Lets assume I have set up user Joe Bloggs. > > I added joe.bloggs1 at example.com; joe.bloggs2 at example.com as the email with > user configuration. > > However, RT only ever notifies joe.bloggs1 at example.com Use a comma instead of a semi-colon as a separator and _possibly_ kill the space. joe.bloggs1 at example.com,joe.bloggs2 at example.com \\||/ Rod -- From falcone at bestpractical.com Sat Dec 5 10:36:32 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Sat, 5 Dec 2009 10:36:32 -0500 Subject: [rt-users] Add dashboard to selfservice In-Reply-To: <955153.62020.qm@web58706.mail.re1.yahoo.com> References: <643114.25028.qm@web58704.mail.re1.yahoo.com> <955153.62020.qm@web58706.mail.re1.yahoo.com> Message-ID: <20091205153632.GD910@jibsheet.com> On Fri, Dec 04, 2009 at 07:32:14PM -0800, Sean wrote: > Hi, > > How can I add dashboards to the selfservice page? This allows me to > add dashboards for managers to see some reports instead of having to > make them priviliged users They're not currently available under SelfService, but you could set up a subscription to have dashboards mailed to your manager on a daily or weekly basis. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From johndchapman at hotmail.com Sat Dec 5 11:30:05 2009 From: johndchapman at hotmail.com (John David Chapman) Date: Sat, 5 Dec 2009 08:30:05 -0800 (PST) Subject: [rt-users] Can I add more than one email address to a user? (within user configuration) In-Reply-To: <26656255.post@talk.nabble.com> References: <26656255.post@talk.nabble.com> Message-ID: <26657032.post@talk.nabble.com> Hmm, I tried using only a commar, with no spaces, and also without, but it does not work. I check the email train, and it only sends to joebloggs1 at example.com Does it work for you? If not, I guess the only work around is to allocate 1 email address to 1 new user, and then set up a group. Then, add the group as a watcher. -- View this message in context: http://old.nabble.com/Can-I-add-more-than-one-email-address-to-a-user--%28within-user-configuration%29-tp26656255p26657032.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From hesco at campaignfoundations.com Sat Dec 5 15:03:16 2009 From: hesco at campaignfoundations.com (Hugh Esco) Date: Sat, 5 Dec 2009 15:03:16 -0500 Subject: [rt-users] How to permit user to change their own password ??? Message-ID: <20091205150316.e493c75b.hesco@campaignfoundations.com> I have found references in the documentation for earlier versions to a 'ModifySelf' privilege, which does not seem to be available in the current version of RT. I also found this: http://wiki.bestpractical.com/view/PasswordReminder which advocates a number of modifications to the stock install. Is this ability not built into RT yet? For the installation of immediate concern, I'm running version 3.8.6 downloaded only a week or two ago. -- Hugh Esco http://www.CampaignFoundations.com/ if( $insurance->rationing() ) { $people->die(); } From eliezer.chavez at gmail.com Sat Dec 5 18:16:01 2009 From: eliezer.chavez at gmail.com (=?ISO-8859-1?Q?Eliezer_E_Ch=E1vez?=) Date: Sat, 5 Dec 2009 18:46:01 -0430 Subject: [rt-users] How to permit user to change their own password ??? In-Reply-To: <20091205150316.e493c75b.hesco@campaignfoundations.com> References: <20091205150316.e493c75b.hesco@campaignfoundations.com> Message-ID: <66d635aa0912051516p38de599ckc1d7fabbb691abbe@mail.gmail.com> ModifySelf y Global Privileges... Regards, EC On Sat, Dec 5, 2009 at 3:33 PM, Hugh Esco wrote: > I have found references in the documentation for earlier versions to a > 'ModifySelf' privilege, which does not seem to be available in the > current version of RT. > > I also found this: > http://wiki.bestpractical.com/view/PasswordReminder > > which advocates a number of modifications to the stock install. > > Is this ability not built into RT yet? For the installation of > immediate concern, I'm running version 3.8.6 downloaded only a week or > two ago. > > -- > Hugh Esco > http://www.CampaignFoundations.com/ > > if( $insurance->rationing() ) { $people->die(); } > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.hobley at mionegroup.com Sun Dec 6 02:43:05 2009 From: david.hobley at mionegroup.com (David Hobley) Date: Sun, 6 Dec 2009 17:43:05 +1000 (EST) Subject: [rt-users] Migrating from RT MySQL to PostgreSQL In-Reply-To: <20780711.203.1260085377783.JavaMail.root@mail.onegrp.com> Message-ID: <26641799.206.1260085385099.JavaMail.root@mail.onegrp.com> ----- Original Message ----- From: "Emmanuel Lacour" To: rt-users at lists.bestpractical.com Sent: Friday, 27 November, 2009 3:22:53 AM Subject: Re: [rt-users] Migrating from RT MySQL to PostgreSQL On Thu, Nov 26, 2009 at 05:07:20PM +0100, Nehmer Torben wrote: > Hello together, > > has anybody ever migrated RT from MySQL to PostgreSQL? Are there any scripts available to accomplish this? > you can start here: http://wiki.bestpractical.com/view/MySQLToPg :) I did it with a slightly modified script to handle some encoding problems we had with our MySQL DB. ----- Original Message End ----- We have been trying to do this using this page, but we have never managed to get the binary attachments across successfully. If you have any luck with this, we are definitely interested in hearing about it. Cheers, David -------------- next part -------------- An HTML attachment was scrubbed... URL: From aaron at guise.net.nz Sun Dec 6 05:12:56 2009 From: aaron at guise.net.nz (Aaron Guise) Date: Sun, 6 Dec 2009 23:12:56 +1300 Subject: [rt-users] Help reverting RT 3.8.6 back to displaying username instead of RealName Message-ID: Hi, Just updated to RT 3.8.6, all looks well but on rt 3.8.0 all users were listed in select box and transaction history as username i.e aguise for myself. RT 3.8.6 is displaying the full name (Aaron Guise) . Our users are so used to the old format and they really want it back. Can someone point me to the file in which I can amend this? I found this snippet in RT_Config.pm and basically I need to find the procedure is so I can alter it to get the username instead. Any help would be greatly appreciated. =item C<$UsernameFormat> This determines how user info is displayed. 'concise' will show one of either NickName, RealName, Name or EmailAddress, depending on what exists and whether the user is privileged or not. 'verbose' will show RealName and EmailAddress. =cut Set($UsernameFormat, 'concise'); -- Regards, Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: From elacour at easter-eggs.com Sun Dec 6 11:21:52 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Sun, 6 Dec 2009 17:21:52 +0100 Subject: [rt-users] Migrating from RT MySQL to PostgreSQL In-Reply-To: <26641799.206.1260085385099.JavaMail.root@mail.onegrp.com> References: <20780711.203.1260085377783.JavaMail.root@mail.onegrp.com> <26641799.206.1260085385099.JavaMail.root@mail.onegrp.com> Message-ID: <20091206162152.GA4507@easter-eggs.com> On Sun, Dec 06, 2009 at 05:43:05PM +1000, David Hobley wrote: > > We have been trying to do this using this page, but we have never > managed to get the binary attachments across successfully. If you have > any luck with this, we are definitely interested in hearing about it. > attached the version I used to migrate our DB without any loss ... test it ;) From elacour at easter-eggs.com Sun Dec 6 11:24:38 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Sun, 6 Dec 2009 17:24:38 +0100 Subject: [rt-users] Migrating from RT MySQL to PostgreSQL In-Reply-To: <20091206162152.GA4507@easter-eggs.com> References: <20780711.203.1260085377783.JavaMail.root@mail.onegrp.com> <26641799.206.1260085385099.JavaMail.root@mail.onegrp.com> <20091206162152.GA4507@easter-eggs.com> Message-ID: <20091206162438.GB4507@easter-eggs.com> On Sun, Dec 06, 2009 at 05:21:52PM +0100, Emmanuel Lacour wrote: > On Sun, Dec 06, 2009 at 05:43:05PM +1000, David Hobley wrote: > > > > We have been trying to do this using this page, but we have never > > managed to get the binary attachments across successfully. If you have > > any luck with this, we are definitely interested in hearing about it. > > > > > attached the version I used to migrate our DB without any loss ... test > it ;) > attached to _this_ message ... -------------- next part -------------- A non-text attachment was scrubbed... Name: mysql2pg.pl Type: text/x-perl Size: 8699 bytes Desc: not available URL: From dave at goodchoice.it Sun Dec 6 13:14:29 2009 From: dave at goodchoice.it (David Lane) Date: Sun, 6 Dec 2009 17:14:29 -0100 Subject: [rt-users] Change Simple search behavour to include all tickets content by default as well as closed tickets Message-ID: I realise this will be sloooowww but i did it before with 3.6 and want to do it again Google is being very unkind to me today and the archives are not helping either I think my previous fix was ugly but I don't have access to the info - and the new search tool will change whats required too The wiki makes mention of various ways to include resolved tickets but is silent on the content search So to summarise I want the default behaviour to do Any content (fulltext) of any ticket of any status Thanks Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From elacour at easter-eggs.com Sun Dec 6 14:25:39 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Sun, 6 Dec 2009 20:25:39 +0100 Subject: [rt-users] Change Simple search behavour to include all tickets content by default as well as closed tickets In-Reply-To: References: Message-ID: <20091206192539.GD4507@easter-eggs.com> On Sun, Dec 06, 2009 at 05:14:29PM -0100, David Lane wrote: > I realise this will be sloooowww but i did it before with 3.6 and want to > do it again > > Google is being very unkind to me today and the archives are not helping > either > > I think my previous fix was ugly but I don't have access to the info - and > the new search tool will change whats required too > > The wiki makes mention of various ways to include resolved tickets but is > silent on the content search > > So to summarise I want the default behaviour to do > > Any content (fulltext) of any ticket of any status > you have to modify the method "QueryToSQL" in lib/RT/Search/Googleish.pm for this. From praveen.velu at hotmail.com Mon Dec 7 01:07:09 2009 From: praveen.velu at hotmail.com (Praveen C) Date: Mon, 7 Dec 2009 11:37:09 +0530 Subject: [rt-users] Hyperlink in RT not working Message-ID: Hi, I am not able to add hyperlink using RT web interface. If I add a hyperlink using FCK editor, at the receiving end I am not able to see any hyperlinks. I am getting a plain text mail without any hyperlinks. I have installed RT 3.8 in Debian lenny Looking for your help Thanks in advance.. -Pravin- _________________________________________________________________ New Windows 7: Simplify what you do everyday. Find the right PC for you. http://windows.microsoft.com/shop -------------- next part -------------- An HTML attachment was scrubbed... URL: From bertignac at gmail.com Mon Dec 7 01:41:01 2009 From: bertignac at gmail.com (L B) Date: Mon, 7 Dec 2009 07:41:01 +0100 Subject: [rt-users] Grant access to tickets to a group of people when created by one of them Message-ID: Hello, I need to grant access to 10 different users (each one has his RT account) to any ticket opened by one of them. They just want to have access, not to receive emails, so adding them as admincc or requestor in a scrip is not sufficient. Any idea regarding the best way to implement this ? Many thanks ! -- L.B. From ktm at rice.edu Mon Dec 7 09:25:11 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Mon, 7 Dec 2009 08:25:11 -0600 Subject: [rt-users] Help reverting RT 3.8.6 back to displaying username instead of RealName In-Reply-To: References: Message-ID: <20091207142511.GQ3237@it.is.rice.edu> On Sun, Dec 06, 2009 at 11:12:56PM +1300, Aaron Guise wrote: > Hi, > > Just updated to RT 3.8.6, all looks well but on rt 3.8.0 all users were > listed in select box and transaction history as username i.e aguise for > myself. RT 3.8.6 is displaying the full name (Aaron Guise) . Our users > are so used to the old format and they really want it back. Can someone > point me to the file in which I can amend this? I found this snippet in > RT_Config.pm and basically I need to find the procedure is so I can alter it > to get the username instead. > > Any help would be greatly appreciated. > > =item C<$UsernameFormat> > > This determines how user info is displayed. 'concise' will show one of > either NickName, RealName, Name or EmailAddress, depending on what exists > and whether the user is privileged or not. 'verbose' will show RealName and > EmailAddress. > > =cut > > Set($UsernameFormat, 'concise'); > > > -- > Regards, > > Aaron Hi Aaron, We had the same problem here. It was a bit odd that the old format is not one of the options. Here are the changes we made for 3.8.5 that will probably work in 3.8.6 as well: cp RTHOME/share/html/Elements/ShowUser -> local/html/Element/ShowUser Patch as follows: --- share/html/Elements/ShowUser 2009-10-13 12:24:43.000000000 -0500 +++ local/html/Elements/ShowUser 2009-10-27 10:13:58.000000000 -0500 @@ -60,6 +60,9 @@ if ( $style eq 'concise' ) { $m->comp( '/Elements/ShowUserConcise', User => $User ); } +elsif ( $style eq 'old' ) { + $m->comp( '/Elements/ShowUserOld', User => $User ); +} else { $m->comp( '/Elements/ShowUserVerbose', User => $User ); } <%ARGS> and here is ShowUserOld: ------------------------ <%INIT> if ($User) { my $printable; if ( $User->EmailAddress && $User->EmailAddress ne $User->Name ) { $printable = $User->Name . ' <' . $User->EmailAddress .'>'; } else { $printable = $User->Name || $User->EmailAddress || $User->RealName || $User->NickName; } $m->out( $m->interp->apply_escapes( $printable, 'h' ) ); } <%ARGS> $User => undef $Address => undef ------------------------ > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From falcone at bestpractical.com Mon Dec 7 10:48:52 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 7 Dec 2009 10:48:52 -0500 Subject: [rt-users] Only showing a certain custom field when another custom field has a certain value selected In-Reply-To: <4B196FBC.5090603@123.net> References: <4B196FBC.5090603@123.net> Message-ID: <20091207154852.GE910@jibsheet.com> On Fri, Dec 04, 2009 at 03:23:24PM -0500, Kyle McKinley wrote: > I realize this is an open ended question here. I'm looking for a way to > hide custom fields until necessitated by the choice of a value in > another custom field. Is their a way to do this with Scrips or do I > need to dig into the config files? Or is this some capability that > hierarchal custom fields will provide when I upgrade at some point? So > what I'm really getting at, is should I just wait till I upgrade. Thanks! Hierarchical Custom Fields just allow you to change the options available in Custom Field B based on your selection in Custom Field A. Hiding or showing CFs based on selection values would require custom hacking. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From falcone at bestpractical.com Mon Dec 7 10:56:39 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 7 Dec 2009 10:56:39 -0500 Subject: [rt-users] Can I add more than one email address to a user? (within user configuration) In-Reply-To: <26656255.post@talk.nabble.com> References: <26656255.post@talk.nabble.com> Message-ID: <20091207155639.GF910@jibsheet.com> On Sat, Dec 05, 2009 at 06:48:20AM -0800, John David Chapman wrote: > > Lets assume I have set up user Joe Bloggs. > > I added joe.bloggs1 at example.com; joe.bloggs2 at example.com as the email with > user configuration. > > However, RT only ever notifies joe.bloggs1 at example.com You can't do this. You can have two users and use RT-Extension-MergeUsers to merge the two and have RT look up the secondary address to find the primary user. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From rifaqat051 at gmail.com Mon Dec 7 11:23:37 2009 From: rifaqat051 at gmail.com (rifaqat zaheer) Date: Mon, 7 Dec 2009 21:23:37 +0500 Subject: [rt-users] Innovation in RT Message-ID: Respected sir! I completed the Project of generating an email when an error comes in a switches and router using RT software. Now I want something new in RT . There is scholarships program of RT software and they are asking about the research proposal.Please guide me with your valuable suggestions and advice about innovation in RT software, what I can do extra customization in RT software so that based on it I can write my research proposal.I need small research proposal in order to get some idea.Sir kindly help me in this situation. I shall be very thankful YOURS Obediently Rifaqat Zaheer -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesse at bestpractical.com Mon Dec 7 11:35:21 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Mon, 7 Dec 2009 11:35:21 -0500 Subject: [rt-users] Innovation in RT In-Reply-To: References: Message-ID: <20091207163521.GU32347@bestpractical.com> On Mon, Dec 07, 2009 at 09:23:37PM +0500, rifaqat zaheer wrote: > Respected sir! > > I completed the Project of generating an > email when an error comes in a switches and router using RT software. Now I > want something new in RT . There is scholarships program of RT software and > they are asking about the research proposal.Please guide me with your > valuable suggestions and advice about innovation in RT software, what I can > do extra customization in RT software so that based on it I can write my > research proposal.I need small research proposal in order to get some > idea.Sir kindly help me in this situation. > I shall be very thankful Rifaqat, Do they actually mean Request Tracker or are you perhaps looking at Real-Time software? Best, Jesse > > YOURS Obediently > Rifaqat Zaheer > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com -- From andy at andymillar.co.uk Mon Dec 7 11:48:11 2009 From: andy at andymillar.co.uk (Andy Millar) Date: Mon, 07 Dec 2009 16:48:11 +0000 Subject: [rt-users] Innovation in RT In-Reply-To: References: Message-ID: <1260204491.9585.73.camel@millaralpt> On Mon, 2009-12-07 at 21:23 +0500, rifaqat zaheer wrote: > Respected sir! ... I'm also confused as to why I've received this mail off-list as well. The mail has come from the same name and a different email address. Andy From kfcrocker at lbl.gov Mon Dec 7 11:51:56 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Mon, 07 Dec 2009 08:51:56 -0800 Subject: [rt-users] Grant access to tickets to a group of people when created by one of them In-Reply-To: References: Message-ID: <4B1D32AC.2000701@lbl.gov> LB, There is alot of info you're not giving us. Like, when you say "open", does that mean they are "owners"? To "open" a ticket, you must change the status and therefore they have the "ModifyTicket" right. In most installations I've seen, they only allow the "owner" to Modify a ticket because it keeps users from changing things on a ticket without others knowing, so your workflow info is important. Also, are all these tickets in the same Queue? Another thing, what notification scrips are there at the Global/Queue level? Kenn LBNL On 12/6/2009 10:41 PM, L B wrote: > Hello, > > I need to grant access to 10 different users (each one has his RT > account) to any ticket opened by one of them. They just want to have > access, not to receive emails, so adding them as admincc or requestor > in a scrip is not sufficient. > > Any idea regarding the best way to implement this ? > > Many thanks ! > From allen at crystalfontz.com Mon Dec 7 13:05:15 2009 From: allen at crystalfontz.com (Allen Lee) Date: Mon, 7 Dec 2009 10:05:15 -0800 Subject: [rt-users] Change Simple search behavour to include all tickets content by default as well as closed tickets Message-ID: <885d981e0912071005u2371bc50j51ba86ac4f6ff53@mail.gmail.com> If you try making the search tool always search Content, you will run into these problems: http://www.gossamer-threads.com/lists/rt/users/85894 (combines incorrectly with email addresses) http://rt3.fsck.com/Ticket/Display.html?id=13775 (multiple Content conditions always use AND instead of OR) A From rfh at vialtus.com Mon Dec 7 13:18:37 2009 From: rfh at vialtus.com (Raed El-Hames) Date: Mon, 07 Dec 2009 18:18:37 +0000 Subject: [rt-users] RT response time Message-ID: <4B1D46FD.604@vialtus.com> Hi; Versions 3.6.4 and 3.8.5 apache2,mod_perl2 and mysql5 Have anyone done any kind of monitoring / profiling of RT response time, ie measure the time it takes to display a ticket / (or create a ticket but possibly doing this every 5/10 minutes wont be desirable) Can anyone recommend any software (preferably open source) that can do that? -- *Roy El-hames * ISP Systems *Vialtus** Solutions* Direct Dial: +44(0) 208 587 6181 E-mail: rfh at vialtus.com Visit us on: www.vialtus.com This email is subject to: http://www.vialtus.com/disclaimer.html From torsten.brumm at Kuehne-Nagel.com Mon Dec 7 15:17:11 2009 From: torsten.brumm at Kuehne-Nagel.com (Brumm, Torsten / Kuehne + Nagel / Ham MI-ID) Date: Mon, 7 Dec 2009 21:17:11 +0100 Subject: [rt-users] RT response time Message-ID: <16426EA38D57E74CB1DE5A6AE1DB0394F935CB@w3hamboex11.ger.win.int.kn> Ho raed, Some of my users created a vb scrip (fuckinbg crap) doing something like this. Sent it to you tomorrow! Torsten ----- Originalnachricht ----- Von: rt-users-bounces at lists.bestpractical.com An: RT Users Gesendet: Mon Dec 07 19:18:37 2009 Betreff: [rt-users] RT response time Hi; Versions 3.6.4 and 3.8.5 apache2,mod_perl2 and mysql5 Have anyone done any kind of monitoring / profiling of RT response time, ie measure the time it takes to display a ticket / (or create a ticket but possibly doing this every 5/10 minutes wont be desirable) Can anyone recommend any software (preferably open source) that can do that? -- *Roy El-hames * ISP Systems *Vialtus** Solutions* Direct Dial: +44(0) 208 587 6181 E-mail: rfh at vialtus.com Visit us on: www.vialtus.com This email is subject to: http://www.vialtus.com/disclaimer.html Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius (Stellv.), Reiner Heiken (Stellv.), Bruno Mang, Alfred Manke, Christian Marnett? (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From aaron at guise.net.nz Mon Dec 7 15:21:33 2009 From: aaron at guise.net.nz (Aaron Guise) Date: Tue, 8 Dec 2009 09:21:33 +1300 Subject: [rt-users] Help reverting RT 3.8.6 back to displaying username instead of RealName In-Reply-To: <20091207142511.GQ3237@it.is.rice.edu> References: <20091207142511.GQ3237@it.is.rice.edu> Message-ID: Thanks Ken, I have patched the files as recommended, I will let you know how we get on. Just waiting for the scheduled automatic restart of apache tonight. * Regards,* *Aaron Guise 07 838 7793 027 212 6638 aaron at guise.net.nz * MSN: guisea at hotmail.com Contact Me [image: Facebook] On Tue, Dec 8, 2009 at 3:25 AM, Kenneth Marshall wrote: > On Sun, Dec 06, 2009 at 11:12:56PM +1300, Aaron Guise wrote: > > Hi, > > > > Just updated to RT 3.8.6, all looks well but on rt 3.8.0 all users were > > listed in select box and transaction history as username i.e aguise for > > myself. RT 3.8.6 is displaying the full name (Aaron Guise) . Our users > > are so used to the old format and they really want it back. Can someone > > point me to the file in which I can amend this? I found this snippet in > > RT_Config.pm and basically I need to find the procedure is so I can alter > it > > to get the username instead. > > > > Any help would be greatly appreciated. > > > > =item C<$UsernameFormat> > > > > This determines how user info is displayed. 'concise' will show one of > > either NickName, RealName, Name or EmailAddress, depending on what exists > > and whether the user is privileged or not. 'verbose' will show RealName > and > > EmailAddress. > > > > =cut > > > > Set($UsernameFormat, 'concise'); > > > > > > -- > > Regards, > > > > Aaron > > Hi Aaron, > > We had the same problem here. It was a bit odd that the old format > is not one of the options. Here are the changes we made for 3.8.5 > that will probably work in 3.8.6 as well: > > cp RTHOME/share/html/Elements/ShowUser -> local/html/Element/ShowUser > > Patch as follows: > > --- share/html/Elements/ShowUser 2009-10-13 12:24:43.000000000 -0500 > +++ local/html/Elements/ShowUser 2009-10-27 10:13:58.000000000 -0500 > @@ -60,6 +60,9 @@ > if ( $style eq 'concise' ) { > $m->comp( '/Elements/ShowUserConcise', User => $User ); > } > +elsif ( $style eq 'old' ) { > + $m->comp( '/Elements/ShowUserOld', User => $User ); > +} > else { $m->comp( '/Elements/ShowUserVerbose', User => $User ); } > > <%ARGS> > > and here is ShowUserOld: > > ------------------------ > <%INIT> > if ($User) { > my $printable; > if ( $User->EmailAddress && $User->EmailAddress ne $User->Name ) { > $printable = $User->Name . ' <' . $User->EmailAddress .'>'; > } > else { > $printable = $User->Name > || $User->EmailAddress > || $User->RealName > || $User->NickName; > } > $m->out( $m->interp->apply_escapes( $printable, 'h' ) ); > } > > > <%ARGS> > $User => undef > $Address => undef > > ------------------------ > > _______________________________________________ > > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > > > Community help: http://wiki.bestpractical.com > > Commercial support: sales at bestpractical.com > > > > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > > Buy a copy at http://rtbook.bestpractical.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sub at berkers.nu Mon Dec 7 15:26:04 2009 From: sub at berkers.nu (SB) Date: Mon, 07 Dec 2009 21:26:04 +0100 Subject: [rt-users] requestors filling up the owner dropdownbox Message-ID: <4B1D64DC.40708@berkers.nu> Hi, I just started using RT 3.8.6 and i noticed that my ticket owner dropdown box is clogging up I expected only the staff members to be in that list but now every customer dat creates a ticket ends up in this list How do i stop that from happening ? & How do i clean that mess up? Thanks Leon Berkers From brhodes87 at gmail.com Mon Dec 7 15:44:11 2009 From: brhodes87 at gmail.com (Bryan Rhodes) Date: Mon, 7 Dec 2009 14:44:11 -0600 Subject: [rt-users] RSS Message-ID: <97b8bd0b0912071244u355cdcd8n6f28615369be918a@mail.gmail.com> Hi, I have a question about the RSS that RT is outputting. I open the queue that I would like to follow with my RSS reader (liferea), but it is not a valid feed. I have the XML::RSS perl module installed, if that helps. Here is what I am receiving when I click the RSS link: Test: Search Owner = 'Nobody' AND ( Status = 'new' OR Status = 'open') http://rt.mydomain.local/ 1901-01-01T00:00+00:00 1 hourly Update the filter on rt.account at mydomain.com http://rt.mydomain.local/Ticket/Display.html?id=1000018 In addition to the currently filtered items, please filter out mail from the following addresses: raid@*digest at redcondor.com John Doe Mon, 7 Dec 2009 19:25:08 +0000 Filter voicemail emails out of rt.account at mydomain.com http://rt.mydomain.local/Ticket/Display.html?id=1000013 Create an account to have Support Voicemails go to so that they are not sent to support. Billy Joe Mon, 7 Dec 2009 17:36:42 +0000 Thanks, Bryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From kfcrocker at lbl.gov Mon Dec 7 16:30:23 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Mon, 07 Dec 2009 13:30:23 -0800 Subject: [rt-users] requestors filling up the owner dropdownbox In-Reply-To: <4B1D64DC.40708@berkers.nu> References: <4B1D64DC.40708@berkers.nu> Message-ID: <4B1D73EF.1030601@lbl.gov> SB, Sounds like there is a Privilege setting that is doing one or more of the following: Globally defaulting a requestor as the ticket owner Granting a variety of these Privileges ( "ModifyTicket, "OwnTicket", TakeTicket") to WAY more users than you want, either globally or in a queue to all privileged users, etc. Stuff like that. If a User can Take/Own a ticket, then they are possible selections as a ticket owner. Hope this helps. Kenn LBNL On 12/7/2009 12:26 PM, SB wrote: > Hi, > > I just started using RT 3.8.6 and i noticed that my ticket owner > dropdown box is clogging up > I expected only the staff members to be in that list but now every > customer dat creates a ticket ends up in this list > How do i stop that from happening ? & How do i clean that mess up? > > Thanks > > Leon Berkers > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > From aaron at guise.net.nz Mon Dec 7 16:44:28 2009 From: aaron at guise.net.nz (Aaron Guise) Date: Tue, 8 Dec 2009 10:44:28 +1300 Subject: [rt-users] Shrunken comments in Ticket History, Message-ID: Hi Everyone, Just completed our upgrade to 3.8.6 on Sunday evening here. Unfortunately we have a case of shrinking comments/replies in the ticket history display. This is a bit of a head scratcher. This is normal txt displaying. [image: ?ui=2&view=att&th=1256b16f9fbee494&attid=0.1&disp=attd&realattid=ii_1256b16f9fbee494&zw] Then we have comments/actions just below it like this* [image: ?ui=2&view=att&th=1256b1867f76cddb&attid=0.1&disp=attd&realattid=ii_1256b1867f76cddb&zw] *This all comes from one ticket. Does anybody have an idea on what is causing the ever shrinking txt. My users are all thinking they need glasses if this carries on. * Regards,* *Aaron Guise 07 838 7793 027 212 6638 aaron at guise.net.nz * MSN: guisea at hotmail.com Contact Me [image: Facebook] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ShrunkTxt.png Type: image/png Size: 27348 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: NormalTxt.png Type: image/png Size: 42256 bytes Desc: not available URL: From nesius at gmail.com Mon Dec 7 18:45:37 2009 From: nesius at gmail.com (Robert Nesius) Date: Mon, 7 Dec 2009 17:45:37 -0600 Subject: [rt-users] ToDo example in 3.8 Message-ID: I decided to give the ToDo example a try under RT 3.8.6. I've successfully made a ScripAction that assigns the scrip to the submitter on creation - yay. However, I haven't found a combination of rights that allows the submitter to actually "close the ticket". Before pounding my head on this any further, I'm suspicious that perhaps unprivileged users are not allowed to modify tickets even if they've been given the right... so just wanted to sanity check things before debugging further. The same set of rights given to privileged users does allow privileged users to close the ticket... -Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: From msnyder at carpathiahost.com Mon Dec 7 22:48:33 2009 From: msnyder at carpathiahost.com (Mathew Snyder) Date: Mon, 07 Dec 2009 22:48:33 -0500 Subject: [rt-users] DBIx::SearchBuilder Errors Message-ID: <4B1DCC91.3090706@carpathiahost.com> Trying to get a development server going using v3.6.5. The idea being that I install that, port over a relatively recent backup of the database and then upgrade to v3.8.6. Everything is installed: mysql, apache, postfix, mod_perl, RT and all the necessary modules. The database is created properly and to ensure it I logged in with the rt user/pass. Apache starts up with no errors. The problem I'm having is with the dreaded Internal Server Error message that I'm getting. Looking at the rt_error log that is being generated I'm seeing: [Mon Dec 07 22:00:27 2009] [error] [client 192.168.4.208] Unable to load DBIx::SearchBuilder database handle for 'mysql'.\nPerhaps you've picked an invalid database type or spelled it incorrectly.\nCan't locate DBIx/SearchBuilder/Handle/mysql.pm in @INC (@INC contains: /opt/rt3/local/lib /opt/rt3/lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at (eval 242) line 1.\nBEGIN failed--compilation aborted at (eval 242) line 1.\nCompilation failed in require at /opt/rt3/lib/RT.pm line 216.\n I've verified that DBIx::SearchBuilder::mysql resides at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm I've also verified that RT_SiteConfig.pm holds the proper DB name, DB user/pass and has been configured with our org. name. So what might the problem be? The module is there, the servers are configured. I'm at a loss. -Mathew From matthew.seaman at thebunker.net Tue Dec 8 01:52:11 2009 From: matthew.seaman at thebunker.net (Matthew Seaman) Date: Tue, 08 Dec 2009 06:52:11 +0000 Subject: [rt-users] RT response time In-Reply-To: <4B1D46FD.604@vialtus.com> References: <4B1D46FD.604@vialtus.com> Message-ID: <4B1DF79B.9080005@thebunker.net> Raed El-Hames wrote: > Versions 3.6.4 and 3.8.5 > apache2,mod_perl2 and mysql5 > > Have anyone done any kind of monitoring / profiling of RT response time, > ie measure the time it takes to display a ticket / (or create a ticket > but possibly doing this every 5/10 minutes wont be desirable) > Can anyone recommend any software (preferably open source) that can do > that? If you modify the apache log format, you can get it to include the amount of time it spends to serve each page. Something like this: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %D" (See http://httpd.apache.org/docs/2.2/mod/mod_log_config.html) %D is the time in microseconds it takes to serve the request. There's also %T, but that's measured in integer numbers of seconds, so it's almost always 0 for any reasonably good web-server. %D is to some extent determined by how fast the web clients can receive the data, but this should not be rate limiting unless you have particularly old and slow client machines or people accessing the site through dial-up connections. AFAIK most weblog analysis software doesn't deal with the time taken to serve a request, because that data isn't included in the standard log file formats. However, writing a small perl script to calculate statistics for each of the different queries (%r in the format) should be fairly trivial to do. Cheers, Matthew -- Dr Matthew Seaman The Bunker, Ash Radar Station PGP: 0x60AE908C on servers Marshborough Rd Tel: +44 1304 814890 Sandwich Fax: +44 1304 814899 Kent, CT13 0PL, UK -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature URL: From matthew.seaman at thebunker.net Tue Dec 8 02:00:18 2009 From: matthew.seaman at thebunker.net (Matthew Seaman) Date: Tue, 08 Dec 2009 07:00:18 +0000 Subject: [rt-users] RT response time In-Reply-To: <4B1DF79B.9080005@thebunker.net> References: <4B1D46FD.604@vialtus.com> <4B1DF79B.9080005@thebunker.net> Message-ID: <4B1DF982.4020903@thebunker.net> Matthew Seaman wrote: > Raed El-Hames wrote: > >> Versions 3.6.4 and 3.8.5 >> apache2,mod_perl2 and mysql5 >> >> Have anyone done any kind of monitoring / profiling of RT response >> time, ie measure the time it takes to display a ticket / (or create a >> ticket but possibly doing this every 5/10 minutes wont be desirable) >> Can anyone recommend any software (preferably open source) that can do >> that? > > If you modify the apache log format, you can get it to include the amount > of time it spends to serve each page. Something like this: > > LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %D" > > (See http://httpd.apache.org/docs/2.2/mod/mod_log_config.html) > > %D is the time in microseconds it takes to serve the request. There's also > %T, but that's measured in integer numbers of seconds, so it's almost > always > 0 for any reasonably good web-server. %D is to some extent determined by > how fast the web clients can receive the data, but this should not be > rate limiting unless you have particularly old and slow client machines > or people accessing the site through dial-up connections. > > AFAIK most weblog analysis software doesn't deal with the time taken to > serve > a request, because that data isn't included in the standard log file > formats. > However, writing a small perl script to calculate statistics for each of > the different queries (%r in the format) should be fairly trivial to do. > Another approach is to use the Firebug extension to Firefox -- this gives you a detailed breakdown of the time it takes to display a web page (including all of the sub-requests for images etc.) http://getfirebug.com/ Only shows you timings for one page at a time though, and needs to be run interactively. Cheers, Matthew -- Dr Matthew Seaman The Bunker, Ash Radar Station PGP: 0x60AE908C on servers Marshborough Rd Tel: +44 1304 814890 Sandwich Fax: +44 1304 814899 Kent, CT13 0PL, UK -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature URL: From torsten.brumm at Kuehne-Nagel.com Tue Dec 8 02:23:11 2009 From: torsten.brumm at Kuehne-Nagel.com (Brumm, Torsten / Kuehne + Nagel / Ham MI-ID) Date: Tue, 8 Dec 2009 08:23:11 +0100 Subject: [rt-users] RT response time In-Reply-To: <4B1D46FD.604@vialtus.com> References: <4B1D46FD.604@vialtus.com> Message-ID: <16426EA38D57E74CB1DE5A6AE1DB03940270AD94@w3hamboex11.ger.win.int.kn> Hi Raed, find attached vbs script. let me explain how it works. It opens IE, logging in as user (credentials you find in password file) and opening the homepage, opening a queue and a ticket, then does a ticket update (comment) and returns back to homepage. this is done every few seconds from begining. All counted times are stored in a newly created xls file. Pls have a closer look into the vbs, this is created for our setup, i think you have to change something: Line 179: 'Erster Schritt: Start RT bis zum Login Schirm RTloginURL="http://ticket.int.kn/" Line 254: .navigate("http://ticket.int.kn/Search/Results.html?Order=ASC&Query=Queue%20%3D%20'PERFORMANCETEST'%20AND%20(Status%20%3D%20'open'%20OR%20Status%20%3D%20'new'%20OR%20Status%20%3D%20'stalled'%20OR%20Status%20%3D%20'pending'%20OR%20Status%20%3D%20'accepted'%20OR%20Status%20%3D%20'implement'%20OR%20Status%20%3D%20'approved'%20OR%20Status%20%3D%20'verified'%20OR%20Status%20%3D%20'waiting'%20OR%20Status%20%3D%20'testing'%20OR%20Status%20%3D%20'delivered'%20OR%20Status%20%3D%20'develop')&Rows=&OrderBy=id&Page=1&Format=") Change this to your test queue Line 275: .navigate("http://ticket.int.kn/") Line 296: Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius (Stellv.), Reiner Heiken (Stellv.), Bruno Mang, Alfred Manke, Christian Marnett? (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne -----Urspruengliche Nachricht----- Von: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von Raed El-Hames Gesendet: Montag, 7. Dezember 2009 19:19 An: RT Users Betreff: [rt-users] RT response time Hi; Versions 3.6.4 and 3.8.5 apache2,mod_perl2 and mysql5 Have anyone done any kind of monitoring / profiling of RT response time, ie measure the time it takes to display a ticket / (or create a ticket but possibly doing this every 5/10 minutes wont be desirable) Can anyone recommend any software (preferably open source) that can do that? -- *Roy El-hames * ISP Systems *Vialtus** Solutions* Direct Dial: +44(0) 208 587 6181 E-mail: rfh at vialtus.com Visit us on: www.vialtus.com This email is subject to: http://www.vialtus.com/disclaimer.html _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com From torsten.brumm at Kuehne-Nagel.com Tue Dec 8 02:25:42 2009 From: torsten.brumm at Kuehne-Nagel.com (Brumm, Torsten / Kuehne + Nagel / Ham MI-ID) Date: Tue, 8 Dec 2009 08:25:42 +0100 Subject: [rt-users] RT response time In-Reply-To: <4B1D46FD.604@vialtus.com> References: <4B1D46FD.604@vialtus.com> Message-ID: <16426EA38D57E74CB1DE5A6AE1DB03940270AD95@w3hamboex11.ger.win.int.kn> Sorry, sent to early. Line 296: Writefile.write(ReturnEventString("before comment 1756115;")+vbCr+vbLf) starttimer=Timer() .navigate("http://ticket.int.kn/Ticket/Update.html?Action=Comment&id=1756115") Line 323: .navigate("http://ticket.int.kn/NoAuth/Logout.html") This line you should all edit to cover your RT Installation. Find attached RT Pinger.zip. PS: This is not the perfect test scrip, but it works well for us. Torsten Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius (Stellv.), Reiner Heiken (Stellv.), Bruno Mang, Alfred Manke, Christian Marnett? (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne -----Urspruengliche Nachricht----- Von: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von Raed El-Hames Gesendet: Montag, 7. Dezember 2009 19:19 An: RT Users Betreff: [rt-users] RT response time Hi; Versions 3.6.4 and 3.8.5 apache2,mod_perl2 and mysql5 Have anyone done any kind of monitoring / profiling of RT response time, ie measure the time it takes to display a ticket / (or create a ticket but possibly doing this every 5/10 minutes wont be desirable) Can anyone recommend any software (preferably open source) that can do that? -- *Roy El-hames * ISP Systems *Vialtus** Solutions* Direct Dial: +44(0) 208 587 6181 E-mail: rfh at vialtus.com Visit us on: www.vialtus.com This email is subject to: http://www.vialtus.com/disclaimer.html _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- A non-text attachment was scrubbed... Name: RT Pinger.zip Type: application/x-zip-compressed Size: 5914 bytes Desc: RT Pinger.zip URL: From s.brot at tvtservices.ch Tue Dec 8 03:09:15 2009 From: s.brot at tvtservices.ch (=?iso-8859-1?Q?Brot_St=E9phane?=) Date: Tue, 8 Dec 2009 09:09:15 +0100 Subject: [rt-users] Autocreate user from body of e-mail Message-ID: <5CBD436CECE11043A6B2BF46F77A8038C66677@sie1.siesa.local> Hello, We have a support web form that send e-mails. These e-mails come always with the same 'generic' sender address. But the e-mail address of the requestor is in the body of the e-mail. I would like to manage these support requests with RT. Would it be possible to check/autocreate user according to some text of the body of the e-mail instead of the sender e-mail address ? RT is such a 'beast', I don't know where to start from. Any hint about where the 'magic' of user autocreation takes place ? Regards. Stephane From rfh at vialtus.com Tue Dec 8 05:53:24 2009 From: rfh at vialtus.com (Raed El-Hames) Date: Tue, 08 Dec 2009 10:53:24 +0000 Subject: [rt-users] RT response time In-Reply-To: <16426EA38D57E74CB1DE5A6AE1DB03940270AD94@w3hamboex11.ger.win.int.kn> References: <4B1D46FD.604@vialtus.com> <16426EA38D57E74CB1DE5A6AE1DB03940270AD94@w3hamboex11.ger.win.int.kn> Message-ID: <4B1E3024.3080700@vialtus.com> Thanks Torsten, I know little about VB , but will give it a go .. *Roy El-hames * ISP Systems *Vialtus** Solutions* Direct Dial: +44(0) 208 587 6181 E-mail: rfh at vialtus.com Visit us on: www.vialtus.com This email is subject to: http://www.vialtus.com/disclaimer.html Brumm, Torsten / Kuehne + Nagel / Ham MI-ID wrote: > Hi Raed, > find attached vbs script. let me explain how it works. > > It opens IE, logging in as user (credentials you find in password file) and opening the homepage, opening a queue and a ticket, then does a ticket update (comment) and returns back to homepage. this is done every few seconds from begining. All counted times are stored in a newly created xls file. > > > Pls have a closer look into the vbs, this is created for our setup, i think you have to change something: > > Line 179: > > 'Erster Schritt: Start RT bis zum Login Schirm > RTloginURL="http://ticket.int.kn/" > > > Line 254: > > .navigate("http://ticket.int.kn/Search/Results.html?Order=ASC&Query=Queue%20%3D%20'PERFORMANCETEST'%20AND%20(Status%20%3D%20'open'%20OR%20Status%20%3D%20'new'%20OR%20Status%20%3D%20'stalled'%20OR%20Status%20%3D%20'pending'%20OR%20Status%20%3D%20'accepted'%20OR%20Status%20%3D%20'implement'%20OR%20Status%20%3D%20'approved'%20OR%20Status%20%3D%20'verified'%20OR%20Status%20%3D%20'waiting'%20OR%20Status%20%3D%20'testing'%20OR%20Status%20%3D%20'delivered'%20OR%20Status%20%3D%20'develop')&Rows=&OrderBy=id&Page=1&Format=") > > Change this to your test queue > > Line 275: > > .navigate("http://ticket.int.kn/") > > Line 296: > > > > Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius (Stellv.), Reiner Heiken (Stellv.), Bruno Mang, Alfred Manke, Christian Marnett? (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne > > > > -----Urspruengliche Nachricht----- > Von: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von Raed El-Hames > Gesendet: Montag, 7. Dezember 2009 19:19 > An: RT Users > Betreff: [rt-users] RT response time > > Hi; > > Versions 3.6.4 and 3.8.5 > apache2,mod_perl2 and mysql5 > > Have anyone done any kind of monitoring / profiling of RT response time, ie measure the time it takes to display a ticket / (or create a ticket but possibly doing this every 5/10 minutes wont be desirable) Can anyone recommend any software (preferably open source) that can do that? > > From rfh at vialtus.com Tue Dec 8 06:22:39 2009 From: rfh at vialtus.com (Raed El-Hames) Date: Tue, 08 Dec 2009 11:22:39 +0000 Subject: [rt-users] RT response time In-Reply-To: <4B1DF982.4020903@thebunker.net> References: <4B1D46FD.604@vialtus.com> <4B1DF79B.9080005@thebunker.net> <4B1DF982.4020903@thebunker.net> Message-ID: <4B1E36FF.9080809@vialtus.com> Thanks Matthew, I use Firebug during the development but for my purposes I would need something robotic collecting and stating in the back ground, although some its suggestions/recommendations is not always useful. I have considered/ing the web logs, and using 'rt_base_time', but both these are server responses (which logically should be all I need), however the powers above me (and to a certain extent have a good point), suggests that the server time is a fraction of the time it takes to display a page and I have tested on a DualCore 2.6 GH with 2G ram running windows xp no applications except using IE7 pulling an average ticket with 9 updates -no attachments and few ticket custom fields , the rt_base_time was ~ 1.5 seconds however it took around 8 seconds for the page to display .. This done few times at different time of the day, the link between my client and the rt server is Gig link .. Does anyone else see this slowness? Roy Matthew Seaman wrote: > Matthew Seaman wrote: >> Raed El-Hames wrote: >> >>> Versions 3.6.4 and 3.8.5 >>> apache2,mod_perl2 and mysql5 >>> >>> Have anyone done any kind of monitoring / profiling of RT response >>> time, ie measure the time it takes to display a ticket / (or create >>> a ticket but possibly doing this every 5/10 minutes wont be desirable) >>> Can anyone recommend any software (preferably open source) that can >>> do that? >> >> If you modify the apache log format, you can get it to include the >> amount >> of time it spends to serve each page. Something like this: >> >> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" >> \"%{User-Agent}i\" %D" >> >> (See http://httpd.apache.org/docs/2.2/mod/mod_log_config.html) >> >> %D is the time in microseconds it takes to serve the request. >> There's also >> %T, but that's measured in integer numbers of seconds, so it's almost >> always >> 0 for any reasonably good web-server. %D is to some extent >> determined by >> how fast the web clients can receive the data, but this should not be >> rate limiting unless you have particularly old and slow client >> machines or people accessing the site through dial-up connections. >> >> AFAIK most weblog analysis software doesn't deal with the time taken >> to serve >> a request, because that data isn't included in the standard log file >> formats. >> However, writing a small perl script to calculate statistics for each >> of the different queries (%r in the format) should be fairly trivial >> to do. >> > > Another approach is to use the Firebug extension to Firefox -- this > gives you a detailed breakdown of the time it takes to display a web > page (including all of the sub-requests for images etc.) > > http://getfirebug.com/ > > Only shows you timings for one page at a time though, and needs to be > run interactively. > > Cheers, > > Matthew > From falcone at bestpractical.com Tue Dec 8 11:12:13 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 8 Dec 2009 11:12:13 -0500 Subject: [rt-users] Autocreate user from body of e-mail In-Reply-To: <5CBD436CECE11043A6B2BF46F77A8038C66677@sie1.siesa.local> References: <5CBD436CECE11043A6B2BF46F77A8038C66677@sie1.siesa.local> Message-ID: <20091208161213.GG910@jibsheet.com> On Tue, Dec 08, 2009 at 09:09:15AM +0100, Brot St?phane wrote: > Hello, > > We have a support web form that send e-mails. These e-mails come always with the same 'generic' sender address. But the e-mail address of the requestor is in the body of the e-mail. I would like to manage these support requests with RT. > > Would it be possible to check/autocreate user according to some text of the body of the e-mail instead of the sender e-mail address ? > > RT is such a 'beast', I don't know where to start from. Any hint about where the 'magic' of user autocreation takes place ? You can use RT-Extension-ExtractCustomFieldValues to match the real email address and then load the user and make them the requestor of the ticket. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From rifaqat051 at gmail.com Tue Dec 8 13:02:30 2009 From: rifaqat051 at gmail.com (rifaqat zaheer) Date: Tue, 8 Dec 2009 23:02:30 +0500 Subject: [rt-users] RT-Users Digest, Vol 69, Issue 18 In-Reply-To: References: Message-ID: Help me,Its quite urgent On Mon, Dec 7, 2009 at 9:48 PM, wrote: > Send RT-Users mailing list submissions to > rt-users at lists.bestpractical.com > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > or, via email, send a message with subject or body 'help' to > rt-users-request at lists.bestpractical.com > > You can reach the person managing the list at > rt-users-owner at lists.bestpractical.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of RT-Users digest..." > > > Today's Topics: > > 1. Change Simple search behavour to include all tickets content > by default as well as closed tickets (David Lane) > 2. Re: Change Simple search behavour to include all tickets > content by default as well as closed tickets (Emmanuel Lacour) > 3. Hyperlink in RT not working (Praveen C) > 4. Grant access to tickets to a group of people when created by > one of them (L B) > 5. Re: Help reverting RT 3.8.6 back to displaying username > instead of RealName (Kenneth Marshall) > 6. Re: Only showing a certain custom field when another custom > field has a certain value selected (Kevin Falcone) > 7. Re: Can I add more than one email address to a user? (within > user configuration) (Kevin Falcone) > 8. Innovation in RT (rifaqat zaheer) > 9. Re: Innovation in RT (Jesse Vincent) > 10. Re: Innovation in RT (Andy Millar) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 6 Dec 2009 17:14:29 -0100 > From: David Lane > Subject: [rt-users] Change Simple search behavour to include all > tickets content by default as well as closed tickets > To: rt-users at lists.bestpractical.com > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > I realise this will be sloooowww but i did it before with 3.6 and want to > do it again > > Google is being very unkind to me today and the archives are not helping > either > > I think my previous fix was ugly but I don't have access to the info - and > the new search tool will change whats required too > > The wiki makes mention of various ways to include resolved tickets but is > silent on the content search > > So to summarise I want the default behaviour to do > > Any content (fulltext) of any ticket of any status > > Thanks > > Dave > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.bestpractical.com/pipermail/rt-users/attachments/20091206/ffaf34ac/attachment-0001.htm > > ------------------------------ > > Message: 2 > Date: Sun, 6 Dec 2009 20:25:39 +0100 > From: Emmanuel Lacour > Subject: Re: [rt-users] Change Simple search behavour to include all > tickets content by default as well as closed tickets > To: rt-users at lists.bestpractical.com > Message-ID: <20091206192539.GD4507 at easter-eggs.com> > Content-Type: text/plain; charset=us-ascii > > On Sun, Dec 06, 2009 at 05:14:29PM -0100, David Lane wrote: > > I realise this will be sloooowww but i did it before with 3.6 and want > to > > do it again > > > > Google is being very unkind to me today and the archives are not helping > > either > > > > I think my previous fix was ugly but I don't have access to the info - > and > > the new search tool will change whats required too > > > > The wiki makes mention of various ways to include resolved tickets but is > > silent on the content search > > > > So to summarise I want the default behaviour to do > > > > Any content (fulltext) of any ticket of any status > > > > > you have to modify the method "QueryToSQL" in lib/RT/Search/Googleish.pm > for this. > > > > > ------------------------------ > > Message: 3 > Date: Mon, 7 Dec 2009 11:37:09 +0530 > From: Praveen C > Subject: [rt-users] Hyperlink in RT not working > To: > Message-ID: > Content-Type: text/plain; charset="iso-8859-1" > > > Hi, > > I am not able to add hyperlink using RT web interface. If I add a hyperlink > using FCK editor, at the receiving end I am not able to see any hyperlinks. > I am getting a plain text mail without any hyperlinks. I have installed RT > 3.8 in Debian lenny > > Looking for your help > > Thanks in advance.. > > -Pravin- > > _________________________________________________________________ > New Windows 7: Simplify what you do everyday. Find the right PC for you. > http://windows.microsoft.com/shop > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.bestpractical.com/pipermail/rt-users/attachments/20091207/8a2961fa/attachment-0001.htm > > ------------------------------ > > Message: 4 > Date: Mon, 7 Dec 2009 07:41:01 +0100 > From: L B > Subject: [rt-users] Grant access to tickets to a group of people when > created by one of them > To: rt-users > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Hello, > > I need to grant access to 10 different users (each one has his RT > account) to any ticket opened by one of them. They just want to have > access, not to receive emails, so adding them as admincc or requestor > in a scrip is not sufficient. > > Any idea regarding the best way to implement this ? > > Many thanks ! > -- > L.B. > > > ------------------------------ > > Message: 5 > Date: Mon, 7 Dec 2009 08:25:11 -0600 > From: Kenneth Marshall > Subject: Re: [rt-users] Help reverting RT 3.8.6 back to displaying > username instead of RealName > To: Aaron Guise > Cc: rt-users at lists.bestpractical.com > Message-ID: <20091207142511.GQ3237 at it.is.rice.edu> > Content-Type: text/plain; charset=us-ascii > > On Sun, Dec 06, 2009 at 11:12:56PM +1300, Aaron Guise wrote: > > Hi, > > > > Just updated to RT 3.8.6, all looks well but on rt 3.8.0 all users were > > listed in select box and transaction history as username i.e aguise for > > myself. RT 3.8.6 is displaying the full name (Aaron Guise) . Our users > > are so used to the old format and they really want it back. Can someone > > point me to the file in which I can amend this? I found this snippet in > > RT_Config.pm and basically I need to find the procedure is so I can alter > it > > to get the username instead. > > > > Any help would be greatly appreciated. > > > > =item C<$UsernameFormat> > > > > This determines how user info is displayed. 'concise' will show one of > > either NickName, RealName, Name or EmailAddress, depending on what exists > > and whether the user is privileged or not. 'verbose' will show RealName > and > > EmailAddress. > > > > =cut > > > > Set($UsernameFormat, 'concise'); > > > > > > -- > > Regards, > > > > Aaron > > Hi Aaron, > > We had the same problem here. It was a bit odd that the old format > is not one of the options. Here are the changes we made for 3.8.5 > that will probably work in 3.8.6 as well: > > cp RTHOME/share/html/Elements/ShowUser -> local/html/Element/ShowUser > > Patch as follows: > > --- share/html/Elements/ShowUser 2009-10-13 12:24:43.000000000 -0500 > +++ local/html/Elements/ShowUser 2009-10-27 10:13:58.000000000 -0500 > @@ -60,6 +60,9 @@ > if ( $style eq 'concise' ) { > $m->comp( '/Elements/ShowUserConcise', User => $User ); > } > +elsif ( $style eq 'old' ) { > + $m->comp( '/Elements/ShowUserOld', User => $User ); > +} > else { $m->comp( '/Elements/ShowUserVerbose', User => $User ); } > > <%ARGS> > > and here is ShowUserOld: > > ------------------------ > <%INIT> > if ($User) { > my $printable; > if ( $User->EmailAddress && $User->EmailAddress ne $User->Name ) { > $printable = $User->Name . ' <' . $User->EmailAddress .'>'; > } > else { > $printable = $User->Name > || $User->EmailAddress > || $User->RealName > || $User->NickName; > } > $m->out( $m->interp->apply_escapes( $printable, 'h' ) ); > } > > > <%ARGS> > $User => undef > $Address => undef > > ------------------------ > > _______________________________________________ > > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > > > Community help: http://wiki.bestpractical.com > > Commercial support: sales at bestpractical.com > > > > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > > Buy a copy at http://rtbook.bestpractical.com > > > ------------------------------ > > Message: 6 > Date: Mon, 7 Dec 2009 10:48:52 -0500 > From: Kevin Falcone > Subject: Re: [rt-users] Only showing a certain custom field when > another custom field has a certain value selected > To: rt-users at lists.bestpractical.com > Message-ID: <20091207154852.GE910 at jibsheet.com> > Content-Type: text/plain; charset="us-ascii" > > On Fri, Dec 04, 2009 at 03:23:24PM -0500, Kyle McKinley wrote: > > I realize this is an open ended question here. I'm looking for a way to > > hide custom fields until necessitated by the choice of a value in > > another custom field. Is their a way to do this with Scrips or do I > > need to dig into the config files? Or is this some capability that > > hierarchal custom fields will provide when I upgrade at some point? So > > what I'm really getting at, is should I just wait till I upgrade. > Thanks! > > Hierarchical Custom Fields just allow you to change the options > available in Custom Field B based on your selection in Custom Field A. > > Hiding or showing CFs based on selection values would require custom > hacking. > > -kevin > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: not available > Type: application/pgp-signature > Size: 195 bytes > Desc: not available > Url : > http://lists.bestpractical.com/pipermail/rt-users/attachments/20091207/b7aefe7d/attachment-0001.pgp > > ------------------------------ > > Message: 7 > Date: Mon, 7 Dec 2009 10:56:39 -0500 > From: Kevin Falcone > Subject: Re: [rt-users] Can I add more than one email address to a > user? (within user configuration) > To: rt-users at lists.bestpractical.com > Message-ID: <20091207155639.GF910 at jibsheet.com> > Content-Type: text/plain; charset="us-ascii" > > On Sat, Dec 05, 2009 at 06:48:20AM -0800, John David Chapman wrote: > > > > Lets assume I have set up user Joe Bloggs. > > > > I added joe.bloggs1 at example.com; joe.bloggs2 at example.com as the email > with > > user configuration. > > > > However, RT only ever notifies joe.bloggs1 at example.com > > You can't do this. > > You can have two users and use RT-Extension-MergeUsers to merge the > two and have RT look up the secondary address to find the primary > user. > > -kevin > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: not available > Type: application/pgp-signature > Size: 195 bytes > Desc: not available > Url : > http://lists.bestpractical.com/pipermail/rt-users/attachments/20091207/017faed7/attachment-0001.pgp > > ------------------------------ > > Message: 8 > Date: Mon, 7 Dec 2009 21:23:37 +0500 > From: rifaqat zaheer > Subject: [rt-users] Innovation in RT > To: rt-users at lists.bestpractical.com > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > Respected sir! > > I completed the Project of generating an > email when an error comes in a switches and router using RT software. Now I > want something new in RT . There is scholarships program of RT software and > they are asking about the research proposal.Please guide me with your > valuable suggestions and advice about innovation in RT software, what I can > do extra customization in RT software so that based on it I can write my > research proposal.I need small research proposal in order to get some > idea.Sir kindly help me in this situation. > I shall be very thankful > > > > YOURS Obediently > Rifaqat Zaheer > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.bestpractical.com/pipermail/rt-users/attachments/20091207/fa1545aa/attachment-0001.htm > > ------------------------------ > > Message: 9 > Date: Mon, 7 Dec 2009 11:35:21 -0500 > From: Jesse Vincent > Subject: Re: [rt-users] Innovation in RT > To: rifaqat zaheer > Cc: rt-users at lists.bestpractical.com > Message-ID: <20091207163521.GU32347 at bestpractical.com> > Content-Type: text/plain; charset=us-ascii > > > > > On Mon, Dec 07, 2009 at 09:23:37PM +0500, rifaqat zaheer wrote: > > Respected sir! > > > > I completed the Project of generating an > > email when an error comes in a switches and router using RT software. Now > I > > want something new in RT . There is scholarships program of RT software > and > > they are asking about the research proposal.Please guide me with your > > valuable suggestions and advice about innovation in RT software, what I > can > > do extra customization in RT software so that based on it I can write my > > research proposal.I need small research proposal in order to get some > > idea.Sir kindly help me in this situation. > > I shall be very thankful > > Rifaqat, > > > Do they actually mean Request Tracker or are you perhaps looking at > Real-Time software? > > Best, > Jesse > > > > > > > YOURS Obediently > > Rifaqat Zaheer > > > _______________________________________________ > > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > > > Community help: http://wiki.bestpractical.com > > Commercial support: sales at bestpractical.com > > > > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > > Buy a copy at http://rtbook.bestpractical.com > > -- > > > ------------------------------ > > Message: 10 > Date: Mon, 07 Dec 2009 16:48:11 +0000 > From: Andy Millar > Subject: Re: [rt-users] Innovation in RT > To: rt-users at lists.bestpractical.com > Message-ID: <1260204491.9585.73.camel at millaralpt> > Content-Type: text/plain > > On Mon, 2009-12-07 at 21:23 +0500, rifaqat zaheer wrote: > > Respected sir! > ... > > I'm also confused as to why I've received this mail off-list as well. > > The mail has come from the same name and a different email address. > > Andy > > > ------------------------------ > > _______________________________________________ > RT-Users mailing list > RT-Users at lists.bestpractical.com > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > > End of RT-Users Digest, Vol 69, Issue 18 > **************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpierce at cambridgeenergyalliance.org Tue Dec 8 16:34:31 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 8 Dec 2009 16:34:31 -0500 Subject: [rt-users] missing peoples problem Message-ID: Shredder overzealously wiped some information a few months back when I was cleaning out spam, and I'm just now discovering a very odd problem. I have a ticket whose requestor was in an odd state. Search results and the ticket display page showed no requestor, but the people page listed the requestor correctly. I removed the requestor in the hopes that adding him back would fix things, but this requestor does not show up when I search for him by name, email or id. I tried creating another user to use as the requestor, but this user also does not show up when searching, althouh plenty of other valid matches do. I've since gone back, found the removed entries from Principals & (Cached)GroupMembers to no avail. Any ideas what might be wrong and how to fix it? -- Cambridge Energy Alliance: Save money. Save the planet. From kfcrocker at lbl.gov Tue Dec 8 16:58:04 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Tue, 08 Dec 2009 13:58:04 -0800 Subject: [rt-users] missing peoples problem In-Reply-To: References: Message-ID: <4B1ECBEC.5070700@lbl.gov> Jerrad, I suspect that the ticket history for any tickets with these users as requestors will error out. This has happened to me before. I can show you how to fix it, but I will need some info. First, get the UserID for each of these missing Requestors. Once we have those, we will have to run a series of SQL commands to find out just who is missing and what tickets are affected, including closed tickets. I hope you are familiar with SQL. What Database are you using? We're on Oracle, but the sequence of events should still be the same. Kenn LBNL On 12/8/2009 1:34 PM, Jerrad Pierce wrote: > Shredder overzealously wiped some information a few months back when I > was cleaning > out spam, and I'm just now discovering a very odd problem. I have a > ticket whose requestor > was in an odd state. Search results and the ticket display page showed > no requestor, > but the people page listed the requestor correctly. I removed the > requestor in the hopes > that adding him back would fix things, but this requestor does not > show up when I search > for him by name, email or id. I tried creating another user to use as > the requestor, but > this user also does not show up when searching, althouh plenty of > other valid matches > do. > > I've since gone back, found the removed entries from Principals & > (Cached)GroupMembers > to no avail. > > Any ideas what might be wrong and how to fix it? > From jledford at biltmore.com Tue Dec 8 17:00:34 2009 From: jledford at biltmore.com (Jason Ledford) Date: Tue, 8 Dec 2009 17:00:34 -0500 Subject: [rt-users] More About Permissions Message-ID: <435CB3214F92FD4E8E5CEEB86A20440240F902C712@MAILBOX.tbcnet.biltmore.com> I am trying to configure a new RT install and trying to find all the info I can, this part is eluding me though. I want me privledged users to be able to open a ticket, and click the more about link so they can get info like phone numbers and such. It seems like the only way I can enable those permissions is to enable global rights for AdminUsers and ShowConfigTab. I don't really want all these users to be able to modify users and I don't want them to see the config tab. What I am I missing for enabling these permissions, or is there another way to get what I want, maybe create a local version of the /ticket/display.html page that removes that restriction? Thanks for your help -------------- next part -------------- An HTML attachment was scrubbed... URL: From kfcrocker at lbl.gov Tue Dec 8 17:16:28 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Tue, 08 Dec 2009 14:16:28 -0800 Subject: [rt-users] More About Permissions In-Reply-To: <435CB3214F92FD4E8E5CEEB86A20440240F902C712@MAILBOX.tbcnet.biltmore.com> References: <435CB3214F92FD4E8E5CEEB86A20440240F902C712@MAILBOX.tbcnet.biltmore.com> Message-ID: <4B1ED03C.7010202@lbl.gov> Jason, Have you considered creating a Ticket Custom Field that is updated with the phone number when the ticket is created? That way, a User can be given the "SeeCustomField" right as part of the "Privileged" group and they won't be able to change tickets or anything. Kenn LBNL On 12/8/2009 2:00 PM, Jason Ledford wrote: > I am trying to configure a new RT install and trying to find all the > info I can, this part is eluding me though. > > I want me privledged users to be able to open a ticket, and click the > more about link so they can get info like phone numbers and > such. > > It seems like the only way I can enable those permissions is to enable > global rights for AdminUsers and ShowConfigTab. I don't really want > all these users to be able to modify users and I don't want them to > see the config tab. What I am I missing for enabling these > permissions, or is there another way to get what I want, maybe create > a local version of the /ticket/display.html page that removes that > restriction? > > Thanks for your help > > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpierce at cambridgeenergyalliance.org Tue Dec 8 17:22:01 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 8 Dec 2009 17:22:01 -0500 Subject: [rt-users] missing peoples problem In-Reply-To: <4B1ECBEC.5070700@lbl.gov> References: <4B1ECBEC.5070700@lbl.gov> Message-ID: > I suspect that the ticket history for any tickets with these users as > requestors will error out. This has happened to me before. I can show you > how to fix it, but I will need some info. Nope, we actually have several tickets in that state, where part way through the display of transaction history RT croaks. This ticket displays fine, though it (now) has "no requestor," and I cannot find the requestor via the search form on the modify people page, nor the admin user search form. However the original requesting user exists, and can be loaded in the modify user page if the correct id is specified in the URL, or via Shredder's search results. > First, get the UserID for each of these missing Requestors. Once we have > those, we will have to run a series of SQL commands to find out just who is > missing and what tickets are affected, including closed tickets. I hope you > are familiar with SQL. What Database are you using? We're on Oracle, > but the sequence of events should still be the same. It might be worth posting this Shredder recovery as a how-to to the wiki. Additional details: mysqlcheck reports no errors, and there is nothing of consequence in the logs. We recently upgraded from 3.8.1 to 3.8.6, and I did perform the database upgrades. I'm not sure if the problem existed before the switch, but it seems doubtful given the frequency of the activity (spreadsheet dumping) that lead me to uncover this. None of our local customizations seem likely candidates to be interfering with this, especially on such a limited basis: local/lib/RT/Transaction_Local.pm -- recognize VCF is text local/lib/RT/CustomFields_Local.pm -- simplified code, switch sort order local/lib/RT/Interface/Email/Filter/SpamAssassin.pm local/lib/RT/Interface/Email_Local.pm -- tag parser with Q in ticket ID local/lib/RT/Interface/Web_Local.pm -- long life cookies local/lib/RT/Shredder/Plugin/Users.pm -- search on other fields: real, name local/lib/RT/Shredder/Plugin/Attachments.pm -- minimum file size From jpierce at cambridgeenergyalliance.org Tue Dec 8 17:29:24 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 8 Dec 2009 17:29:24 -0500 Subject: [rt-users] More About Permissions In-Reply-To: <435CB3214F92FD4E8E5CEEB86A20440240F902C712@MAILBOX.tbcnet.biltmore.com> References: <435CB3214F92FD4E8E5CEEB86A20440240F902C712@MAILBOX.tbcnet.biltmore.com> Message-ID: > It seems like the only way I can enable those permissions is to enable > global rights for AdminUsers and ShowConfigTab.? I don?t really want all > these users to be able to modify users and I don?t want them to see the > config tab.? What I am I missing for enabling these permissions, or is there > another way to get what I want, maybe create a local version of the > /ticket/display.html page that removes that restriction? You could do that, or modify the people box to display the information in question directly. Custom fields seem like a poor fit, given the existing abilities in this area, and the likelihood of information falling out of sync. My solution has been to give the privileged users this right, and apply the patch below, which restricts more egregious user twiddling (password, privileged and creation) to the super user, but you could switch that to a custom access right. --- share/html/Admin/Users/Modify.html 2009-10-23 11:32:21.000000000 -0400 +++ local/html/Admin/Users/Modify.html 2009-11-29 20:42:29.000000000 -0500 @@ -105,6 +105,7 @@
+% if( $session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'SuperUser') ){ <&| /Widgets/TitleBox, title => loc('Access control') &> /> @@ -134,6 +135,7 @@ % } +% } % $m->callback( %ARGS, CallbackName => 'LeftColumnBottom', UserObj => $UserObj ); @@ -198,7 +200,7 @@
-<&|/l&>Pager: +<&|/l&>Fax:
@@ -255,6 +257,8 @@ my ($val, $msg); +delete(@ARGS{qw/Priveleged Disabled Pass1 Pass2/}) unless( $session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'SuperUser') ); + if ($Create) { $current_tab = 'Admin/Users/Modify.html?Create=1'; $title = loc("Create a new user"); -- Cambridge Energy Alliance: Save money. Save the planet. From falcone at bestpractical.com Tue Dec 8 17:32:07 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 8 Dec 2009 17:32:07 -0500 Subject: [rt-users] More About Permissions In-Reply-To: <435CB3214F92FD4E8E5CEEB86A20440240F902C712@MAILBOX.tbcnet.biltmore.com> References: <435CB3214F92FD4E8E5CEEB86A20440240F902C712@MAILBOX.tbcnet.biltmore.com> Message-ID: <20091208223207.GH910@jibsheet.com> On Tue, Dec 08, 2009 at 05:00:34PM -0500, Jason Ledford wrote: > I am trying to configure a new RT install and trying to find all the info I can, this part is > eluding me though. > > I want me privledged users to be able to open a ticket, and click the more about > link so they can get info like phone numbers and such. > > It seems like the only way I can enable those permissions is to enable global rights for > AdminUsers and ShowConfigTab. I don't really want all these users to be able to modify users > and I don't want them to see the config tab. What I am I missing for enabling these > permissions, or is there another way to get what I want, maybe create a local version of the > /ticket/display.html page that removes that restriction? You can use the AboutThisUser callback on ShowRequestor to print extra user information. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From jpierce at cambridgeenergyalliance.org Tue Dec 8 17:33:07 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 8 Dec 2009 17:33:07 -0500 Subject: [rt-users] More About Permissions In-Reply-To: References: <435CB3214F92FD4E8E5CEEB86A20440240F902C712@MAILBOX.tbcnet.biltmore.com> Message-ID: Sorry, chunk @@ -198,7 +200,7 @@ is a separate customization, where we rename the not so useful for us 'Pager' field to 'Fax' From mahini at apple.com Tue Dec 8 17:35:54 2009 From: mahini at apple.com (Behzad Mahini) Date: Tue, 8 Dec 2009 14:35:54 -0800 Subject: [rt-users] User could not be created: Could not set user info Message-ID: <08227A01-8F86-4B2E-AB93-814B1509D6DF@apple.com> I am sharing an issue I encountered with RT (3.8.4), for which there were no documented solutions, or the recommended solutions were not applicable . Hoping this will save others some time & frustration. Details: =========== Using RT's UI, I was no longer able to create a user at all. Additionally, individuals without an RT user account were not able to send an email to a Queue (emails were getting bounced back). Even though all privileges were set properly for 'Everyone', and 'Privileged' users. Note that at the same time, all existing users were able to use RT without any issues (through both the UI & mail gateway) At the UI level, I was getting the following message: "User could not be created: Could not set user info" ..and if anyone (with no RT account) was attempting to send an email to RT, the following were getting logged: /var/log/system.log file: ----------------------------------- Dec 7 09:03:55 my_server RT[99170]: User creation failed in mailgateway: Could not set user info (../lib/RT/Interface/Email.pm:244) Dec 7 09:03:55 my_server RT[99170]: Couldn't load user 'user at example.com '.giving up (../lib/RT/Interface/Email.pm:805) Dec 7 09:03:55 my_server RT[99170]: User 'user at example.com' could not be loaded in the mail gateway (../lib/RT/Interface/Email.pm:244) Dec 7 09:03:55 my_server RT[99170]: RT could not load a valid user, and RT's configuration does not allow\nfor the creation of a new user for this email (user at example.com).\n\nYou might need to grant 'Everyone' the right 'CreateTicket' for the\nqueue MY_QUEUE. (../lib/ RT/Interface/Email.pm:244) Dec 7 09:03:55 my_server RT[99170]: RT could not load a valid user, and RT's configuration does not allow\nfor the creation of a new user for your email. (../lib/RT/Interface/Email.pm:244) Apache's error_log: --------------------------- SHELL>$ tail -f error_log [Mon Dec 7 17:03:55 2009] [warning]: Couldn't load user 'user at example.com '.giving up (../lib/RT/Interface/Email.pm:805) [Mon Dec 7 17:03:55 2009] [crit]: User 'user at example.com' could not be loaded in the mail gateway (../lib/RT/Interface/Email.pm:244) [Mon Dec 7 17:03:55 2009] [error]: RT could not load a valid user, and RT's configuration does not allow for the creation of a new user for this email (user at example.com). You might need to grant 'Everyone' the right 'CreateTicket' for the queue MY_QUEUE. (../lib/RT/Interface/Email.pm:244) [Mon Dec 7 17:03:55 2009] [error]: RT could not load a valid user, and RT's configuration does not allow for the creation of a new user for your email. (../lib/RT/Interface/ Email.pm:244) [Mon Dec 7 17:03:55 2009] [error]: Could not record email: Could not load a valid user (/path/to/your_RT/share/html/REST/1.0/NoAuth/mail- gateway:75) Dec 7 09:03:55 my_server RT[99170]: Could not record email: Could not load a valid user (/path/to/your_RT/share/html/REST/1.0/NoAuth/mail- gateway:75) Solution: ========== Looking at the RT_SiteConfig file, I realized I had added extension RT::Authen::ExternalAuth to the plugins, and due to project interruptions had not finished finalizing my Apache's setup for LDAP. #Set(@Plugins,(qw(RT::FM RT::IR RT::Authen::ExternalAuth))); Set(@Plugins,(qw(RT::FM RT::IR))); Removal of this extension resolved the issue. -Behzad -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Tue Dec 8 17:41:11 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 8 Dec 2009 17:41:11 -0500 Subject: [rt-users] User could not be created: Could not set user info In-Reply-To: <08227A01-8F86-4B2E-AB93-814B1509D6DF@apple.com> References: <08227A01-8F86-4B2E-AB93-814B1509D6DF@apple.com> Message-ID: <20091208224111.GI910@jibsheet.com> On Tue, Dec 08, 2009 at 02:35:54PM -0800, Behzad Mahini wrote: > I am sharing an issue I encountered with RT (3.8.4), for which there > were no documented solutions, or the recommended solutions were not > applicable . Hoping this will save others some time & frustration. You missed the AutoCreateNonExternalUsers option that RT::Authen::ExternalAuth provides. -kevin > Details: > =========== > > Using RT's UI, I was no longer able to create a user at all. > Additionally, individuals without an RT user account were not able > to send an email to a Queue (emails were getting bounced back). Even > though all privileges were set properly for 'Everyone', and > 'Privileged' users. Note that at the same time, all existing users > were able to use RT without any issues (through both the UI & mail > gateway) > > At the UI level, I was getting the following message: > > "User could not be created: Could not set user info" > > ..and if anyone (with no RT account) was attempting to send an email > to RT, the following were getting logged: > > /var/log/system.log file: > ----------------------------------- > Dec 7 09:03:55 my_server RT[99170]: User creation failed in > mailgateway: Could not set user info > (../lib/RT/Interface/Email.pm:244) > Dec 7 09:03:55 my_server RT[99170]: Couldn't load user > 'user at example.com'.giving up (../lib/RT/Interface/Email.pm:805) > Dec 7 09:03:55 my_server RT[99170]: User 'user at example.com' could > not be loaded in the mail gateway (../lib/RT/Interface/Email.pm:244) > Dec 7 09:03:55 my_server RT[99170]: RT could not load a valid user, > and RT's configuration does not allow\nfor the creation of a new > user for this email (user at example.com).\n\nYou might need to grant > 'Everyone' the right 'CreateTicket' for the\nqueue MY_QUEUE. > (../lib/RT/Interface/Email.pm:244) > Dec 7 09:03:55 my_server RT[99170]: RT could not load a valid user, > and RT's configuration does not allow\nfor the creation of a new > user for your email. (../lib/RT/Interface/Email.pm:244) > > > Apache's error_log: > --------------------------- > SHELL>$ tail -f error_log > [Mon Dec 7 17:03:55 2009] [warning]: Couldn't load user > 'user at example.com'.giving up (../lib/RT/Interface/Email.pm:805) > [Mon Dec 7 17:03:55 2009] [crit]: User 'user at example.com' could > not be loaded in the mail gateway (../lib/RT/Interface/Email.pm:244) > [Mon Dec 7 17:03:55 2009] [error]: RT could not load a valid user, > and RT's configuration does not allow > for the creation of a new user for this email (user at example.com). > > You might need to grant 'Everyone' the right 'CreateTicket' for the > queue MY_QUEUE. (../lib/RT/Interface/Email.pm:244) > [Mon Dec 7 17:03:55 2009] [error]: RT could not load a valid user, > and RT's configuration does not allow > for the creation of a new user for your email. (../lib/RT/Interface/ > Email.pm:244) > [Mon Dec 7 17:03:55 2009] [error]: Could not record email: Could > not load a valid user > (/path/to/your_RT/share/html/REST/1.0/NoAuth/mail-gateway:75) > Dec 7 09:03:55 my_server RT[99170]: Could not record email: Could > not load a valid user > (/path/to/your_RT/share/html/REST/1.0/NoAuth/mail-gateway:75) > > > Solution: > ========== > > Looking at the RT_SiteConfig file, I realized I had added extension > RT::Authen::ExternalAuth to the plugins, and due to project > interruptions had not finished finalizing my Apache's setup for > LDAP. > > #Set(@Plugins,(qw(RT::FM RT::IR RT::Authen::ExternalAuth))); > Set(@Plugins,(qw(RT::FM RT::IR))); > > Removal of this extension resolved the issue. > > -Behzad -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From jrummel at imapp.com Tue Dec 8 17:46:49 2009 From: jrummel at imapp.com (Jonathan Rummel) Date: Tue, 8 Dec 2009 14:46:49 -0800 (PST) Subject: [rt-users] Auto-creating a 'dependant' ticket On Transaction In-Reply-To: <20091203124912.D95AA19B8021@diesel.bestpractical.com> References: <26505061.post@talk.nabble.com> <20091203124912.D95AA19B8021@diesel.bestpractical.com> Message-ID: <26702202.post@talk.nabble.com> Gabriele, It works perfectly! Thanks! That's just what I needed! Do you have any idea how to refer to a Custom Field within the newly created ticket? Ex: $new_tkt->Create( Queue => "Data Analysis", Subject => $tkt->Subject, Status => 'new', CUSTOM FIELD => "VALUE", <== (what's the proper syntax here for setting the new ticket's cf value?) Requestor => $requestors, DependedOnBy => $tkt->Id); Thanks again! Jonathan Franzini, Gabriele [Nervianoms] wrote: > > Hi Jonathan, maybe the problem is this one below: > > [...] > > Requestor => $requestors, > DependedOnBy => $tkt->Id) ; <== SEMICOLON MISSING (my fault in the > first message!) > > return 1; > > Regards, > Gabriele > > > From: Jonathan Rummel > Subject: Re: [rt-users] Auto-creating a 'dependant' ticket On > Transaction > To: rt-users at lists.bestpractical.com > Message-ID: <26618452.post at talk.nabble.com> > Content-Type: text/plain; charset=UTF-8 > > > Thank you all so much! This is definitely getting me closer to what I > want. > Is there any way you could help dumb-it-down a little more for my > benefit please? And to clarify a little, I don't want this to happen On > Create, only when my CF "Progress" is changed to "Send" in a ticket that > already exists. Is the following correct (or close)? If not, could you > please make > corrections?: > > CONDITION: User Defined > ACTION: User Defined > TEMPLATE: Global Template: Blank > STAGE: TransactionCreate > > CUSTOM CONDITION: > > if ($self->TicketObj->FirstCustomFieldValue('Progress') eq 'Send') { > return 1; > } > return 0; > > > CUSTOM ACTION PREPARATION CODE: > > return 1; > > > CUSTOM ACTION CLEANUP CODE: (this is where I think I'm messing up) > > my $trans = $self->TransactionObj; > my $tkt = $self->TicketObj; > > my $requestors = [ $tkt->Requestors->MemberEmailAddresses]; > my $new_tkt = RT::Ticket->new($RT::SystemUser); my ($id, $msg) = > $new_tkt->Create( > Queue => "Data Analysis", > Subject => $tkt->Subject, > Status => 'new', > Requestor => $requestors, > DependedOnBy => $tkt->Id) > > return 1; > > I know that the Custom Condition works, but the Action doesn't seem to > be working. Any help would greatly be appreciated. Thanks again! > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > -- View this message in context: http://old.nabble.com/Auto-creating-a-%27dependant%27-ticket-On-Transaction-tp26505061p26702202.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From kfcrocker at lbl.gov Tue Dec 8 18:24:40 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Tue, 08 Dec 2009 15:24:40 -0800 Subject: [rt-users] missing peoples problem In-Reply-To: References: <4B1ECBEC.5070700@lbl.gov> Message-ID: <4B1EE038.2050100@lbl.gov> Jerrad, It looks to me as though the actual User record is missing from the USER Table. The reason the history croaks is because RT is walking thru the ticket history and there is a reference to a UserID that no longer exists. You need to look at the Transaction history to determine what is missing. This is what I have been doing: 1) Find all transactions for a ticket that might refer to a User. I use this SQL: Select * from TRANSACTIONS where OBJECTTYPE = 'RT::Ticket' and Type in ('AddWatcher', 'DelWatcher', 'Force', 'Give', 'Steal', 'Take', 'Untake'); Select * from TRANSACTIONS where OBJECTTYPE = 'RT::Ticket' and CREATOR in (61876); This will allow you to determine the UserID that is missing. Then I look for all instances for that User: Select * from TRANSACTIONS where OBJECTTYPE = 'RT::Ticket' and Type in ('AddWatcher', 'DelWatcher', 'Force', 'Give', 'Steal', 'Take', 'Untake') and NewValue in ('61876'); I also use this with "NewValue as well. Once you do this for all missing Users, you will have a list of who is missing. 2) Next, I check all the various Tables that could have references to the missing UserID: Select * from GROUPMEMBERS where MEMBERID in (61876); Select * from ACL Where ObjectType = 'RT::Queue' and PRINCIPALID in (61876); select * from CACHEDGROUPMEMBERS where MEMBERID in (61876, 61877); Select * from ATTRIBUTES where CREATOR in (61876) or OBJECTID in (61876); Select * from TICKETS where OWNER in (61876) or CREATOR in (61876) or LASTUPDATEDBY in (61876); Select * from ATTACHMENTS where CREATOR in (161876); For referencing purposes, I also look for every ticket where that User was used: Select * from GROUPS where INSTANCE = 61876; This last SQL will give an Id number based on the type of group/role. There will be a Group record for each instance of use per ticket. If that User is a Requestor and an owner, there will be 2 records one with type = "Requestor" and one with type = "owner".. Each will point to the ticket with that particular relationship. The Domain field will describe the relationship ie. "RT::Ticket-Role". Anyway, I think you get the jist of this. Once you do this for each and every missing User, you will be able to /manually modify/ these records using SQL. This is how: 1. Create a new user that will be, in fact, a replacement for the missing one. 2. Once you have created the new user, you will have a new UserID that corresponds to this new User. 3. That new UserID is what you put into all those table records that are using the OLD UserID. This has to be done manually because the old UserID is missing. So, you have to replace all the references to that OLD ID with the NEW ID. Does that make sense? Kenn LBNL On 12/8/2009 2:22 PM, Jerrad Pierce wrote: >> I suspect that the ticket history for any tickets with these users as >> requestors will error out. This has happened to me before. I can show you >> how to fix it, but I will need some info. >> > Nope, we actually have several tickets in that state, where part way through > the display of transaction history RT croaks. This ticket displays fine, though > it (now) has "no requestor," and I cannot find the requestor via the search > form on the modify people page, nor the admin user search form. However the > original requesting user exists, and can be loaded in the modify user page if > the correct id is specified in the URL, or via Shredder's search results. > > >> First, get the UserID for each of these missing Requestors. Once we have >> those, we will have to run a series of SQL commands to find out just who is >> missing and what tickets are affected, including closed tickets. I hope you >> are familiar with SQL. What Database are you using? We're on Oracle, >> but the sequence of events should still be the same. >> > It might be worth posting this Shredder recovery as a how-to to the wiki. > > Additional details: mysqlcheck reports no errors, and there is nothing of > consequence in the logs. We recently upgraded from 3.8.1 to 3.8.6, and > I did perform the database upgrades. I'm not sure if the problem existed > before the switch, but it seems doubtful given the frequency of the activity > (spreadsheet dumping) that lead me to uncover this. > > None of our local customizations seem likely candidates to be interfering > with this, especially on such a limited basis: > > local/lib/RT/Transaction_Local.pm -- recognize VCF is text > local/lib/RT/CustomFields_Local.pm -- simplified code, switch sort order > local/lib/RT/Interface/Email/Filter/SpamAssassin.pm > local/lib/RT/Interface/Email_Local.pm -- tag parser with Q in ticket ID > local/lib/RT/Interface/Web_Local.pm -- long life cookies > local/lib/RT/Shredder/Plugin/Users.pm -- search on other fields: real, name > local/lib/RT/Shredder/Plugin/Attachments.pm -- minimum file size > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andschais at gmail.com Tue Dec 8 18:29:43 2009 From: andschais at gmail.com (andschais at gmail.com) Date: Wed, 9 Dec 2009 00:29:43 +0100 Subject: [rt-users] On Correspond Action mandatory CF In-Reply-To: References: Message-ID: Hi list, I need that a supervisor can validate every correspondence between ticket owner and requestor. Can I "block" an outgoing email if a CF has no value assigned? Is there a better way to do that validation? Can I modificate "Approvals" behavior to do that? Thanks in advance. Andres. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jledford at biltmore.com Tue Dec 8 22:22:28 2009 From: jledford at biltmore.com (Jason Ledford) Date: Tue, 8 Dec 2009 22:22:28 -0500 Subject: [rt-users] More About Permissions In-Reply-To: <20091208223207.GH910@jibsheet.com> References: <435CB3214F92FD4E8E5CEEB86A20440240F902C712@MAILBOX.tbcnet.biltmore.com>, <20091208223207.GH910@jibsheet.com> Message-ID: <435CB3214F92FD4E8E5CEEB86A20440240F8ABD442@MAILBOX.tbcnet.biltmore.com> I see some references to the AboutThisUser callback in the mailing list, I can't find it on my system though. I installed RT 3.8.6 through apt in debian. This looks like the best way to do what I want, I just need nudged in the right direction. Thanks again for the help. _______________________________________ From: rt-users-bounces at lists.bestpractical.com [rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone [falcone at bestpractical.com] Sent: Tuesday, December 08, 2009 5:32 PM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] More About Permissions On Tue, Dec 08, 2009 at 05:00:34PM -0500, Jason Ledford wrote: > I am trying to configure a new RT install and trying to find all the info I can, this part is > eluding me though. > > I want me privledged users to be able to open a ticket, and click the more about > link so they can get info like phone numbers and such. > > It seems like the only way I can enable those permissions is to enable global rights for > AdminUsers and ShowConfigTab. I don't really want all these users to be able to modify users > and I don't want them to see the config tab. What I am I missing for enabling these > permissions, or is there another way to get what I want, maybe create a local version of the > /ticket/display.html page that removes that restriction? You can use the AboutThisUser callback on ShowRequestor to print extra user information. -kevin From praveen.velu at hotmail.com Tue Dec 8 23:48:43 2009 From: praveen.velu at hotmail.com (Praveen C) Date: Wed, 9 Dec 2009 10:18:43 +0530 Subject: [rt-users] Spell Checker -( Update ) Error In-Reply-To: References: Message-ID: Hi You should convert spellchecker.pl to unix compatible. You can use this command to test file type file spellchecker.pl You can use `dos2unix` utility to convert this file unix. Refer man page for more about dos2unix command Then place this file in to your cgi-bin directory. In debian it will be in /usr/lib/cgi-bin/. Check your apache configuration to find cgi-bin directory -Pravin- From: c_apotla at qualcomm.com To: praveen.velu at hotmail.com; rt-users at bestpractical.com Date: Mon, 7 Dec 2009 23:32:39 -0800 Subject: RE: [rt-users] Spell Checker -( Update ) Error Hello, I played around and was able to make all the modifications shown below. But now I see the problem as shown in the screen shot. Instead of the perl script rendering the html it just throws the raw code. One thing to note is I have given 777 permissions to the spellchecker.pl but it does not work as expected. Please help! Regards, -Ashish From: Praveen Velu [praveen.velu at hotmail.com] Sent: Saturday, November 28, 2009 12:38 PM To: Potla, Ashish Bassaliel; rt-users at bestpractical.com Subject: RE: [rt-users] Spell Checker Dear Ashish I have enabled spell checker in my server. you can follow the same steps 1. covert spellchecker.pl file to unix compatible then copy the file to Apache CGI directory 2. Configure fckconfig.js file to use spellerpages as spell checker in FCK Editor FCKConfig.SpellChecker = 'SpellerPages'; FCKConfig.SpellerPagesServerScript = '/cgi-bin/spellchecker.pl' ; // Available extension: .php .cfm .pl FCKConfig.FirefoxSpellChecker = true ; 3. Update spellchecker.pl as below my $spellercss = '/rt/NoAuth/RichText/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css';my $wordWindowSrc = '/rt/NoAuth/RichText/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js';my $aspell_cmd = '/usr/bin/aspell'; Please try this now... -Praveen- From: c_apotla at qualcomm.com To: rt-users at bestpractical.com Date: Wed, 25 Nov 2009 02:34:13 -0800 Subject: [rt-users] Spell Checker Hello, How does one enable RT Spell checker in RT 3.8.2? Thank you in advance, -Ashish Windows 7: Find the right PC for you. Learn more. _________________________________________________________________ New Windows 7: Simplify what you do everyday. Find the right PC for you. http://windows.microsoft.com/shop -------------- next part -------------- An HTML attachment was scrubbed... URL: From tdrynda at sportfocus.com Wed Dec 9 08:05:13 2009 From: tdrynda at sportfocus.com (Tom Drynda) Date: Wed, 9 Dec 2009 13:05:13 +0000 (GMT) Subject: [rt-users] Exporting a queue to CSV with transaction history ... Message-ID: <4730542.2428.1260363913719.JavaMail.root@desknow.devref.net> Hi, We're currently using RT 3.8.5 which is running under CentOS and is using MySQL. Is there a way to export a queue (or the results of a search) along with the transaction history of a ticket? I've been asked to provide a way of exporting a queue to a CSV file. Obviously this can be done quite easily using the Spreadsheet link when you do a search. But I also need at least the first history item (e.g. the bug description) of each issue to be exported too. Can anyone help? Thanks, Tom. From boxyzzy at gmail.com Wed Dec 9 09:46:39 2009 From: boxyzzy at gmail.com (boxyzzy at gmail.com) Date: Wed, 9 Dec 2009 09:46:39 -0500 Subject: [rt-users] Acknowledgment Emails Message-ID: Is there a way to disable sending acknowledgment Emails when a user is automatically added when an Email request is received? I wish to quietly open up the use of RT internally to our sys admins for extended testing and learning before publicly announcing it. This can be accomplished by adding RT as a member to a well known Email alias for requests/problems. Also, authentication is done by LDAP, so user password is not an issue. Thanks, in advance, for your help, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From boxyzzy at gmail.com Wed Dec 9 10:14:39 2009 From: boxyzzy at gmail.com (boxyzzy at gmail.com) Date: Wed, 9 Dec 2009 10:14:39 -0500 Subject: [rt-users] RT::Authen::ExternalAuth processing question Message-ID: Scenario: public_LDAP - university LDAP server dept_LDAP?? - departmental LDAP server I have RT::Authen::ExternalAuth configured to use dept_LDAP for authentication and public_LDAP for additional information via: Set($ExternalAuthPriority, [ 'dept_LDAP' ] ); Set($ExternalInfoPriority, [ 'public_LDAP' ] ); The problem/curiosity is that when authentication fails using dept_LDAP, RT::Authen::ExternalAuth still tries to retrieve additional information using public_LDAP. When authentication fails, I don't want/need additional information. This seems unnecessary. Am I missing something? Do I have RT::Authen::ExternalAuth incorrectly configured? Thanks, in advance, for your help, Mike From mike.peachey at jennic.com Wed Dec 9 10:19:05 2009 From: mike.peachey at jennic.com (Mike Peachey) Date: Wed, 09 Dec 2009 15:19:05 +0000 Subject: [rt-users] RT::Authen::ExternalAuth processing question In-Reply-To: References: Message-ID: <4B1FBFE9.4010708@jennic.com> boxyzzy at gmail.com wrote: > Scenario: > public_LDAP - university LDAP server > dept_LDAP - departmental LDAP server > > I have RT::Authen::ExternalAuth configured to use dept_LDAP for > authentication and public_LDAP for additional information via: > Set($ExternalAuthPriority, [ 'dept_LDAP' ] ); > Set($ExternalInfoPriority, [ 'public_LDAP' ] ); > > The problem/curiosity is that when authentication fails using > dept_LDAP, RT::Authen::ExternalAuth still tries to retrieve additional > information using public_LDAP. When authentication fails, I don't > want/need additional information. This seems unnecessary. > > Am I missing something? Do I have RT::Authen::ExternalAuth > incorrectly configured? It would depend on your setup as to whether it's truly necessary or not, but it does it so that certain information definitely gets updated. For example, IIRC whether the user is disabled or not is an Info thing not an Auth thing, so updating the Info is worth doing. It's not perfect and it's been a long time since I've touched it.. but if you want to change it, you know where the source is :) -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From ibrahim.harrani at gmail.com Wed Dec 9 10:21:44 2009 From: ibrahim.harrani at gmail.com (Ibrahim Harrani) Date: Wed, 9 Dec 2009 17:21:44 +0200 Subject: [rt-users] see only own tickets Message-ID: <530068a0912090721i3e373c1ei4351f62bfdf07fed@mail.gmail.com> Hi, I installed RT 3.8.4. I searched in documents etc but i could not find an answer about my following configuration: I want to create a queue for my customers about our one product support The customers will create a tickets on the same queue. But they should not see each other tickets. They must see only their created tickets. Can I do something like this in RT? Thanks. Ibrahim -------------- next part -------------- An HTML attachment was scrubbed... URL: From jledford at biltmore.com Wed Dec 9 10:32:55 2009 From: jledford at biltmore.com (Jason Ledford) Date: Wed, 9 Dec 2009 10:32:55 -0500 Subject: [rt-users] see only own tickets In-Reply-To: <530068a0912090721i3e373c1ei4351f62bfdf07fed@mail.gmail.com> References: <530068a0912090721i3e373c1ei4351f62bfdf07fed@mail.gmail.com> Message-ID: <435CB3214F92FD4E8E5CEEB86A20440240F902C7A9@MAILBOX.tbcnet.biltmore.com> Would that not be non-privileged users using the self-service module? They create their tickets and can only see tickets they have created. It's a non-privileged user so can't do much else. **I am new to this as well so I might be completely wrong** From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Ibrahim Harrani Sent: Wednesday, December 09, 2009 10:22 AM To: rt-users at lists.bestpractical.com Subject: [rt-users] see only own tickets Hi, I installed RT 3.8.4. I searched in documents etc but i could not find an answer about my following configuration: I want to create a queue for my customers about our one product support The customers will create a tickets on the same queue. But they should not see each other tickets. They must see only their created tickets. Can I do something like this in RT? Thanks. Ibrahim -------------- next part -------------- An HTML attachment was scrubbed... URL: From ktm at rice.edu Wed Dec 9 10:48:38 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Wed, 9 Dec 2009 09:48:38 -0600 Subject: [rt-users] Schema problem with RT Message-ID: <20091209154838.GN3237@it.is.rice.edu> Dear RT developers, I have been investigating a problem with the automatic account creation process. I have been getting "could not load user" errors when internal users where trying to test from their external E-mail accounts to verify functionality. The upshot of my investigation is that the schemas all define a unique index on Name in the Users table. This is doomed to fail for most people who are sending from their Gmail/Hotmail/AOL accounts instead of their internal E-mail addresses. I was under the impression that the unique identifier for RT users was the EmailAddress and not the Name. In that case, the unique index should be on EmailAddress, instead of Name or alternatively the unique index should be on a composite key such as Name+EmailAddress. Would there be a problem with making that schema change and which is the preferred direction. Regards, Ken Marshall From eje at panix.com Wed Dec 9 10:54:09 2009 From: eje at panix.com (Eleanor J. Evans [Panix Staff]) Date: Wed, 9 Dec 2009 10:54:09 -0500 Subject: [rt-users] Acknowledgment Emails In-Reply-To: References: Message-ID: <20091209155409.GA16560@panix.com> On Wed, Dec 09, 2009 at 09:46:39AM -0500, boxyzzy at gmail.com wrote: > Is there a way to disable sending acknowledgment Emails when a user is > automatically added when an Email request is received? Delete your "On Create Autorespond" scrip, then put it back when you want to autorespond. (Or edit the Autorespond template to e-mail it to yourself during the testing period. There's more than one way to do it!) -- Eleanor J. (Piglet) Evans, eje at panix.com Customer Support, (212) 741-4400 From rfh at vialtus.com Wed Dec 9 10:57:16 2009 From: rfh at vialtus.com (Raed El-Hames) Date: Wed, 09 Dec 2009 15:57:16 +0000 Subject: [rt-users] Schema problem with RT In-Reply-To: <20091209154838.GN3237@it.is.rice.edu> References: <20091209154838.GN3237@it.is.rice.edu> Message-ID: <4B1FC8DC.9020102@vialtus.com> Kenneth; Name should also be unique , else how would 'someuser' login with their password? As far as I know if a user created via email , then the Name will be the email address which should also be unique across the internet. Regards; Roy Kenneth Marshall wrote: > Dear RT developers, > > I have been investigating a problem with the automatic account > creation process. I have been getting "could not load user" > errors when internal users where trying to test from their > external E-mail accounts to verify functionality. The upshot > of my investigation is that the schemas all define a unique > index on Name in the Users table. This is doomed to fail for > most people who are sending from their Gmail/Hotmail/AOL > accounts instead of their internal E-mail addresses. > > I was under the impression that the unique identifier for > RT users was the EmailAddress and not the Name. In that > case, the unique index should be on EmailAddress, instead > of Name or alternatively the unique index should be on a > composite key such as Name+EmailAddress. > > Would there be a problem with making that schema change > and which is the preferred direction. > > Regards, > Ken Marshall > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From n.chrysandreas at albourne.com Wed Dec 9 10:59:04 2009 From: n.chrysandreas at albourne.com (n.chrysandreas at albourne.com) Date: Wed, 9 Dec 2009 15:59:04 +0000 (GMT) Subject: [rt-users] Stripping attachments for outgoing mail for specific queue In-Reply-To: <1902460896.142301260374284688.JavaMail.root@mail-nic-00.intern.albourne.com> Message-ID: <696605021.142321260374344485.JavaMail.root@mail-nic-00.intern.albourne.com> Hi, I am creating a new queue in my RT (3.8.5) system. As users will be sending a fair amount of attachments, I would like to strip the outgoing emails of these attachments in order to keep their mailbox size low. So users will still get email for any comments/correspondences but not the attachments. Is there any way that RT can strip the attachments of outgoing mail for a specific queue? Does anyone know if this is possible in any way? I was thinking maybe I can achieve this by modifying the system queue scrips (that are : "on action" Notify "someone"), but don't really know how if it is possible or how to achieve this. Thanks in advance for the help -Nik From dominic.hargreaves at oucs.ox.ac.uk Wed Dec 9 11:10:17 2009 From: dominic.hargreaves at oucs.ox.ac.uk (Dominic Hargreaves) Date: Wed, 9 Dec 2009 16:10:17 +0000 Subject: [rt-users] Stripping attachments for outgoing mail for specific queue In-Reply-To: <696605021.142321260374344485.JavaMail.root@mail-nic-00.intern.albourne.com> References: <1902460896.142301260374284688.JavaMail.root@mail-nic-00.intern.albourne.com> <696605021.142321260374344485.JavaMail.root@mail-nic-00.intern.albourne.com> Message-ID: <20091209161017.GE5816@gunboat-diplomat.oucs.ox.ac.uk> On Wed, Dec 09, 2009 at 03:59:04PM +0000, n.chrysandreas at albourne.com wrote: > I am creating a new queue in my RT (3.8.5) system. As users will be sending a fair amount of attachments, I would like to strip the outgoing emails of these attachments in order to keep their mailbox size low. So users will still get email for any comments/correspondences but not the attachments. > Is there any way that RT can strip the attachments of outgoing mail for a specific queue? > Does anyone know if this is possible in any way? > > I was thinking maybe I can achieve this by modifying the system queue scrips (that are : "on action" Notify "someone"), but don't really know how if it is possible or how to achieve this. Create per-queue templates for the Correspondence/Comment-related templates (depending on exactly which people you don't want to receive attachments) by copying the template content from the global templates of the same name, and remove the RT-Attach-Message: yes line from them. You shouldn't need to modify the scrips as long as you name the per-queue templates after the global ones, so they will automatically override them, I believe. -- Dominic Hargreaves, Systems Development and Support Team Computing Services, University of Oxford -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: From jesse at bestpractical.com Wed Dec 9 12:13:02 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Wed, 9 Dec 2009 12:13:02 -0500 Subject: [rt-users] DBIx::SearchBuilder Errors In-Reply-To: <4B1DCC91.3090706@carpathiahost.com> References: <4B1DCC91.3090706@carpathiahost.com> Message-ID: <20091209171302.GK10507@bestpractical.com> On Mon, Dec 07, 2009 at 10:48:33PM -0500, Mathew Snyder wrote: > Trying to get a development server going using v3.6.5. The idea being > that I install that, port over a relatively recent backup of the > database and then upgrade to v3.8.6. Everything is installed: mysql, > apache, postfix, mod_perl, RT and all the necessary modules. > > The database is created properly and to ensure it I logged in with the > rt user/pass. > > Apache starts up with no errors. > > The problem I'm having is with the dreaded Internal Server Error message > that I'm getting. Looking at the rt_error log that is being generated > I'm seeing: > > [Mon Dec 07 22:00:27 2009] [error] [client 192.168.4.208] Unable to load > DBIx::SearchBuilder database handle for 'mysql'.\nPerhaps you've picked > an invalid database type or spelled it incorrectly.\nCan't locate > DBIx/SearchBuilder/Handle/mysql.pm in @INC (@INC contains: That could be permissions. It could be SELinux. It could actually be DBD::mysql. From falcone at bestpractical.com Wed Dec 9 12:52:25 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Wed, 9 Dec 2009 12:52:25 -0500 Subject: [rt-users] More About Permissions In-Reply-To: <435CB3214F92FD4E8E5CEEB86A20440240F8ABD442@MAILBOX.tbcnet.biltmore.com> References: <435CB3214F92FD4E8E5CEEB86A20440240F902C712@MAILBOX.tbcnet.biltmore.com> <20091208223207.GH910@jibsheet.com> <435CB3214F92FD4E8E5CEEB86A20440240F8ABD442@MAILBOX.tbcnet.biltmore.com> Message-ID: <20091209175225.GJ910@jibsheet.com> On Tue, Dec 08, 2009 at 10:22:28PM -0500, Jason Ledford wrote: > I see some references to the AboutThisUser callback in the mailing > list, I can't find it on my system though. I installed RT 3.8.6 > through apt in debian. This looks like the best way to do what I > want, I just need nudged in the right direction. That callback has been in ShowRequestor for a long time. You probably want to read about Overlays and Callbacks here: http://wiki.bestpractical.com/view/Customizing -kevin > _______________________________________ > From: rt-users-bounces at lists.bestpractical.com [rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone [falcone at bestpractical.com] > Sent: Tuesday, December 08, 2009 5:32 PM > To: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] More About Permissions > > On Tue, Dec 08, 2009 at 05:00:34PM -0500, Jason Ledford wrote: > > I am trying to configure a new RT install and trying to find all the info I can, this part is > > eluding me though. > > > > I want me privledged users to be able to open a ticket, and click the more about > > link so they can get info like phone numbers and such. > > > > It seems like the only way I can enable those permissions is to enable global rights for > > AdminUsers and ShowConfigTab. I don't really want all these users to be able to modify users > > and I don't want them to see the config tab. What I am I missing for enabling these > > permissions, or is there another way to get what I want, maybe create a local version of the > > /ticket/display.html page that removes that restriction? > > You can use the AboutThisUser callback on ShowRequestor to print extra > user information. > > -kevin > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From jpierce at cambridgeenergyalliance.org Wed Dec 9 12:56:55 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Wed, 9 Dec 2009 12:56:55 -0500 Subject: [rt-users] Schema problem with RT In-Reply-To: <20091209154838.GN3237@it.is.rice.edu> References: <20091209154838.GN3237@it.is.rice.edu> Message-ID: > index on Name in the Users table. This is doomed to fail for > most people who are sending from their Gmail/Hotmail/AOL > accounts instead of their internal E-mail addresses. Not at all. By default name = email address for auto-generated users. From jesse at bestpractical.com Wed Dec 9 12:58:08 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Wed, 9 Dec 2009 12:58:08 -0500 Subject: [rt-users] Shrunken comments in Ticket History, In-Reply-To: References: Message-ID: <20091209175808.GA28431@bestpractical.com> It looks like you've enabled HTML Mail display in RT. RT doesn't blow away all your font and size tags...I suspect someone used a or something. On Tue 8.Dec'09 at 10:44:28 +1300, Aaron Guise wrote: > Hi Everyone, > > Just completed our upgrade to 3.8.6 on Sunday evening here.? Unfortunately we > have a case of shrinking comments/replies in the ticket history display.?? This > is a bit of a head scratcher.?? > > This is normal txt displaying. > > ?ui=2&view=att&th=1256b16f9fbee494&attid=0.1&disp=attd&realattid= > ii_1256b16f9fbee494&zw > > Then we have comments/actions just below it like this > > ?ui=2&view=att&th=1256b1867f76cddb&attid=0.1&disp=attd&realattid= > ii_1256b1867f76cddb&zw > > This all comes from one ticket.?? Does anybody have an idea on what is causing > the ever shrinking txt.? My users are all thinking they need glasses if this > carries on. > > > > Regards, > > > Aaron Guise > > ?? 07 838 7793 > ?027 212 6638 > ?aaron at guise.net.nz > ? > [itil_logo]??[officiallo]??[ubuntu] > > ?MSN: guisea at hotmail.com > Contact Me Facebook > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From falcone at bestpractical.com Wed Dec 9 12:58:53 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Wed, 9 Dec 2009 12:58:53 -0500 Subject: [rt-users] see only own tickets In-Reply-To: <530068a0912090721i3e373c1ei4351f62bfdf07fed@mail.gmail.com> References: <530068a0912090721i3e373c1ei4351f62bfdf07fed@mail.gmail.com> Message-ID: <20091209175853.GK910@jibsheet.com> On Wed, Dec 09, 2009 at 05:21:44PM +0200, Ibrahim Harrani wrote: > I want to create a queue for my customers about our one product support > The customers will create a tickets on the same queue. But they should not see each other > tickets. They must see > only their created tickets. > > Can I do something like this in RT? Make sure ShowTicket is only granted to your internal users and Requestors, not to a broad group of users (and as someone else suggested, investigate the SelfService UI) -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From zachb at oxfordsuites.com Wed Dec 9 13:05:07 2009 From: zachb at oxfordsuites.com (Zach Boettner) Date: Wed, 9 Dec 2009 10:05:07 -0800 Subject: [rt-users] RT 3.8 VMware Appliance? Message-ID: <4D0CC20035E9408899AB1386B8911CCE@oxfhqit> Does anyone have an RT 3.8 WMware appliance I could use? Thanks, Zach Boettner Information Technology OXFORD Hotel Group 475 NE Bellevue Drive, Suite 210 Bend, Oregon 97701 Office: 541-749-1199 zachb at oxfordsuites.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Keith.Bolam at ingres.com Wed Dec 9 13:12:36 2009 From: Keith.Bolam at ingres.com (Keith Bolam) Date: Wed, 9 Dec 2009 13:12:36 -0500 Subject: [rt-users] Missing queue information on RT3 Message-ID: <21C3E073B82EFE4F8A76536D9066FE560247D3B5@USINVMAILB01.ingres.prv> Hello, I'm facing an issue where a new user is added together with a new queue by root and the user is given the required access and rights on the queue but the queue drop-down in the 'New Ticket in' and Quick ticket creation zones does not get populated. Actions taken: 1. I restarted RT - no effect 2. logged in/out of the user. Including resetting password - no effect 3. added more rights - got the queses to appear in the Quick search zone 4. added more rights and queue rights to everyone - no effect. 5. I have looked at the underlying queries and all appear to be correct. 6. I hav eenabled the 'always use SQL' config parameter - no effect. I have looked for the problem on the rt3 bug report suystem but the issue has not been seen before. Database: new port to Ingres database - everything else seems to be working well with the exception of file uploads which needs to be addressed. Can you tell me what code populates the drop-down box and where it is cached so that I can review the code and determine the problem. Note: I have been in touch with Jesse regarding this port to Ingres. regards Keith Bolam -------------- next part -------------- An HTML attachment was scrubbed... URL: From zachb at oxfordsuites.com Wed Dec 9 12:59:56 2009 From: zachb at oxfordsuites.com (Zach Boettner) Date: Wed, 9 Dec 2009 09:59:56 -0800 Subject: [rt-users] RT 3.8 VMware Appliance? Message-ID: <2D7ABB13FF214FF7AFC1B27132952908@oxfhqit> Does anyone have an RT 3.8 WMware appliance I could use? Thanks, Zach Boettner Information Technology OXFORD Hotel Group 475 NE Bellevue Drive, Suite 210 Bend, Oregon 97701 Office: 541-749-1199 zachb at oxfordsuites.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ktm at rice.edu Wed Dec 9 13:28:31 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Wed, 9 Dec 2009 12:28:31 -0600 Subject: [rt-users] UseSQLForACLChecks bug in graph/charting Message-ID: <20091209182831.GR3237@it.is.rice.edu> FYI, To any users of the UseSQLForACLChecks option, we noticed a problem with that option and the graph/chart functions in our RT 3.4.5 instance using a PostgreSQL 8.4.1 backend. If the user in question had SuperUser rights, the results from the ticket search matched the count of results in the graph/chart. For others, the numbers in the graph/chart were 4-5x those in the ticket search. Turning back off this option cleared up the discrepancy for all users. It looks like the graph/chart needs to be looked at regarding the UseSQLForACLChecks option. Regards, Ken From dgriffi at cs.csubak.edu Wed Dec 9 13:50:48 2009 From: dgriffi at cs.csubak.edu (David Griffith) Date: Wed, 9 Dec 2009 10:50:48 -0800 (PST) Subject: [rt-users] unprivileged users need to log in twice Message-ID: Debian 5.0 upgraded fixed a session fixation vulnerability on December 1, 2009 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559020). It seems that when this happened, my installation now requires unprivileged users to log in twice. At the first login, the username and password fields are cleared and nothing seems to have happened. Put in the username and password a second time and the user is logged in. Sometimes if I try to log in as an unprivileged user, get put back to the login screen, then login as a privileged user, I get logged in with diminished privileges. Would someone please tell me what's going on? Maybe now would be a good time to upgrade to 3.8? -- David Griffith dgriffi at cs.csubak.edu A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From jesse at bestpractical.com Wed Dec 9 13:56:54 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Wed, 9 Dec 2009 13:56:54 -0500 Subject: [rt-users] unprivileged users need to log in twice In-Reply-To: References: Message-ID: <20091209185653.GU10507@bestpractical.com> David, This is only the second report we've had of this failure mode, but it _is_ the second report. On Wed, Dec 09, 2009 at 10:50:48AM -0800, David Griffith wrote: > > Debian 5.0 upgraded fixed a session fixation vulnerability on December 1, > 2009 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559020). It seems > that when this happened, my installation now requires unprivileged users > to log in twice. What version of RT are you using? Have you customized it in any way? Are you using only RT's built-in authentication system? > At the first login, the username and password fields are > cleared and nothing seems to have happened. Put in the username and > password a second time and the user is logged in. Sometimes if I try to > log in as an unprivileged user, get put back to the login screen, then > login as a privileged user, I get logged in with diminished privileges. That sentence doesn't make much sense to me. Can you take another shot at it? > Would someone please tell me what's going on? Maybe now would be a good > time to upgrade to 3.8? RT 3.8 is much better than what came before, but we'd certainly not like to have broken earlier releases with a security fix. > -- > David Griffith > dgriffi at cs.csubak.edu > > A: Because it fouls the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -- From dgriffi at cs.csubak.edu Wed Dec 9 14:40:32 2009 From: dgriffi at cs.csubak.edu (David Griffith) Date: Wed, 9 Dec 2009 11:40:32 -0800 (PST) Subject: [rt-users] unprivileged users need to log in twice In-Reply-To: <20091209185653.GU10507@bestpractical.com> References: <20091209185653.GU10507@bestpractical.com> Message-ID: On Wed, 9 Dec 2009, Jesse Vincent wrote: > David, > > This is only the second report we've had of this failure mode, but it > _is_ the second report. > > On Wed, Dec 09, 2009 at 10:50:48AM -0800, David Griffith wrote: >> >> Debian 5.0 upgraded fixed a session fixation vulnerability on December 1, >> 2009 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559020). It seems >> that when this happened, my installation now requires unprivileged users >> to log in twice. > > What version of RT are you using? Have you customized it in any way? Are > you using only RT's built-in authentication system? I'm using 3.6.7 as installed through APT on Debian Lenny. Only RT's built-in authentication is being used. I haven't customized it beyond setting things in /etc/request-tracker3.6/RT_SiteConfig.pm. I haven't hacked around with the source code. >> At the first login, the username and password fields are cleared and >> nothing seems to have happened. Put in the username and password a >> second time and the user is logged in. Sometimes if I try to log in as >> an unprivileged user, get put back to the login screen, then login as a >> privileged user, I get logged in with diminished privileges. > > That sentence doesn't make much sense to me. Can you take another shot > at it? Go to http://foobar.com/rt and you see the RT login screen. Login as an unprivileged user (Alice). The username and password field will blank out. Type in Alice's username and password again, and you'll be logged in as Alice. That's the first part of the bug. The second part is when you type in the username-password the second time. If at that point you attempt to log in as a privileged user, you'll log in, but your permissions are that of an unprivileged user. >> Would someone please tell me what's going on? Maybe now would be a good >> time to upgrade to 3.8? > > RT 3.8 is much better than what came before, but we'd certainly not like > to have broken earlier releases with a security fix. Er... Yeah! I've been waiting for Debian to get a move on and put RT 3.8 in the stable repositories, but with this zinger, I don't think I can wait. It's time to install from source. -- David Griffith dgriffi at cs.csubak.edu A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From jesse at bestpractical.com Wed Dec 9 14:50:13 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Wed, 9 Dec 2009 14:50:13 -0500 Subject: [rt-users] Missing queue information on RT3 In-Reply-To: <21C3E073B82EFE4F8A76536D9066FE560247D3B5@USINVMAILB01.ingres.prv> References: <21C3E073B82EFE4F8A76536D9066FE560247D3B5@USINVMAILB01.ingres.prv> Message-ID: <20091209195012.GW10507@bestpractical.com> On Wed, Dec 09, 2009 at 01:12:36PM -0500, Keith Bolam wrote: > > Hello, > I'm facing an issue where a new user is added together with a new queue by root and the user is given the required access and rights on the queue but the queue drop-down in the 'New Ticket in' and Quick ticket creation zones does not get populated. > Database: new port to Ingres database - everything else seems to be working well with the exception of file uploads which needs to be addressed. You don't say what version of RT you're working with, but since you're talking about an experimental port of RT to Ingres that you're working on, I presume that you're working with 3.8.6 or our git 3.8-trunk. Does this work right in RT 3.8.6 on MySQL or Postgres? From kjm at 123.net Wed Dec 9 14:57:45 2009 From: kjm at 123.net (kjm123) Date: Wed, 9 Dec 2009 11:57:45 -0800 (PST) Subject: [rt-users] custom fields best practices Message-ID: <26716645.post@talk.nabble.com> Hello, I am trying to find some best practices information on custom fields and where they are applied. I currently have RT 3.8.2 running with many custom fields associated with "tickets." Can someone explain to me what the reasoning would be to associate them with say "queues, users, global, ticket transactions" and the like? I wasn't really able to dig up any info on this. Maybe someone could point me in the right direction. Thanks, Kyle McKinley 123net -- View this message in context: http://old.nabble.com/custom-fields-best-practices-tp26716645p26716645.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From falcone at bestpractical.com Wed Dec 9 15:00:39 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Wed, 9 Dec 2009 15:00:39 -0500 Subject: [rt-users] unprivileged users need to log in twice In-Reply-To: References: <20091209185653.GU10507@bestpractical.com> Message-ID: <20091209200039.GL910@jibsheet.com> On Wed, Dec 09, 2009 at 11:40:32AM -0800, David Griffith wrote: > Go to http://foobar.com/rt and you see the RT login screen. Login as an > unprivileged user (Alice). The username and password field will blank > out. Type in Alice's username and password again, and you'll be logged in > as Alice. That's the first part of the bug. What happens at http://foobar.com/rt/ vs /rt Also, what is your URL after the initial failed login? > The second part is when you > type in the username-password the second time. If at that point you > attempt to log in as a privileged user, you'll log in, but your > permissions are that of an unprivileged user. This sounds like the initial login worked enough to get you redirected to /rt/SelfService/ which would certainly make it appear that you're an unprivileged user when you then log in as Bob (the privileged user) -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From jpierce at cambridgeenergyalliance.org Wed Dec 9 15:18:52 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Wed, 9 Dec 2009 15:18:52 -0500 Subject: [rt-users] custom fields best practices In-Reply-To: <26716645.post@talk.nabble.com> References: <26716645.post@talk.nabble.com> Message-ID: >global Globals are not a type unto themselves, but a scope for the other types. This seems most useful for tickets where you want a CF to be available for most if not all of your queues (and if not all, it's presence is not a problem in the others) e.g; a Tags field. The ticket and transaction CFs can be queue-specific or global. >queues No idea. >ticket Non-transaction information e.g; custom status, reference ID for an external system (Nagios, purchase order) >transactions Track your staff's stress on a per interaction basis, or stash some value for a scrip to operate on, etc. >users Say you want to store a fax number as well as the already supported pager number, or the person's birthday, SSN (shame on you), etc. From dgriffi at cs.csubak.edu Wed Dec 9 15:26:53 2009 From: dgriffi at cs.csubak.edu (David Griffith) Date: Wed, 9 Dec 2009 12:26:53 -0800 (PST) Subject: [rt-users] unprivileged users need to log in twice In-Reply-To: <20091209200039.GL910@jibsheet.com> References: <20091209185653.GU10507@bestpractical.com> <20091209200039.GL910@jibsheet.com> Message-ID: On Wed, 9 Dec 2009, Kevin Falcone wrote: > On Wed, Dec 09, 2009 at 11:40:32AM -0800, David Griffith wrote: >> Go to http://foobar.com/rt and you see the RT login screen. Login as an >> unprivileged user (Alice). The username and password field will blank >> out. Type in Alice's username and password again, and you'll be logged in >> as Alice. That's the first part of the bug. > > What happens at http://foobar.com/rt/ vs /rt > Also, what is your URL after the initial failed login? Trailing slash makes no difference. The URL after initial failed login is http://foobar.com/rt/SelfService/ >> The second part is when you type in the username-password the second >> time. If at that point you attempt to log in as a privileged user, >> you'll log in, but your permissions are that of an unprivileged user. > > This sounds like the initial login worked enough to get you redirected > to /rt/SelfService/ which would certainly make it appear that you're > an unprivileged user when you then log in as Bob (the privileged user) I see. Any ideas of what's going on? In other news, I'm having trouble with getting 3.8.6 installed on Debian Lenny. Make testdeps keeps giving me this: SOME DEPENDENCIES WERE MISSING. FASTCGI missing dependencies: CGI >= 3.38 ...MISSING CGI version 3.38 required--this is only version 3.29 make: *** [testdeps] Error 1 I'm very keen to get this installed alongside my existing RT setup rather than replacing it and having it go kablooie. -- David Griffith dgriffi at cs.csubak.edu A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From elacour at easter-eggs.com Wed Dec 9 16:34:41 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Wed, 9 Dec 2009 22:34:41 +0100 Subject: [rt-users] custom fields best practices In-Reply-To: References: <26716645.post@talk.nabble.com> Message-ID: <20091209213441.GG4507@easter-eggs.com> On Wed, Dec 09, 2009 at 03:18:52PM -0500, Jerrad Pierce wrote: > >global > Globals are not a type unto themselves, but a scope for the other types. > This seems most useful for tickets where you want a CF to be available > for most if not all of your queues (and if not all, it's presence is not > a problem in the others) e.g; a Tags field. > > The ticket and transaction CFs can be queue-specific or global. > > >queues > No idea. > You can set some customfields on queues to add informations on them. Then you can modify the RT UI to display those informations or you can use this information in your scrips (if ticket fall in a queue with cf X = value Y, then do something). Can be very usefull in some circumstances. If you want to be able to find all tickets that are in a queue with CF x = value Y, you cannot do this with the RT search system, so one solution is to add also a customfield on tickets named x, and create a scrip that fill this customfield with value of corresponding queue customfield when a ticket is created or moved to this queue. From falcone at bestpractical.com Wed Dec 9 16:49:14 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Wed, 9 Dec 2009 16:49:14 -0500 Subject: [rt-users] unprivileged users need to log in twice In-Reply-To: References: <20091209185653.GU10507@bestpractical.com> <20091209200039.GL910@jibsheet.com> Message-ID: <20091209214914.GM910@jibsheet.com> On Wed, Dec 09, 2009 at 12:26:53PM -0800, David Griffith wrote: > On Wed, 9 Dec 2009, Kevin Falcone wrote: > > > On Wed, Dec 09, 2009 at 11:40:32AM -0800, David Griffith wrote: > >> Go to http://foobar.com/rt and you see the RT login screen. Login as an > >> unprivileged user (Alice). The username and password field will blank > >> out. Type in Alice's username and password again, and you'll be logged in > >> as Alice. That's the first part of the bug. > > > > What happens at http://foobar.com/rt/ vs /rt > > Also, what is your URL after the initial failed login? > > Trailing slash makes no difference. The URL after initial failed login is > http://foobar.com/rt/SelfService/ > > >> The second part is when you type in the username-password the second > >> time. If at that point you attempt to log in as a privileged user, > >> you'll log in, but your permissions are that of an unprivileged user. > > > > This sounds like the initial login worked enough to get you redirected > > to /rt/SelfService/ which would certainly make it appear that you're > > an unprivileged user when you then log in as Bob (the privileged user) > > I see. Any ideas of what's going on? Not without further digging, but at least we've explained the unprivileged rights issue. -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From Keith.Bolam at ingres.com Wed Dec 9 17:40:17 2009 From: Keith.Bolam at ingres.com (Keith Bolam) Date: Wed, 9 Dec 2009 17:40:17 -0500 Subject: [rt-users] Fw: Missing queue information on RT3 Message-ID: <21C3E073B82EFE4F8A76536D9066FE560316BE84@USINVMAILB01.ingres.prv> As requested by Jesse. Keith ----- Original Message ----- From: Keith Bolam To: 'jesse at bestpractical.com' Sent: Wed Dec 09 15:21:21 2009 Subject: Re: [rt-users] Missing queue information on RT3 The version is 3.8 trunk. And I have tweaked the domain of the groups to be RT: system from Userdefined and the problem went away. I added another queue and no queues were displayed for non-root users. I performed the same sql tweak and logged back in as the 'any' user and the other' user and the queues re-appeared. So the issue seams to be solely related to the group domain for non root users. Thanks for the quick response FYI - I have opened the test system to a limited number of users today and only have an upload / attach issue. To resolve. other than that everything is working well now I have made a couple of changes to core RT code and written the Ingres.pm SearchBuilder module. I have also added the last_insert_id() to the Ingres.pm DBI driver. This needs to be fed back to the community. If you van find an explanation for the missing queues that would be great. Regards Keith ----- Original Message ----- From: Jesse Vincent To: Keith Bolam Cc: rt-users at bestpractical.com Sent: Wed Dec 09 14:50:13 2009 Subject: Re: [rt-users] Missing queue information on RT3 On Wed, Dec 09, 2009 at 01:12:36PM -0500, Keith Bolam wrote: > > Hello, > I'm facing an issue where a new user is added together with a new queue by root and the user is given the required access and rights on the queue but the queue drop-down in the 'New Ticket in' and Quick ticket creation zones does not get populated. > Database: new port to Ingres database - everything else seems to be working well with the exception of file uploads which needs to be addressed. You don't say what version of RT you're working with, but since you're talking about an experimental port of RT to Ingres that you're working on, I presume that you're working with 3.8.6 or our git 3.8-trunk. Does this work right in RT 3.8.6 on MySQL or Postgres? -------------- next part -------------- An HTML attachment was scrubbed... URL: From dominic.hargreaves at oucs.ox.ac.uk Wed Dec 9 18:15:14 2009 From: dominic.hargreaves at oucs.ox.ac.uk (Dominic Hargreaves) Date: Wed, 9 Dec 2009 23:15:14 +0000 Subject: [rt-users] unprivileged users need to log in twice In-Reply-To: References: <20091209185653.GU10507@bestpractical.com> <20091209200039.GL910@jibsheet.com> <20091209185653.GU10507@bestpractical.com> Message-ID: <20091209231514.GA9905@sysdev.oucs.ox.ac.uk> On Wed, Dec 09, 2009 at 11:40:32AM -0800, David Griffith wrote: > Er... Yeah! I've been waiting for Debian to get a move on and put RT 3.8 > in the stable repositories, but with this zinger, I don't think I can > wait. It's time to install from source. Hi David, I'm the principal Debian maintainer of RT, and I'll certainly take a look at the problem when I can (may not be until tomorrow evening unfortunately). I wonder if it is the same problem as . While I'm here though, I thought I could point out a few things about general RT packaging in Debian. Debian stable's update policy is not to upload new upstream releases and we certainly wouldn't update from 3.6 to 3.8 in unstable. You can read more about this at http://www.debian.org/doc/FAQ/ch-getting.en.html#s-updatestable However... On Wed, Dec 09, 2009 at 12:26:53PM -0800, David Griffith wrote: > In other news, I'm having trouble with getting 3.8.6 installed on Debian > Lenny. Make testdeps keeps giving me this: > > SOME DEPENDENCIES WERE MISSING. > FASTCGI missing dependencies: > CGI >= 3.38 ...MISSING > CGI version 3.38 required--this is only version 3.29 > make: *** [testdeps] Error 1 > > I'm very keen to get this installed alongside my existing RT setup rather > than replacing it and having it go kablooie. ... it is not particularly hard to install RT 3.8.6 from squeeze (testing): http://pkg-request-tracker.alioth.debian.org/ http://wiki.debian.org/AptPinning and http://www.backports.org/dokuwiki/doku.php may also be useful. I have deployments of RT3.8 on both etch and lenny and will generally make sure the packages work on both. -- Dominic Hargreaves, Systems Development and Support Team Computing Services, University of Oxford -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From n.chrysandreas at albourne.com Thu Dec 10 06:35:02 2009 From: n.chrysandreas at albourne.com (Nikolas Chrysandreas) Date: Thu, 10 Dec 2009 11:35:02 +0000 (GMT) Subject: [rt-users] Stripping attachments for outgoing mail for specific queue In-Reply-To: <20091209161017.GE5816@gunboat-diplomat.oucs.ox.ac.uk> Message-ID: <538876829.145141260444902517.JavaMail.root@mail-nic-00.intern.albourne.com> Hi Dominic, I tried what you described and it works perfectly. Thanks for all the help..you saved me from hacking the code again :) >You shouldn't need to modify the scrips as long as you name the >per-queue templates after the global ones, so they will automatically >override them, I believe. You believe right..I created a "Correspondence" template in the desired queue, and removed the "RT-Attach-Message: yes" line and it indeed overrides the global one. Now when replying to a ticket in that queue on attachment is attached. Thanks again Regards Nik From fooraide at gmail.com Thu Dec 10 08:36:14 2009 From: fooraide at gmail.com (David) Date: Thu, 10 Dec 2009 08:36:14 -0500 Subject: [rt-users] Custom sort for saved searches and dashboards In-Reply-To: References: <20091203194504.GI1406@jibsheet.com> Message-ID: Does anyone have an idea ? :) Having dozens of saved searches not ordered by alphabetical order can get confusing quickly. On Thu, Dec 3, 2009 at 3:01 PM, David wrote: > Thanks for the heads up on 3.8.7, we'll hold back our upgrade since we > were expecting to upgrade to 3.8.6 shortly. > > However, that does not tell me what file I need to look at for > changing the order for Saved Searches ? > > Thanks for the advice, > > On Thu, Dec 3, 2009 at 2:45 PM, Kevin Falcone wrote: >> On Thu, Dec 03, 2009 at 02:38:57PM -0500, David wrote: >>> Hi, >>> >>> In reference to the question I had regarding customizing the way >>> dashboards are sorted, I was able to figure it out - thanks: >>> http://lists.bestpractical.com/pipermail/rt-users/2009-October/061874.html >>> >>> In fact, there was two files to modify: >>> /share/html/Dashboards/index.html (Which corresponds to "Tools" -> "Dashboards") >>> /share/html/Dashboards/Elements/ListOfDashboards (Which corresponds to >>> the "Module" you can add to your homepage or to other dashboards) >>> >>> (I think these should be editable under /local now if the patch went through..?) >> >> As Shawn mentioned, commit 0c6959ab9ad added callbacks to make them >> sortable without an overlay. ?That patch will be included in 3.8.7. >> 3.8.7rc1 is available as of yesterday. >> >> -kevin > From ISmith at prg.com Thu Dec 10 09:49:39 2009 From: ISmith at prg.com (Ian Smith) Date: Thu, 10 Dec 2009 09:49:39 -0500 Subject: [rt-users] Batch Rights modification with CLI Message-ID: <6BD55F6AED7F7846B9398F3CA01FF7BBDAB2DA@EXCHANGE2.prg.com> Has anyone had success using the CLI interface to batch update a queue's Group Rights? The documentation hints that it is possible, but provides no syntax examples. I have CLI working with 3.8.4, and can add and remove groups and queues, update tickets, etc. but I seem to be missing something in the syntax. I have searched the mailing list and Wiki, but have found no answers. >From the documentation this command: Show group/1924/rights/3 Should show the rights assigned to group 1924 for queue 3. However, this just returns the same output as Show group/1924 Additionally from the documentation it seems that this command should add Watch rights for group 1924 to queue 3: Rt edit group/1924/rights/21 add=Watch This does not return any output, and does not update the rights Is this feature unimplemented, or am I doing it wrong? Is there a better way to do this? Direct SQL manipulation? Any help is appreciated! Ian Smith ----------------------------------- Production Resource Group Ismith at prg dot com www.prg.com From Gabriele.Franzini at nervianoms.com Thu Dec 10 10:09:13 2009 From: Gabriele.Franzini at nervianoms.com (Franzini, Gabriele [Nervianoms]) Date: Thu, 10 Dec 2009 16:09:13 +0100 Subject: [rt-users] Auto-creating a 'dependant' ticket On Transaction In-Reply-To: References: Message-ID: <20091210152216.F03854D8025@diesel.bestpractical.com> Hi Jonathan, After the code for creation of dependent ticket, > my $new_tkt = RT::Ticket->new($RT::SystemUser); my ($id, $msg) = > $new_tkt->Create( > Queue => "Data Analysis", > Subject => $tkt->Subject, > Status => 'new', > Requestor => $requestors, > DependedOnBy => $tkt->Id); Try to add something like this one: my $CFName = "Your CF NAME goes here"; my $ValueToAssign = "Your VALUE goes here"; my $RecTransaction = 1; my $QueueObj = $new_tkt->QueueObj; my $CFObj = RT::CustomField->new( $QueueObj->CurrentUser ); $CFObj->LoadByName( Name => $CFName); my( $id, $msg ) = $new_tkt->AddCustomFieldValue( Field => $CFObj->id, Value => $ValueToAssign, RecordTransaction => $RecTransaction ); Hope it helps, Sorry but I have no time to test it... Gabriele ------------------------------ Message: 3 Date: Tue, 8 Dec 2009 14:46:49 -0800 (PST) From: Jonathan Rummel Subject: Re: [rt-users] Auto-creating a 'dependant' ticket On Transaction To: rt-users at lists.bestpractical.com Message-ID: <26702202.post at talk.nabble.com> Content-Type: text/plain; charset=us-ascii Gabriele, It works perfectly! Thanks! That's just what I needed! Do you have any idea how to refer to a Custom Field within the newly created ticket? Ex: $new_tkt->Create( Queue => "Data Analysis", Subject => $tkt->Subject, Status => 'new', CUSTOM FIELD => "VALUE", <== (what's the proper syntax here for setting the new ticket's cf value?) Requestor => $requestors, DependedOnBy => $tkt->Id); Thanks again! Jonathan From dgriffi at cs.csubak.edu Thu Dec 10 12:29:14 2009 From: dgriffi at cs.csubak.edu (David Griffith) Date: Thu, 10 Dec 2009 09:29:14 -0800 (PST) Subject: [rt-users] RTFM constraints Message-ID: One big gripe of mine with RTFM is that an article's structure is very rigid. I would like to be able to have an article in a class have some lines of text, then a fullsize picture, more text, another picture, and so on without first setting the exact structure for the entire class. Further, how can I specify full-sized pictures instead of thumbnails all the time? -- David Griffith dgriffi at cs.csubak.edu A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From msallee at globe.gov Thu Dec 10 12:30:14 2009 From: msallee at globe.gov (Mark Sallee) Date: Thu, 10 Dec 2009 10:30:14 -0700 Subject: [rt-users] error on preferences page after upgrading from 3.8.5 to 3.8.6 Message-ID: <4B213026.40000@globe.gov> Just upgraded to RT 3.8.6 from 3.4.4, and we are also seeing an error on Preferences as another forum post reported. On the Preferences page, there is no option to Save settings, and users cannot change the active theme. Error message: Can't locate object method "format_cldr" via package "DateTime" at /opt/rt38-dpc/bin/../lib/RT/Date.pm line 687. I have already updated DateTime::Locale to version 0.4.4, which appears to be the latest. Here are all Date related perl modules: DateTime (version 0.37) DateTime::Format::Mail (version 0.30) DateTime::Format::W3CDTF (version 0.04) DateTime::Locale (version 0.44) DateTime::Set (version 0.25) DateTime::TimeZone (version 0.6602) Has anyone else solved this? -- Mark Sallee From eje at panix.com Thu Dec 10 12:49:56 2009 From: eje at panix.com (Eleanor J. Evans [Panix Staff]) Date: Thu, 10 Dec 2009 12:49:56 -0500 Subject: [rt-users] unparsed e-mail available? Message-ID: <20091210174956.GA2570@panix.com> I'm working on a scrip to store past correspondence on a ticket in a customer's e-mail archive when a customer id (custom field value) is added to a ticket. I've got everything working, except that I'd really like to send the original, unparsed e-mail, not what I'm extracting from the message objects. Is there an accessor for that? Here's the relevant section of my template: { my $transactions = $Ticket->Transactions; $transactions->Limit( FIELD => 'Type', VALUE => 'Correspond' ); $transactions->Limit( FIELD => 'Type', VALUE => 'Comment' ); $transactions->Limit( FIELD => 'Type', VALUE => 'Create' ); while (my $transaction = $transactions->Next) { my $attachments = $transaction->Attachments; while (my $message = $attachments->Next) { next unless $message->ContentType =~ m!^(text/html|text/plain|message|text$)!i; my $content = $message->Content; next unless $content; next if $last_content eq $content; $last_content = $content; # now I create subject, from & time headers # would prefer original e-mail! my $subject = ($message->Subject || $Ticket->Subject); my $wrapper = Text::Wrapper->new(columns=>70); $content = $wrapper->wrap($content); $archived_message .= "Subject: "; $archived_message .= $subject; $archived_message .= "\n"; $archived_message .= "From: "; $archived_message .= $message->CreatorObj->RealName || $message->CreatorObj->EmailAddress; $archived_message .= "\n"; $archived_message .= "Time: "; $archived_message .= $message->CreatedObj->AsString; $archived_message .= "\n"; $archived_message .= "\n"; $archived_message .= "$content\n"; $archived_message .= "------------------------------------------------\n"; } } $archived_message; } -- Eleanor J. (Piglet) Evans, eje at panix.com Customer Support, (212) 741-4400 From falcone at bestpractical.com Thu Dec 10 12:52:27 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 10 Dec 2009 12:52:27 -0500 Subject: [rt-users] error on preferences page after upgrading from 3.8.5 to 3.8.6 In-Reply-To: <4B213026.40000@globe.gov> References: <4B213026.40000@globe.gov> Message-ID: <20091210175227.GN910@jibsheet.com> On Thu, Dec 10, 2009 at 10:30:14AM -0700, Mark Sallee wrote: > Just upgraded to RT 3.8.6 from 3.4.4, and we are also seeing an error on > Preferences as another forum post reported. > > On the Preferences page, there is no option to Save settings, and users > cannot change the active theme. > Error message: > Can't locate object method "format_cldr" via package "DateTime" at > /opt/rt38-dpc/bin/../lib/RT/Date.pm line 687. > > I have already updated DateTime::Locale to version 0.4.4, which appears > to be the latest. Here are all Date related perl modules: You need to upgrade this one > DateTime (version 0.37) or come up to rt-3.8.7rc1 which will become rt-3.8.7 as soon as we finish changelogging -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From eje at panix.com Thu Dec 10 12:56:11 2009 From: eje at panix.com (Eleanor J. Evans [Panix Staff]) Date: Thu, 10 Dec 2009 12:56:11 -0500 Subject: [rt-users] unparsed e-mail available? In-Reply-To: <20091210174956.GA2570@panix.com> References: <20091210174956.GA2570@panix.com> Message-ID: <20091210175611.GB2570@panix.com> On Thu, Dec 10, 2009 at 12:49:56PM -0500, Eleanor J. Evans [Panix Staff] wrote: > I'm working on a scrip to store past correspondence on a ticket in a > customer's e-mail archive when a customer id (custom field value) is > added to a ticket. I've got everything working, except that I'd > really like to send the original, unparsed e-mail, not what I'm > extracting from the message objects. Is there an accessor for that? D'oh! Yes. Cf., html/Ticket/Attachment/WithHeaders/dhandler $m->out( $AttachmentObj->Headers ); $m->out( $AttachmentObj->OriginalContent ); -- Eleanor J. (Piglet) Evans, eje at panix.com Customer Support, (212) 741-4400 From jledford at biltmore.com Thu Dec 10 13:42:40 2009 From: jledford at biltmore.com (Jason Ledford) Date: Thu, 10 Dec 2009 13:42:40 -0500 Subject: [rt-users] Extractcustomfield missing scripaction Message-ID: <435CB3214F92FD4E8E5CEEB86A20440240F902C9D4@MAILBOX.tbcnet.biltmore.com> I have just install the extract custom field module from cpan. I have added the plugin to RT and I can see it from the System Config page that shows it is loaded. There are no errors reported in the log. When I go to create a new scrip, either global or in the queue, I don't have the action Extract Custom Field. All the posts and documentation I can find doesn't mention anything in between those steps. What am I missing? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From eje at panix.com Thu Dec 10 13:54:26 2009 From: eje at panix.com (Eleanor J. Evans [Panix Staff]) Date: Thu, 10 Dec 2009 13:54:26 -0500 Subject: [rt-users] Extractcustomfield missing scripaction In-Reply-To: <435CB3214F92FD4E8E5CEEB86A20440240F902C9D4@MAILBOX.tbcnet.biltmore.com> References: <435CB3214F92FD4E8E5CEEB86A20440240F902C9D4@MAILBOX.tbcnet.biltmore.com> Message-ID: <20091210185425.GA5857@panix.com> On Thu, Dec 10, 2009 at 01:42:40PM -0500, Jason Ledford wrote: > I have just install the extract custom field module from cpan. I > have added the plugin to RT and I can see it from the System Config > page that shows it is loaded. There are no errors reported in the > log. When I go to create a new scrip, either global or in the > queue, I don't have the action Extract Custom Field. All the posts > and documentation I can find doesn't mention anything in between > those steps. What am I missing? When you say "I can see it from the System Config page", do you see it in a) Loaded perl modules b) RT Config : core config : Plugins and c) Perl Include Paths (@INC)? If it's not in b), you need to add Set( @Plugins, qw(RT::Extension::ExtractCustomFieldValues) ); to your RT_SiteConfig.pm. -- Eleanor J. (Piglet) Evans, eje at panix.com Customer Support, (212) 741-4400 From falcone at bestpractical.com Thu Dec 10 14:00:22 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 10 Dec 2009 14:00:22 -0500 Subject: [rt-users] Extractcustomfield missing scripaction In-Reply-To: <435CB3214F92FD4E8E5CEEB86A20440240F902C9D4@MAILBOX.tbcnet.biltmore.com> References: <435CB3214F92FD4E8E5CEEB86A20440240F902C9D4@MAILBOX.tbcnet.biltmore.com> Message-ID: <20091210190022.GO910@jibsheet.com> On Thu, Dec 10, 2009 at 01:42:40PM -0500, Jason Ledford wrote: > I have just install the extract custom field module from cpan. I have added the plugin to RT > and I can see it from the System Config page that shows it is loaded. There are no errors > reported in the log. When I go to create a new scrip, either global or in the queue, I don't > have the action Extract Custom Field. All the posts and documentation I can find doesn't > mention anything in between those steps. What am I missing? Did you run this step? make initdb # first time only, not on upgrades -kevin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From ebergstrom at digitalglobe.com Thu Dec 10 13:50:23 2009 From: ebergstrom at digitalglobe.com (Eric Bergstrom) Date: Thu, 10 Dec 2009 11:50:23 -0700 Subject: [rt-users] Error after upgrade Message-ID: <7B331BBE4BC4824980EB3953AD745FEE029F3049@COMAIL03.digitalglobe.com> Hello, I walked through the upgrade to RT 3.8.10 this week, and after upgrading I get an error in my apache error log: [error] [client 10.128.10.143] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: Subroutine _Init redefined at /opt/rt3/lib/RT/User.pm line 77 I'm using AT, and External Auth, but no other extensions. Is this error anything to worry about going before going to production? Thank you for your time, -Eric Bergstrom This electronic communication and any attachments may contain confidential and proprietary information of DigitalGlobe, Inc. If you are not the intended recipient, or an agent or employee responsible for delivering this communication to the intended recipient, or if you have received this communication in error, please do not print, copy, retransmit, disseminate or otherwise use the information. Please indicate to the sender that you have received this communication in error, and delete the copy you received. DigitalGlobe reserves the right to monitor any electronic communication sent or received by its employees, agents or representatives. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jledford at biltmore.com Thu Dec 10 14:05:12 2009 From: jledford at biltmore.com (Jason Ledford) Date: Thu, 10 Dec 2009 14:05:12 -0500 Subject: [rt-users] Extractcustomfield missing scripaction In-Reply-To: <20091210190022.GO910@jibsheet.com> References: <435CB3214F92FD4E8E5CEEB86A20440240F902C9D4@MAILBOX.tbcnet.biltmore.com> <20091210190022.GO910@jibsheet.com> Message-ID: <435CB3214F92FD4E8E5CEEB86A20440240F902C9E3@MAILBOX.tbcnet.biltmore.com> Is that necessary if I installed it using: #cpan -i RT::Extension::ExtractCustomFieldValues And for the other response, going to Tools, System Configuration, it is showing up in all 3 areas a) Loaded perl modules b) RT Config : core config : Plugins and c) Perl Include Paths (@INC) Thanks for the help. -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone Sent: Thursday, December 10, 2009 2:00 PM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Extractcustomfield missing scripaction On Thu, Dec 10, 2009 at 01:42:40PM -0500, Jason Ledford wrote: > I have just install the extract custom field module from cpan. I have added the plugin to RT > and I can see it from the System Config page that shows it is loaded. There are no errors > reported in the log. When I go to create a new scrip, either global or in the queue, I don't > have the action Extract Custom Field. All the posts and documentation I can find doesn't > mention anything in between those steps. What am I missing? Did you run this step? make initdb # first time only, not on upgrades -kevin From mathieu at closetwork.org Thu Dec 10 14:12:13 2009 From: mathieu at closetwork.org (Mathieu Longtin) Date: Thu, 10 Dec 2009 14:12:13 -0500 Subject: [rt-users] transaction batch doesn't always get executed Message-ID: <539eb5520912101112w41777a6ft33557de75b1970d2@mail.gmail.com> I have this weird problem: Two non-privileged user send a support request, Zonker's email fires a TransactionBatch scrip, but Harris' email does not. TransactionCreate scrip are fired for both users. They come from different domain, There is no other difference in the users other than their email addresses. If I take Harris' email, change the email address to Zonker, it works fine. Did anyone ever see that? Any fix? Thanks -- Mathieu Longtin 1-514-803-8977 -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Thu Dec 10 14:16:06 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 10 Dec 2009 14:16:06 -0500 Subject: [rt-users] Extractcustomfield missing scripaction In-Reply-To: <435CB3214F92FD4E8E5CEEB86A20440240F902C9E3@MAILBOX.tbcnet.biltmore.com> References: <435CB3214F92FD4E8E5CEEB86A20440240F902C9D4@MAILBOX.tbcnet.biltmore.com> <20091210190022.GO910@jibsheet.com> <435CB3214F92FD4E8E5CEEB86A20440240F902C9E3@MAILBOX.tbcnet.biltmore.com> Message-ID: <20091210191606.GP910@jibsheet.com> On Thu, Dec 10, 2009 at 02:05:12PM -0500, Jason Ledford wrote: > Is that necessary if I installed it using: > #cpan -i RT::Extension::ExtractCustomFieldValues cpan is never going to run make initdb for you. -kevin > And for the other response, going to Tools, System Configuration, it is showing up in all 3 areas a) Loaded perl modules b) RT Config : core config : Plugins and c) Perl Include Paths (@INC) > > Thanks for the help. > > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone > Sent: Thursday, December 10, 2009 2:00 PM > To: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Extractcustomfield missing scripaction > > On Thu, Dec 10, 2009 at 01:42:40PM -0500, Jason Ledford wrote: > > I have just install the extract custom field module from cpan. I have added the plugin to RT > > and I can see it from the System Config page that shows it is loaded. There are no errors > > reported in the log. When I go to create a new scrip, either global or in the queue, I don't > > have the action Extract Custom Field. All the posts and documentation I can find doesn't > > mention anything in between those steps. What am I missing? > > Did you run this step? > make initdb # first time only, not on upgrades > > -kevin > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From jledford at biltmore.com Thu Dec 10 14:24:16 2009 From: jledford at biltmore.com (Jason Ledford) Date: Thu, 10 Dec 2009 14:24:16 -0500 Subject: [rt-users] Extractcustomfield missing scripaction In-Reply-To: <20091210191606.GP910@jibsheet.com> References: <435CB3214F92FD4E8E5CEEB86A20440240F902C9D4@MAILBOX.tbcnet.biltmore.com> <20091210190022.GO910@jibsheet.com> <435CB3214F92FD4E8E5CEEB86A20440240F902C9E3@MAILBOX.tbcnet.biltmore.com> <20091210191606.GP910@jibsheet.com> Message-ID: <435CB3214F92FD4E8E5CEEB86A20440240F902C9F0@MAILBOX.tbcnet.biltmore.com> My mistake. Working now. Thanks. -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone Sent: Thursday, December 10, 2009 2:16 PM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Extractcustomfield missing scripaction On Thu, Dec 10, 2009 at 02:05:12PM -0500, Jason Ledford wrote: > Is that necessary if I installed it using: > #cpan -i RT::Extension::ExtractCustomFieldValues cpan is never going to run make initdb for you. -kevin > And for the other response, going to Tools, System Configuration, it > is showing up in all 3 areas a) Loaded perl modules b) RT Config : > core config : Plugins and c) Perl Include Paths (@INC) > > Thanks for the help. > > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com > [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin > Falcone > Sent: Thursday, December 10, 2009 2:00 PM > To: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Extractcustomfield missing scripaction > > On Thu, Dec 10, 2009 at 01:42:40PM -0500, Jason Ledford wrote: > > I have just install the extract custom field module from cpan. I have added the plugin to RT > > and I can see it from the System Config page that shows it is loaded. There are no errors > > reported in the log. When I go to create a new scrip, either global or in the queue, I don't > > have the action Extract Custom Field. All the posts and documentation I can find doesn't > > mention anything in between those steps. What am I missing? > > Did you run this step? > make initdb # first time only, not on upgrades > > -kevin > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com Commercial support: > sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From eje at panix.com Thu Dec 10 14:31:20 2009 From: eje at panix.com (Eleanor J. Evans [Panix Staff]) Date: Thu, 10 Dec 2009 14:31:20 -0500 Subject: [rt-users] RT-OnlineDocs Message-ID: <20091210193120.GB5857@panix.com> Is RT-OnlineDocs worth installing? It looks helpful. How do you interrogate the RT API? perldoc? RT-OnlineDocs? Or something else? -- Eleanor J. (Piglet) Evans, eje at panix.com Customer Support, (212) 741-4400 From jesse at bestpractical.com Thu Dec 10 14:40:56 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 10 Dec 2009 14:40:56 -0500 Subject: [rt-users] RT-OnlineDocs In-Reply-To: <20091210193120.GB5857@panix.com> References: <20091210193120.GB5857@panix.com> Message-ID: <20091210194056.GL10018@bestpractical.com> On Thu, Dec 10, 2009 at 02:31:20PM -0500, Eleanor J. Evans [Panix Staff] wrote: > Is RT-OnlineDocs worth installing? It looks helpful. If you're doing RT development, yes. It's just a web based perldoc UI for RT's classes. Myself, I tend to use perldoc - I'm the sort of luddite who lives in an 80x25 console. -jesse > How do you interrogate the RT API? perldoc? RT-OnlineDocs? Or > something else? > > > -- > Eleanor J. (Piglet) Evans, eje at panix.com > Customer Support, (212) 741-4400 > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -- From mathieu at closetwork.org Thu Dec 10 17:20:13 2009 From: mathieu at closetwork.org (Mathieu Longtin) Date: Thu, 10 Dec 2009 17:20:13 -0500 Subject: [rt-users] [FOUND WHY] transaction batch doesn't always get executed In-Reply-To: <539eb5520912101112w41777a6ft33557de75b1970d2@mail.gmail.com> References: <539eb5520912101112w41777a6ft33557de75b1970d2@mail.gmail.com> Message-ID: <539eb5520912101420p33476ffew21c7ac5decdebc69@mail.gmail.com> After firing up the old debugger, I found out that when RT is trying to figure out what scrip to run in "TransactionBatch" mode, it gets a list of transaction types by calling this: join( ',', map $_->Type, grep defined, @{$batch} ) in Ticket_Overlay::DESTROY. Unfortunately, permissions get in the way, and the Harris account is "Unprivileged", but Zonker is "Privileged". I didn't realize that until now. Anyway, an unprivileged user is not allowed to see transaction types, so it never runs TransactionBatch scrips. The quick fix is to make Type public in Transaction_Overlay::_OverlayAccessible. Type => { public => 1}, But there is probably a reason why it's not accessible. Is there a way for one line of code to override the permission system? Just lost a day figuring this out -- Mathieu Longtin 1-514-803-8977 On Thu, Dec 10, 2009 at 2:12 PM, Mathieu Longtin wrote: > I have this weird problem: > > Two non-privileged user send a support request, Zonker's email fires a > TransactionBatch scrip, but Harris' email does not. TransactionCreate scrip > are fired for both users. They come from different domain, > > There is no other difference in the users other than their email addresses. > > > If I take Harris' email, change the email address to Zonker, it works fine. > > Did anyone ever see that? > > Any fix? > > Thanks > > -- > Mathieu Longtin > 1-514-803-8977 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mahini at apple.com Thu Dec 10 18:48:50 2009 From: mahini at apple.com (Behzad Mahini) Date: Thu, 10 Dec 2009 15:48:50 -0800 Subject: [rt-users] ACL-Restrict access to Display Ticket Content Message-ID: Is there a way to restrict access for users such that they could see a Queue (as shown in the "Quick search"), as well as a listing of the Tickets corresponding to that Queue ("Show Results" -- Results.html page)? However, no further details & contents about a ticket (i.e., no Ticket metatdata) to be provided once a Ticket is selected from the Results.html or Simple.html page. "ShowTicket" privilege is the one that messes me up. (RT 3.8.4) I tried different ACL combinations (for Queue "X"), and none worked. Presently, I have the following ACL's for Queue "X": Everyone: CommentOnTicket CreateTicket ReplyToTicket SeeQueue Unprivileged - Privileged - User Defined Group: Grp-xyz I started from nothing, and experimented by one-by-one adding the following privileges (as soon as I add "ShowTicket", it defeats what I am after, and without "ShowTicket" the Queue does not appear for the user): ModifyTicket OwnTicket ShowTicket ShowTicketCommenst Watch WatchAsAdminCc Thanks, Behzad From SMelot at lmusd.org Thu Dec 10 19:49:24 2009 From: SMelot at lmusd.org (Scott Melot) Date: Thu, 10 Dec 2009 16:49:24 -0800 Subject: [rt-users] eDirectory authentication and groups question In-Reply-To: <1260484143change+lists.rt@nightwind.net> References: <4B193A6D.C733.00F3.0@lmusd.org> <1260484143change+lists.rt@nightwind.net> Message-ID: <4B212695.C733.00F3.0@lmusd.org> This helped with part of my problem, and for that I am very grateful (it showed me the LDAP authenticated users were being created and I could convert them to privileged users). However, I am still having trouble getting LDAP to work based on a group. In my original mailing I may have been unclear, and for that I apologize. I can authenticate with the group attributes disabled but when I try to restrict logins to only members of an eDirectory group called "RT_Users" I cannot log in through LDAP. I am only told the user couldn't authenticate. The only member of the group is my account (which works without the group attribute). Has anyone running a Novell eDirectory environment been able to get ExternalAuth to work with the groups attribute? If so I would appreciate any configuration guidance as I am a bit of a newbie when it comes to eDirectory and LDAP. Thank you again for the advice on the % search, that was very helpful. >>> 12/4/2009 4:46 PM >>> On Fri, 04 Dec 2009 16:35:57 -0800, "Scott Melot" said: > What I would like to do is have general staff be able to log in and have > an account created, then for a support staff to be able to manually > (automatically would be better but I'll take manual) add them to a custom > group within RT if they need more permissions than to submit a trouble > ticket to the support queue. All that needs to be done is for an admin to go to Configuration, Users, and search for the username of the person you want to set up (be sure to change the search type to Name, defaults to User ID). Click their user and check the box that says "Let this person be granted rights" and make them a member of the appropriate group. You can also get a list of all privileged and non-privileged users in RT by entering % in the search box. . From ibrahim.harrani at gmail.com Fri Dec 11 03:15:45 2009 From: ibrahim.harrani at gmail.com (Ibrahim Harrani) Date: Fri, 11 Dec 2009 10:15:45 +0200 Subject: [rt-users] see only own tickets In-Reply-To: <435CB3214F92FD4E8E5CEEB86A20440240F902C7A9@MAILBOX.tbcnet.biltmore.com> References: <530068a0912090721i3e373c1ei4351f62bfdf07fed@mail.gmail.com> <435CB3214F92FD4E8E5CEEB86A20440240F902C7A9@MAILBOX.tbcnet.biltmore.com> Message-ID: <530068a0912110015p3df4be1fp3cd1ad1a9a1516f8@mail.gmail.com> Thank Jason, I removed user rights and granted only see queue and open ticket right. It seems that is OK. Bye On Wed, Dec 9, 2009 at 5:32 PM, Jason Ledford wrote: > Would that not be non-privileged users using the self-service module? > They create their tickets and can only see tickets they have created. It?s > a non-privileged user so can?t do much else. > > > > **I am new to this as well so I might be completely wrong** > > > > *From:* rt-users-bounces at lists.bestpractical.com [mailto: > rt-users-bounces at lists.bestpractical.com] *On Behalf Of *Ibrahim Harrani > *Sent:* Wednesday, December 09, 2009 10:22 AM > *To:* rt-users at lists.bestpractical.com > *Subject:* [rt-users] see only own tickets > > > > Hi, > > I installed RT 3.8.4. > I searched in documents etc but i could not find an answer about my > following configuration: > I want to create a queue for my customers about our one product support > The customers will create a tickets on the same queue. But they should not > see each other tickets. They must see > only their created tickets. > > Can I do something like this in RT? > > Thanks. > Ibrahim > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jignesh at aruhat.com Fri Dec 11 03:07:56 2009 From: jignesh at aruhat.com (Jignesh Parmar) Date: Fri, 11 Dec 2009 13:37:56 +0530 Subject: [rt-users] RT with authenticated mail server Message-ID: <4B21FDDC.1030003@aruhat.com> Hi I have a setup where RT is installed in specific server with it's own email system. And we have setup mails in such a way that my corporate group email id has one additional email as RT's email id, so the ticket is getting generated. In RT's email queue, the configured email address is from corporate's email. this is to hide mail system of RT. Now, when RT sends any reply/notification, it show from address as corporate's email. Till now, we have anonymous access in our corporate email server, and things were working find. But, due to spam attack, our IT team has disallowed anonymous access in our corporate email server, and made authentication compulsory. Due to this RT's emails are getting bounced and are not getting delivered to our corporate users. Please let me know how to overcome this issue. FYI, setup details is as follows: RT: installed in Linux with postfix having email address as /@rt.corporate.co.in/ Corporate Mail: /@corporate.com/ on Microsoft Exchange // Group Mail id corporate users to generate ticket: /it-admin at corporate.com/ which forwards mail to /it-admin at rt.corporate.co.in/ RT Queue: it-admin at rt.corporate.co.in is aliased to RT queue using RT URL, and tickets getting generated in /it-admin/ Queue: it-admin, reply to address as /it-admin at corporate.com/ Autoreply/Notifications configured as usual Whole setup was working fine. But, after enabling authentication in Exchange, it stopped working. Regards, Jignesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: jignesh.vcf Type: text/x-vcard Size: 153 bytes Desc: not available URL: From rob.macgregor at gmail.com Fri Dec 11 04:11:14 2009 From: rob.macgregor at gmail.com (Rob MacGregor) Date: Fri, 11 Dec 2009 09:11:14 +0000 Subject: [rt-users] RT with authenticated mail server In-Reply-To: <4B21FDDC.1030003@aruhat.com> References: <4B21FDDC.1030003@aruhat.com> Message-ID: <43ea8d070912110111q3795978du7b51b99e4fbf8097@mail.gmail.com> On Fri, Dec 11, 2009 at 08:07, Jignesh Parmar wrote: > Hi > > I have a setup where RT is installed in specific server with it's own email > system. > And we have setup mails in such a way that my corporate group email id has > one additional email as RT's email id, so the ticket is getting generated. > In RT's email queue, the configured email address is from corporate's email. > this is to hide mail system of RT. > > Now, when RT sends any reply/notification, it show from address as > corporate's email. > Till now, we have anonymous access in our corporate email server, and things > were working find. > > But, due to spam attack, our IT team has disallowed anonymous access in our > corporate email server, and made authentication compulsory. > Due to this RT's emails are getting bounced and are not getting delivered to > our corporate users. > > Please let me know how to overcome this issue. Identify the SMTP server you're using on your RT box and configure it to use SMTP AUTH. -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche From nicolas.guiot at risc-group.com Fri Dec 11 04:47:01 2009 From: nicolas.guiot at risc-group.com (Nicolas GUIOT) Date: Fri, 11 Dec 2009 10:47:01 +0100 Subject: [rt-users] scrip not working after upgrade Message-ID: <20091211104701.477f7ce9@lapcolas> Hi everyone, I'm upgrading from 3.6.1 to 3.8.6, and having (until now) just a last bug : I had a scrip that was doing the following : if a ticket has been rejected, then email the user so that he knows about it. This was made like this : Condition : On Status Change Action : Notify requestor, CCs, and AdminCCs Template : GlobalTemplate : Reject Stage : Transaction Create Custon Condition : if ( $Ticket->Status eq "rejected") { return 1; } return 0; So, this works perfectly in the "old" setup (3.6.1). But in 3.8.6, every time the status of the ticket changes (open, solved, closed, etc...), the Requestor receives a "ticket rejected" notice. Has anything changed between the 2 versions ? Did I miss something else ? Thanks in advance for your help Nicolas From ktm at rice.edu Fri Dec 11 08:14:16 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Fri, 11 Dec 2009 07:14:16 -0600 Subject: [rt-users] RT with authenticated mail server In-Reply-To: <4B21FDDC.1030003@aruhat.com> References: <4B21FDDC.1030003@aruhat.com> Message-ID: <20091211131416.GJ23781@it.is.rice.edu> On Fri, Dec 11, 2009 at 01:37:56PM +0530, Jignesh Parmar wrote: > Hi > > I have a setup where RT is installed in specific server with it's own email > system. > And we have setup mails in such a way that my corporate group email id has > one additional email as RT's email id, so the ticket is getting generated. > In RT's email queue, the configured email address is from corporate's > email. this is to hide mail system of RT. > > Now, when RT sends any reply/notification, it show from address as > corporate's email. > Till now, we have anonymous access in our corporate email server, and > things were working find. > > But, due to spam attack, our IT team has disallowed anonymous access in our > corporate email server, and made authentication compulsory. > Due to this RT's emails are getting bounced and are not getting delivered > to our corporate users. > > Please let me know how to overcome this issue. > > FYI, setup details is as follows: > RT: installed in Linux with postfix having email address as > /@rt.corporate.co.in/ > Corporate Mail: /@corporate.com/ on Microsoft Exchange > // Group Mail id corporate users to generate ticket: > /it-admin at corporate.com/ which forwards mail to > /it-admin at rt.corporate.co.in/ > RT Queue: it-admin at rt.corporate.co.in is aliased to RT queue using RT > URL, and tickets getting generated in /it-admin/ > Queue: it-admin, reply to address as /it-admin at corporate.com/ > Autoreply/Notifications configured as usual > Whole setup was working fine. But, after enabling authentication in > Exchange, it stopped working. > > > Regards, > Jignesh > Look in the postfix documentation at the SASL_README to see how to enable the client side SMTP AUTH support and use that to send authenticated mail. Regards, Ken From falcone at bestpractical.com Fri Dec 11 09:08:09 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 11 Dec 2009 09:08:09 -0500 Subject: [rt-users] eDirectory authentication and groups question In-Reply-To: <4B212695.C733.00F3.0@lmusd.org> References: <4B193A6D.C733.00F3.0@lmusd.org> <1260484143change+lists.rt@nightwind.net> <4B212695.C733.00F3.0@lmusd.org> Message-ID: <20091211140809.GQ910@jibsheet.com> On Thu, Dec 10, 2009 at 04:49:24PM -0800, Scott Melot wrote: > This helped with part of my problem, and for that I am very grateful > (it showed me the LDAP authenticated users were being created and I > could convert them to privileged users). However, I am still having > trouble getting LDAP to work based on a group. In my original > mailing I may have been unclear, and for that I apologize. I can > authenticate with the group attributes disabled but when I try to > restrict logins to only members of an eDirectory group called > "RT_Users" I cannot log in through LDAP. I am only told the user > couldn't authenticate. The only member of the group is my account > (which works without the group attribute). Has anyone running a > Novell eDirectory environment been able to get ExternalAuth to work > with the groups attribute? If so I would appreciate any > configuration guidance as I am a bit of a newbie when it comes to > eDirectory and LDAP. If you turn your logging up to debug, RT-Authen-ExternalAuth will log the LDAP queries it is running and then you should be able to inspect or run them manually against your server until you get the syntax correct. -kevin > >>> 12/4/2009 4:46 PM >>> > On Fri, 04 Dec 2009 16:35:57 -0800, "Scott Melot" > said: > > What I would like to do is have general staff be able to log in and have > > an account created, then for a support staff to be able to manually > > (automatically would be better but I'll take manual) add them to a custom > > group within RT if they need more permissions than to submit a trouble > > ticket to the support queue. > > All that needs to be done is for an admin to go to Configuration, Users, > and search for the username of the person you want to set up (be sure to > change the search type to Name, defaults to User ID). Click their user > and check the box that says "Let this person be granted rights" and make > them a member of the appropriate group. > > You can also get a list of all privileged and non-privileged users in RT > by entering % in the search box. > . > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: From Mike.Johnson at NorMed.ca Fri Dec 11 09:13:44 2009 From: Mike.Johnson at NorMed.ca (Mike Johnson) Date: Fri, 11 Dec 2009 09:13:44 -0500 Subject: [rt-users] Looking for more info on RT extension Asset Tracker Message-ID: <4B220D0D.4EF5.001E.0@NorMed.ca> Greetings all, Can someone point me to either somewhere on the Asset Tracker project page(http://code.google.com/p/asset-tracker-4rt/), or somewhere else on the internet that has a good description of what AT does, perhaps with some screenshots etc? I'm trying to evaluate what AT does, and how it could work with our organization... I read through everything, and it says AT can track other things, but the limited documentation then goes on to talk about DB tables of with IPs and MAC addresses etc... Just curious what the main purpose of AT is... tracking assets? or tracking assets within a datacenter/static network layout... etc. Thanks! Mike Johnson Datatel Programmer/Analyst Northern Ontario School of Medicine 955 Oliver Road Thunder Bay, ON P7B 5E1 Phone: 807.766.7331 Email: mike.johnson at normed.ca Technology assistance: email nosmhelpdesk at normed.ca Technology Emergency Contact (TEC) Mon-Fri, 8am to 5pm excluding stat holidays: Off campus toll free 1-800-461-8777, option 8, or locally either (705)-662-7120 or (807)-766-7500 ------------------- Text.htm follows -------------------
Greetings all,
 
Can someone point me to either somewhere on the Asset Tracker project = page(http://code.go= ogle.com/p/asset-tracker-4rt/), or somewhere else on the internet that = has a good description of what AT does, perhaps with some screenshots = etc?
 
I'm trying to evaluate what AT does, and how it could work with our = organization...
 
I read through everything, and it says AT can track other things, but = the limited documentation then goes on to talk about DB tables of with IPs = and MAC addresses etc...
 
Just curious what the main purpose of AT is... tracking assets? or = tracking assets within a datacenter/static network layout... etc.
 
Thanks!
 
 
 
Mike Johnson
Datatel Programmer/Analyst
Northern Ontario School = of Medicine
955 Oliver Road
Thunder Bay, ON   P7B = 5E1
Phone: 807.766.7331
Email: mike.johnson at normed.ca
Technology assistance: email nosmhelpdesk at normed.ca
Technology Emergency Contact (TEC) = Mon-Fri, 8am to 5pm excluding stat holidays:
Off campus toll free = 1-800-461-8777, option 8, or locally either
(705)-662-7120 or = (807)-766-7500
From fusco at wanagain.net Fri Dec 11 10:45:21 2009 From: fusco at wanagain.net (fusco) Date: Fri, 11 Dec 2009 07:45:21 -0800 (PST) Subject: [rt-users] Extracting Custom Field Information from E-mail In-Reply-To: References: Message-ID: <26746489.post@talk.nabble.com> I'm also interrested on a responce of this post I want to update a ticket witch owner is identified by a Custom field into the body of an E-mail sended to Request tracker so I want to know how to use the extension extract from custom fields greetings, Georghy Nick Metrowsky-2 wrote: > > Hi Everyone, > > > > We would like to create our own version of a Self_Service Web for > Request Tracker. We would like the web form to take information accepted > by the web form and to e-mail a ticket to Request Tracker. We would like > the user to enter values for custom fields, which could be parsed by > Request Tracker to populate the custom fields, when the ticket is > created. > > > > I think "ExtractCustomFieldValues" may do this for me. However, the lack > of documentation makes it unclear on how to do this. Does anyone have > any "live" examples of what a "ExtractCustomFieldValues" template file > should look like? Does anyone have a good web form that would accept > custom field values and mail a ticket to Request Tracker? In other > words, it makes no sense to reinvent the wheel if someone has done so > already. > > > > Thank you for your help in advance. > > > > Take care! > > > > Nick > > > > ------------------------------------------------------------------------ > --------- > > Nick Metrowsky > > Consulting System Administrator > > 303-684-4785 Office > > 303-684-4100 Fax > > nmetrowsky at digitalglobe.com > > DigitalGlobe (r), An Imaging and Information Company > > http://www.digitalglobe.com > > ------------------------------------------------------------------------ > --------- > > > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -- View this message in context: http://old.nabble.com/Extracting-Custom-Field-Information-from-E-mail-tp7104748p26746489.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From fusco at wanagain.net Fri Dec 11 10:49:07 2009 From: fusco at wanagain.net (fusco) Date: Fri, 11 Dec 2009 07:49:07 -0800 (PST) Subject: [rt-users] Extract Custom Fields (CF) from E mail Message-ID: <26746526.post@talk.nabble.com> Hello everyone, I want to update a ticket witch owner is identified by a Custom field into the body of an E-mail sended to Request tracker so I want to know how to use the extension extract from custom fields can you give some tracks greetings, Georghy -- View this message in context: http://old.nabble.com/Extract-Custom-Fields-%28CF%29-from-E-mail-tp26746526p26746526.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From jledford at biltmore.com Fri Dec 11 10:53:13 2009 From: jledford at biltmore.com (Jason Ledford) Date: Fri, 11 Dec 2009 10:53:13 -0500 Subject: [rt-users] Extract Custom Fields (CF) from E mail Message-ID: <435CB3214F92FD4E8E5CEEB86A20440240F902CB37@MAILBOX.tbcnet.biltmore.com> I just finished working this out for myself. Have you looked at this http://wiki.bestpractical.com/view/ExtractCustomFieldValues that along with some searching of this list has proved most helpful to me. -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of fusco Sent: Friday, December 11, 2009 10:49 AM To: rt-users at lists.bestpractical.com Subject: [rt-users] Extract Custom Fields (CF) from E mail Hello everyone, I want to update a ticket witch owner is identified by a Custom field into the body of an E-mail sended to Request tracker so I want to know how to use the extension extract from custom fields can you give some tracks greetings, Georghy -- From manohar.r at glowtouch.com Fri Dec 11 04:37:59 2009 From: manohar.r at glowtouch.com (H Manohar rayker) Date: Fri, 11 Dec 2009 15:07:59 +0530 Subject: [rt-users] Branch out tickets in RT. Message-ID: <20091211164443.C9B2D4D8025@diesel.bestpractical.com> Hi, How can I branch out or filter tickets depending on the content to different queues? I have RT 3.8.4 , centos 5.3, apache 1.3, mysql 5.x currently setup. Thanks Manohar -------------- next part -------------- An HTML attachment was scrubbed... URL: From elacour at easter-eggs.com Fri Dec 11 11:56:19 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Fri, 11 Dec 2009 17:56:19 +0100 Subject: [rt-users] Branch out tickets in RT. In-Reply-To: <20091211164443.C9B2D4D8025@diesel.bestpractical.com> References: <20091211164443.C9B2D4D8025@diesel.bestpractical.com> Message-ID: <20091211165619.GC25153@easter-eggs.com> On Fri, Dec 11, 2009 at 03:07:59PM +0530, H Manohar rayker wrote: > Hi, > > How can I branch out or filter tickets depending on the content to different > queues? I have RT 3.8.4 , centos 5.3, apache 1.3, mysql 5.x currently setup. > you have to write a scrip that analyze incoming emails content and use the RT API to set the appropriate queue. see scrips examples here: http://wiki.bestpractical.com/view/Contributions From falcone at bestpractical.com Fri Dec 11 14:25:02 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 11 Dec 2009 14:25:02 -0500 Subject: [rt-users] [Rt-announce] RT 3.8.7 Released Message-ID: <20091211192502.GB973@jibsheet.com> We are happy to announce that RT 3.8.7 is now available. You can download it from: http://download.bestpractical.com/pub/rt/release/rt-3.8.7.tar.gz http://download.bestpractical.com/pub/rt/release/rt-3.8.7.tar.gz.sig SHA1 sums 9de5860c5c58d40c5f6914cdde807ecc66a68f20 rt-3.8.7.tar.gz 3088fb66f6ecbf57f04cd5aba3684645406c120f rt-3.8.7.tar.gz.sig This is primarily a bugfix release of RT. Some important fixes are listed here: * Stop old DateTime or DateTime::Locales from exploding in Preferences * Move all JS for hierarchical CFs onto derivative field; remove DerivativeCFs method Fix bug on Oracle when selecting against a CLOB * Call the method on the object, not the username string (Reported by Philip Shore) Fix error when using WebExternalAuth and setting user info * When using WebExternalAuth don't issue a new session cookie on each request Fix lost attachments when using WebExternalAuth. WebExternalAuthContinuous can be set back to 1 * Mention missing index that was only added to upgrade scripts * fixes for PlainTextMono config option introduced in 3.8.6 * fixes for updating charts and dashboards * delete links from Bulk Update A more complete changelog is available below -kevin BUGFIXES AND CLEANUPS ===================== * We want to capture the results When Bulk Updating, indicate that a comment or correspondence has been recorded * adjust test level so failures reported in the right place * clean cought emails on END * move standalone related code into start_standalone_server * Fix URL used for CF of type autocomplete. * Remove dated comment * * show_customize -> ShowCustomize * detect browser lang in LocalizedDateTime in Date.pm too * in error message we were using static value, when it's dynamic * refactor StripContent: make it return empty string as long as the content does *not* have any *real* data, i.e. \S but without
and   * remove needless lines * url path fix in /Admin/Elements/ToolTabs * update Query str in Tabs in Chart.html * do *not* show the old saved search in /Search/Build.html if one loaded a saved search in /Search/Chart.html * use $ARGS{Query} instead of $Query because we may change $ARGS{Query} later in /Search/Chart.html * my %o = keys %$changes; is indeed wrong * refactor a little * make sure $PrimaryGroupBy is not undef in /Search/Elements/Chart * more saved chart search tests * only when SaveSearchLoad, we can update Query,ChartType,PrimaryGroupBy,etc. * we should save all the info when SavedSearchSave, not just Query * test PrimaryGroupBy and ChartStyle too in saved_search_chart.t * clean a bit: file input's value attr is useless * show Update botton when a dashboard contains deleted searches * tiny typo fix * DisplayName is translated string * better way to compare pane in @panes and @deleted in /Dashboards/Queries.html * use get_ok() so we do *not* need to test the status stuff for new added tests * erase the leading space in FormatType * tweak BulkLinks a bit * remove misleading comment * remove "use bytes;" in CreateTickets * Perltidy * Only set time values on clone if they are non-zero * check $container to see if $ARGS{\'SavedSearchLoad\'} can be loaded * we can't use @actions to store query's parse results: we should use another variable to do this * Feed ticket information to MakeClicky when we're clicky-fying attachments - Thanks to Salih Goenuellue at SWITCH * Pluck Ticket and Transaction out of %args sooner * Use spaces for indentation not tabs * More cleanup * Clean up some double-negative logic * Tidy * Fix warning message * sort of typo, ContentType was passed twice * Fix Postgres ACL script to work with usernames that need quoting (inspired by patch to RTFM) * Skip the richtext editor for android and iphone devices * we shouldn't escape selected="selected" * We should be using the same index on 4.0 and 4.1+ Originally added in 5c5dec3a88eae44b227dff2dc87a54e5105ba233 * Fix URL thanks to Jason A. Smith [rt3.fsck.com #14000] * there is no div around rtname anymore * Code indent * Remove a double negative to clarify logic slightly * Don't include these files in tarballs (cherry picked from commit 6dfb39e1075859e464656a25cf6a2af67fc7eb28) * add monospace font to .plain-text-white-space: .mono is merged to it * use err_headers_out instead of headers_out * RT was accidentally injecting too many newlines when rendering plaintext messages without
.
 * Stop people with old DateTime or DateTime::Locales from exploding in Preferences
 * Move all JS for hierarchical CFs onto derivative field; remove DerivativeCFs method
 * Call the method on the object, not the username string (Reported by Philip Shore)
 * When using WebExternalAuth don't issue a new session cookie on each request
 * Mention missing index that was only added to upgrade scripts

DOCUMENTATION
=============
 * Fixes rt3.fsck.com#13490 - confusing instructions for the mysql 4.1->5 upgrade commands

   Also fixes Debian Bug #550278
   Thanks to Marcus Better.
 * comment one confusing code
 * Slightly more clear --all explanation for rt-email-dashboards
 * Fix perldoc for Queue object

   * remove =testing that make perldoc stop just after it
   * add description like other RT objects
 * Fix shredder documentation typo
 * Documentation tweaks for new OutgoingMailFrom config
 * Add doc about @Plugins configuration variable.
 * We only have this index in the schema and upgrade scripts for mysql and oracle
   (cherry picked from commit 4f0d3e64378107be6bd40f377d3250f3031cfa9f)

FEATURES
========
 * Add a MassageDashboards callback for the dashboard homepage
 * Callback for massaging the dashboard tabs on the homepage and dashboards
 * refactor validation of transactions CFs on ticket update
 * Add a systemwide plugin directory at the request of the Debian RT maintainers
 * Fold hardcoded SelfService search format into a config option
 * make people can update saved chart search easily
 * we should try to decode uploaded template for offline
 * append plugin lib path to @INC if local lib path is *not* in @INC: see also ticket #13944
 * implement "Current Links" section in bulk update
 * If there is no ticket for outgoing mail, check a new configuration option for the From address
 * Document the Default key
 * Add CustomFieldValuesAsString method

   If you are using a multiple value custom field, FirstCustomFieldValue
   doesn't help because you actually want all the values.  This is a simple
   wrapper function to save you writing the map.
 * Add ability to skip QuickCreate ticket creation in the Initial callback
   (consistent with Ticket/Create.html and SelfService/Create.html)
 * allow to change page title via callback on Create
 * another place where title is used on Create
 * pass QueueObj into callback, we already loaded object
 * add simple search on Admin/Queues page
 * a callback in Elements/Logout
 * $SendTo argument in SimpleSearch widget

TESTS
=====
 * tiny url fix: we do *not* need 2 leading /
 * Avoid redefine warnings
 * Ignore t/tmp/
 * Begin a new test file for testing dashboard permissions
 * Refactor run_mailgate into run_and_capture
 * add t/web/offline_messages_utf8.t
 * minor changes in t/
 * refactor tests: new tmp dir, Cfg->Set updates file and more
   * new central tmp dir under t/tmp
   * tmp dir is not deleted on failures
   * centrall %tmp hash in RT::Test to hold names
     of files
   * set_config_wrapper that wraps RT->Config->Set calls and
     append changes into the test config file, so we can
     catch them in UI by restarting server
 * added t/web/ticket_update_without_content.t
 * add t/web/saved_search_chart.t
 * add t/web/command_line_with_unknown_field
 * add t/web/offline_utf8.t
 * add t/web/dashboard_with_deleted_saved_search.t
 * added t/web/search_bulk_update_links.t
 * add t/web/saved_search_permissions.t
 * Split on the same string we actually join on
 * refactor catching mails in tests

TRANSLATION
===========
 * fixed a typo in fr.po. thanks, JeanBenoit++
 * [fsck.com #14092] Fixes a typo in the Norwegian Bokmal translation
 * Danish translation fix from jonasbn. [fsck.com #14132]
 * missing localization

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: 
-------------- next part --------------
_______________________________________________
RT-Announce mailing list
RT-Announce at lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-announce

From kfcrocker at lbl.gov  Fri Dec 11 15:47:36 2009
From: kfcrocker at lbl.gov (Ken Crocker)
Date: Fri, 11 Dec 2009 12:47:36 -0800
Subject: [rt-users] ACL-Restrict access to Display Ticket Content
In-Reply-To: 
References: 
Message-ID: <4B22AFE8.6080300@lbl.gov>

Behzad,

Two questions:
1) Are there any differences between your Global settings and the Queue 
settings in question?
2) I'm not sure if you are talking about the "Show Results" letting  
users see the Queue  or if you are talking about seeing a Queue in the 
drop-down for "Creating a Ticket. If the the first, where do you give 
the right "ShowSavedSearch"?

Kenn
LBNL

On 12/10/2009 3:48 PM, Behzad Mahini wrote:
> Is there a way to restrict access for users such that they could see a  
> Queue (as shown in the "Quick search"), as well as a listing of the  
> Tickets corresponding to that Queue ("Show Results" -- Results.html  
> page)?  However, no further details & contents about a ticket (i.e.,  
> no Ticket metatdata) to be provided once a Ticket is selected from the  
> Results.html or Simple.html page.  "ShowTicket" privilege is the one  
> that messes me up.
>
> (RT 3.8.4)
> I tried different ACL combinations (for Queue "X"), and none worked.  
> Presently, I have the following ACL's for Queue "X":
>
> Everyone:
>
> 	CommentOnTicket
> 	CreateTicket
> 	ReplyToTicket
> 	SeeQueue
>
> Unprivileged
> 	-
> Privileged
> 	-
>
> User Defined Group:
>
> 	Grp-xyz
> 		I started from nothing, and experimented by one-by-one adding the  
> following privileges (as soon as I add "ShowTicket", it defeats what I  
> am after, and
> 		without "ShowTicket" the Queue does not appear for the user):
>
> 			ModifyTicket
> 			OwnTicket
> 			ShowTicket
> 			ShowTicketCommenst
> 			Watch
> 			WatchAsAdminCc
>
>
> Thanks,
> Behzad
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
>
>   


From kfcrocker at lbl.gov  Fri Dec 11 15:52:20 2009
From: kfcrocker at lbl.gov (Ken Crocker)
Date: Fri, 11 Dec 2009 12:52:20 -0800
Subject: [rt-users] scrip not working after upgrade
In-Reply-To: <20091211104701.477f7ce9@lapcolas>
References: <20091211104701.477f7ce9@lapcolas>
Message-ID: <4B22B104.3060200@lbl.gov>

Nicolas,

Try this:

# Custom Condition
#
my $trans = $self->TransactionObj;

return ($trans->Type eq "Status" &&
        $trans->NewValue eq "rejected");

Kenn
LBNL

On 12/11/2009 1:47 AM, Nicolas GUIOT wrote:
> Hi everyone,
>
> I'm upgrading from 3.6.1 to 3.8.6, and having (until now) just a last bug : 
>
> I had a scrip that was doing the following : if a ticket has been rejected, then email the user so that he knows about it.
>
> This was made like this : 
>
> Condition : On Status Change
> Action : Notify requestor, CCs, and AdminCCs
> Template : GlobalTemplate : Reject
> Stage : Transaction Create
>
> Custon Condition : 
>  if ( $Ticket->Status eq "rejected") { return 1; }
>  return 0;
>
> So, this works perfectly in the "old" setup (3.6.1). 
>
> But in 3.8.6, every time the status of the ticket changes (open, solved, closed, etc...), the Requestor receives a "ticket rejected" notice.
>
> Has anything changed between the 2 versions ? Did I miss something else ?
>
> Thanks in advance for your help
> Nicolas
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
>
>   


From andschais at gmail.com  Fri Dec 11 17:51:32 2009
From: andschais at gmail.com (andschais at gmail.com)
Date: Fri, 11 Dec 2009 23:51:32 +0100
Subject: [rt-users] On Correspond Action mandatory CF
In-Reply-To: 
References: 
Message-ID: 

Please, I really need help with this. Can anybody help me? Did I make the
wrong question?
I would appreciate any help.
Thanks!!


2009/12/8 andschais at gmail.com 

> Hi list, I need that a supervisor can validate every correspondence between
> ticket owner and requestor. Can I "block" an outgoing email if a CF has no
> value assigned? Is there a better way to do that validation? Can I
> modificate "Approvals" behavior to do that?
> Thanks in advance.
> Andres.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From nicolas.guiot at risc-group.com  Mon Dec 14 04:35:35 2009
From: nicolas.guiot at risc-group.com (Nicolas GUIOT)
Date: Mon, 14 Dec 2009 10:35:35 +0100
Subject: [rt-users] scrip not working after upgrade
In-Reply-To: <4B22B104.3060200@lbl.gov>
References: <20091211104701.477f7ce9@lapcolas>
	<4B22B104.3060200@lbl.gov>
Message-ID: <20091214103535.7a1cd210@lapcolas>

Hi,

I still have exactly the same behaviour : 

your ticket has been rejeted

Status: open

Please, everyone, just let me know how YOU warn users that their ticket has been rejected.

Nicolas

On Fri, 11 Dec 2009 12:52:20 -0800
Ken Crocker wrote:

> Nicolas,
> 
> Try this:
> 
> # Custom Condition
> #
> my $trans = $self->TransactionObj;
> 
> return ($trans->Type eq "Status" &&
>         $trans->NewValue eq "rejected");
> 
> Kenn
> LBNL
> 
> On 12/11/2009 1:47 AM, Nicolas GUIOT wrote:
> > Hi everyone,
> >
> > I'm upgrading from 3.6.1 to 3.8.6, and having (until now) just a
> > last bug : 
> >
> > I had a scrip that was doing the following : if a ticket has been
> > rejected, then email the user so that he knows about it.
> >
> > This was made like this : 
> >
> > Condition : On Status Change
> > Action : Notify requestor, CCs, and AdminCCs
> > Template : GlobalTemplate : Reject
> > Stage : Transaction Create
> >
> > Custon Condition : 
> >  if ( $Ticket->Status eq "rejected") { return 1; }
> >  return 0;
> >
> > So, this works perfectly in the "old" setup (3.6.1). 
> >
> > But in 3.8.6, every time the status of the ticket changes (open,
> > solved, closed, etc...), the Requestor receives a "ticket rejected"
> > notice.
> >
> > Has anything changed between the 2 versions ? Did I miss something
> > else ?
> >
> > Thanks in advance for your help
> > Nicolas
> >



From ruz at bestpractical.com  Mon Dec 14 13:33:22 2009
From: ruz at bestpractical.com (Ruslan Zakirov)
Date: Mon, 14 Dec 2009 21:33:22 +0300
Subject: [rt-users] Question about your Priorityasstring extension
In-Reply-To: <4B267FB4.3030208@sgs.com>
References: <4B267FB4.3030208@sgs.com>
Message-ID: <589c94400912141033k6fafff22pd6ebce739b4fec9f@mail.gmail.com>

Hello,

Cced the list.

I think in this extension we wrap the label into a html element with
css class. So you can add coloring using CSS. Just checked it and it's
the case. Priority label is wrapped into a  with different
classes, for example:

* ticket-info-priority-normal
* ticket-info-priority-urgent
* ticket-info-final-priority-normal

where "normal" and "urgent" are priority labels. You can add the
following rules into CSS:

.ticket-info-priority-normal { color: green; }
.ticket-info-priority-urgent { color: red; }

And so on. Please send me back a documentation patch for the module.

On Mon, Dec 14, 2009 at 9:11 PM, Christophe Sahut
 wrote:
>
> Hi Ruslan,
>
> ?I used the patch on the wiki for 3.6.x to convert numeric priority to labels and I switched to your extension for RT 3.8.x. It works well.
>
> ?I lost a feature between the two versions, it's the color of the labels. In the old version, I had redifined in the "/opt/rt3/local/html/Elements/RT__Ticket/ColumnMap" file :
>
>
> ??? Priority => {
> ??????? title???? => 'Priority', # loc
> ??????? attribute => 'Priority',
> ??????? name????? => 'Priority',
> ??????? value???? => sub { return $_[0]->Priority }
> ??? },
>
> to:
>
> ??? Priority => {
> ??????? title???? => 'Priority', # loc
> ??????? attribute => 'Priority',
> ??????? value???? => sub {
>
> ????????? my $pstring = $RT::PriorityType?$_[0]->PriorityAsString() : $_[0]->Priority;
>
> ????????? # optional color-coding is below. comment it out if you dont like it.
>
> ????????? # start-color-coding
> ????????? my $priority = $_[0]->Priority;
> ????????? my $colors = undef;
> ??????????? if ($priority ge '90') {
> ???????????????? $colors = "#FF0000";
> ??????????? } elsif ($priority ge '70') {
> ???????????????? $colors = "#FF6C00";
> ??????????? } elsif ($priority ge '50') {
> ???????????????? $colors = "#000EFF";
> ??????????? } elsif ($priority ge '0') {
> ???????????????? $colors = "#009000";
> ??????????? }
>
> ??????????? if ($colors) {
> ???????????????? $pstring = "$pstring"
> ??????????? }
> ????????? # end-color-coding
>
> ????????? return \"$pstring";
> ??????? }
> ??? },
>
>
>
> Even it's ugly (hard coding of colors in the code), it worked well.
>
> I see there is a file brought with your extension /opt/rt3/local/plugins/RT-Extension-PriorityAsString/html/Callbacks/PriorityAsString/Elements/RT__Ticket/ColumnMap/Once preventing this hack to work I guess.
>
> Do you have any idea to make this work or maybe to add this feature to your plugin ?
>
> Many thanks !
>
> --
>
> Christophe Sahut
>
> Information Technology
>
> SGS SA
>
> 1, Place des Alpes
> CH ? 1211 ? Geneva
>
> Phone:? +41 22 739 96 49
> Mobile:??+41 78 899 29 39
>
> E-mail?:???Christophe.Sahut at sgs.com
>
>
>
> Information in this email and any attachments is confidential and
> intended solely for the use of the individual(s) to whom it is addressed
> or otherwise directed. Please note that any views or opinions presented
> in this email are solely those of the author and do not necessarily
> represent those of the Company.
> Finally, the recipient should check this email and any attachments for
> the presence of viruses. The Company accepts no liability for any damage
> caused by any virus transmitted by this email.
> All SGS services are rendered in accordance with the applicable SGS
> conditions of service available on request and accessible at
> http://www.sgs.com/terms_and_conditions.htm



--
Best regards, Ruslan.


From ruslan.zakirov at gmail.com  Mon Dec 14 14:08:29 2009
From: ruslan.zakirov at gmail.com (Ruslan Zakirov)
Date: Mon, 14 Dec 2009 22:08:29 +0300
Subject: [rt-users] scrip not working after upgrade
In-Reply-To: <20091214103535.7a1cd210@lapcolas>
References: <20091211104701.477f7ce9@lapcolas> <4B22B104.3060200@lbl.gov>
	<20091214103535.7a1cd210@lapcolas>
Message-ID: <589c94400912141108l11b1d541v612e1e3b77985232@mail.gmail.com>

You have this behaviour because of value in Custom Condition drop
down, it should be user defined. Custom code only used with this
condition.

On Mon, Dec 14, 2009 at 12:35 PM, Nicolas GUIOT
 wrote:
> Hi,
>
> I still have exactly the same behaviour :
>
> your ticket has been rejeted
>
> Status: open
>
> Please, everyone, just let me know how YOU warn users that their ticket has been rejected.
>
> Nicolas
>
> On Fri, 11 Dec 2009 12:52:20 -0800
> Ken Crocker wrote:
>
>> Nicolas,
>>
>> Try this:
>>
>> # Custom Condition
>> #
>> my $trans = $self->TransactionObj;
>>
>> return ($trans->Type eq "Status" &&
>> ? ? ? ? $trans->NewValue eq "rejected");
>>
>> Kenn
>> LBNL
>>
>> On 12/11/2009 1:47 AM, Nicolas GUIOT wrote:
>> > Hi everyone,
>> >
>> > I'm upgrading from 3.6.1 to 3.8.6, and having (until now) just a
>> > last bug :
>> >
>> > I had a scrip that was doing the following : if a ticket has been
>> > rejected, then email the user so that he knows about it.
>> >
>> > This was made like this :
>> >
>> > Condition : On Status Change
>> > Action : Notify requestor, CCs, and AdminCCs
>> > Template : GlobalTemplate : Reject
>> > Stage : Transaction Create
>> >
>> > Custon Condition :
>> > ?if ( $Ticket->Status eq "rejected") { return 1; }
>> > ?return 0;
>> >
>> > So, this works perfectly in the "old" setup (3.6.1).
>> >
>> > But in 3.8.6, every time the status of the ticket changes (open,
>> > solved, closed, etc...), the Requestor receives a "ticket rejected"
>> > notice.
>> >
>> > Has anything changed between the 2 versions ? Did I miss something
>> > else ?
>> >
>> > Thanks in advance for your help
>> > Nicolas
>> >
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>



-- 
Best regards, Ruslan.


From dgriffi at cs.csubak.edu  Mon Dec 14 14:21:14 2009
From: dgriffi at cs.csubak.edu (David Griffith)
Date: Mon, 14 Dec 2009 11:21:14 -0800 (PST)
Subject: [rt-users] Custom logo in 3.8
Message-ID: 


I'm trying to change the logo in 3.8.6, but 
http://wiki.bestpractical.com/view/ChangeLogo doesn't work.  Googling 
around for the answer gives me multiple references to the instructions on 
that page not working.  Would someone please point out a guide for adding 
a custom logo to 3.8.6 that actually works?


-- 
David Griffith
dgriffi at cs.csubak.edu

A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


From es at compuvo.com  Mon Dec 14 14:30:18 2009
From: es at compuvo.com (edschuyler)
Date: Mon, 14 Dec 2009 11:30:18 -0800 (PST)
Subject: [rt-users] RT 3.8 VMware Appliance?
In-Reply-To: <4D0CC20035E9408899AB1386B8911CCE@oxfhqit>
References: <4D0CC20035E9408899AB1386B8911CCE@oxfhqit>
Message-ID: <26779968.post@talk.nabble.com>


Try here:

http://www.groundtactics.com/wordpress/?page_id=3&forumaction=doeditpost&forum=2&thread=8&start=0&forumpost=16
-- 
View this message in context: http://old.nabble.com/RT-3.8-VMware-Appliance--tp26714791p26779968.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



From smithj4 at bnl.gov  Mon Dec 14 14:50:07 2009
From: smithj4 at bnl.gov (Jason A. Smith)
Date: Mon, 14 Dec 2009 14:50:07 -0500
Subject: [rt-users] Custom logo in 3.8
In-Reply-To: 
References: 
Message-ID: <1260820207.8342.5.camel@smith.racf.bnl.gov>

Hi David,

It works for us in 3.8.6/7.  We are currently using a slightly modified
version of the patch mentioned in the Wiki, which we also tried to
report to the developers:

http://rt3.fsck.com/Ticket/Display.html?id=13964&user=guest&pass=guest

but I guess they had trouble getting the web2 style sheet to display
things correctly.  The logo we are using is very close to the size of
the original Best Practical logo, at 177x30 pixels.

~Jason


On Mon, 2009-12-14 at 11:21 -0800, David Griffith wrote:
> I'm trying to change the logo in 3.8.6, but 
> http://wiki.bestpractical.com/view/ChangeLogo doesn't work.  Googling 
> around for the answer gives me multiple references to the instructions on 
> that page not working.  Would someone please point out a guide for adding 
> a custom logo to 3.8.6 that actually works?

-- 
/------------------------------------------------------------------\
|  Jason A. Smith                          Email:  smithj4 at bnl.gov |
|  Atlas Computing Facility, Bldg. 510M    Phone: +1-631-344-4226  |
|  Brookhaven National Lab, P.O. Box 5000  Fax:   +1-631-344-7616  |
|  Upton, NY 11973-5000,  U.S.A.                                   |
\------------------------------------------------------------------/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3906 bytes
Desc: not available
URL: 

From jmoseley at corp.xanadoo.com  Mon Dec 14 15:01:46 2009
From: jmoseley at corp.xanadoo.com (James Moseley)
Date: Mon, 14 Dec 2009 14:01:46 -0600
Subject: [rt-users] Custom logo in 3.8
In-Reply-To: 
References: 
Message-ID: 

On Mon, Dec 14, 2009 at 1:21 PM, David Griffith  wrote:
>
> I'm trying to change the logo in 3.8.6, but
> http://wiki.bestpractical.com/view/ChangeLogo doesn't work. ?Googling
> around for the answer gives me multiple references to the instructions on
> that page not working. ?Would someone please point out a guide for adding
> a custom logo to 3.8.6 that actually works?

I know this is documented somewhere...  Without looking at the wiki or
official docs, here's what works:

Create directory called 'Elements' in /local/html

Create file called 'Logo' in above directory with contents similar to:

  
<%args>
  $show_name => 1


Lastly, place logo jpeg (or whatever format it's in) in:

/share/html/NoAuth/images

-- 
James


From dgriffi at cs.csubak.edu  Mon Dec 14 15:11:15 2009
From: dgriffi at cs.csubak.edu (David Griffith)
Date: Mon, 14 Dec 2009 12:11:15 -0800 (PST)
Subject: [rt-users] Custom logo in 3.8
In-Reply-To: 
References: 
	
Message-ID: 

On Mon, 14 Dec 2009, James Moseley wrote:

> On Mon, Dec 14, 2009 at 1:21 PM, David Griffith  wrote:
>>
>> I'm trying to change the logo in 3.8.6, but
>> http://wiki.bestpractical.com/view/ChangeLogo doesn't work. ?Googling
>> around for the answer gives me multiple references to the instructions on
>> that page not working. ?Would someone please point out a guide for adding
>> a custom logo to 3.8.6 that actually works?
>
> I know this is documented somewhere...  Without looking at the wiki or
> official docs, here's what works:
>
> Create directory called 'Elements' in /local/html
>
> Create file called 'Logo' in above directory with contents similar to:
>
>  
> <%args>
>  $show_name => 1
> 
>
> Lastly, place logo jpeg (or whatever format it's in) in:
>
> /share/html/NoAuth/images

Okay, I have a logo displaying, but it's at the bottom.  I can't seem to 
get it to go along the top like it did in 3.6 without stomping on other 
parts of the page.  Do I need to monkey around with 
NoAuth/css/web2/layout.css some more?

More questions:

Shouldn't share/html/Elements/Logo contain more generic stuff like 
$LogoURL and such as is described for 3.6?

Is it safe to comment out the invocation of /Elements/Footer from 
share/html/autohandler?

-- 
David Griffith
dgriffi at cs.csubak.edu

A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

From jmoseley at corp.xanadoo.com  Mon Dec 14 15:32:35 2009
From: jmoseley at corp.xanadoo.com (James Moseley)
Date: Mon, 14 Dec 2009 14:32:35 -0600
Subject: [rt-users] Custom logo in 3.8
In-Reply-To: 
References: 
	
	
Message-ID: 

On Mon, Dec 14, 2009 at 2:11 PM, David Griffith  wrote:
> On Mon, 14 Dec 2009, James Moseley wrote:
>
>> On Mon, Dec 14, 2009 at 1:21 PM, David Griffith 
>> wrote:
>>>
>>> I'm trying to change the logo in 3.8.6, but
>>> http://wiki.bestpractical.com/view/ChangeLogo doesn't work. ?Googling
>>> around for the answer gives me multiple references to the instructions on
>>> that page not working. ?Would someone please point out a guide for adding
>>> a custom logo to 3.8.6 that actually works?
>>
>> I know this is documented somewhere... ?Without looking at the wiki or
>> official docs, here's what works:
>>
>> Create directory called 'Elements' in /local/html
>>
>> Create file called 'Logo' in above directory with contents similar to:
>>
>> ?
>> <%args>
>> ?$show_name => 1
>> 
>>
>> Lastly, place logo jpeg (or whatever format it's in) in:
>>
>> /share/html/NoAuth/images
>
> Okay, I have a logo displaying, but it's at the bottom. ?I can't seem to get
> it to go along the top like it did in 3.6 without stomping on other parts of
> the page. ?Do I need to monkey around with NoAuth/css/web2/layout.css some
> more?
>
> More questions:
>
> Shouldn't share/html/Elements/Logo contain more generic stuff like $LogoURL
> and such as is described for 3.6?
>
> Is it safe to comment out the invocation of /Elements/Footer from
> share/html/autohandler?

Using my method above, you shouldn't have to make any other changes.
Essentially, back out of what you did according to the Wiki
instructions, ie, don't make any custom edits to the css files and
return the autohandler file to default.

As far as RT_SiteConfig, get rid of any $Logo references you may have
in that config.  Also, make sure you have the following in
RT_SiteConfig:

Set($WebImagesURL , $WebPath . "/NoAuth/images/");


-- 
James


From falcone at bestpractical.com  Mon Dec 14 15:46:52 2009
From: falcone at bestpractical.com (Kevin Falcone)
Date: Mon, 14 Dec 2009 15:46:52 -0500
Subject: [rt-users] unprivileged users need to log in twice
In-Reply-To: <20091209214914.GM910@jibsheet.com>
References: 
	<20091209185653.GU10507@bestpractical.com>
	
	<20091209200039.GL910@jibsheet.com>
	
	<20091209214914.GM910@jibsheet.com>
Message-ID: <20091214204652.GA867@jibsheet.com>

On Wed, Dec 09, 2009 at 04:49:14PM -0500, Kevin Falcone wrote:
> On Wed, Dec 09, 2009 at 12:26:53PM -0800, David Griffith wrote:
> > On Wed, 9 Dec 2009, Kevin Falcone wrote:
> > 
> > > On Wed, Dec 09, 2009 at 11:40:32AM -0800, David Griffith wrote:
> > >> Go to http://foobar.com/rt and you see the RT login screen.  Login as an
> > >> unprivileged user (Alice).  The username and password field will blank
> > >> out.  Type in Alice's username and password again, and you'll be logged in
> > >> as Alice.  That's the first part of the bug.
> > >
> > > What happens at http://foobar.com/rt/ vs /rt
> > > Also, what is your URL after the initial failed login?
> > 
> > Trailing slash makes no difference.  The URL after initial failed login is
> > http://foobar.com/rt/SelfService/
> > 
> > >> The second part is when you type in the username-password the second 
> > >> time.  If at that point you attempt to log in as a privileged user, 
> > >> you'll log in, but your permissions are that of an unprivileged user.
> > >
> > > This sounds like the initial login worked enough to get you redirected
> > > to /rt/SelfService/ which would certainly make it appear that you're
> > > an unprivileged user when you then log in as Bob (the privileged user)
> > 
> > I see.  Any ideas of what's going on?
> 
> Not without further digging, but at least we've explained the
> unprivileged rights issue.

I'd be interested to know if the following patch fixes this on debian
stable.  You should be able to apply it with

cd /usr/share/request-tracker3.6; patch < ErrHeadersOut.patch

and a restart of apache

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: 

From jhguitarist1 at gmail.com  Mon Dec 14 16:22:05 2009
From: jhguitarist1 at gmail.com (James Higgins)
Date: Mon, 14 Dec 2009 13:22:05 -0800 (PST)
Subject: [rt-users]  Trying to Scrip grouping of tickets
Message-ID: <26780002.post@talk.nabble.com>


The idea here that if a specific device is down and causing an outage to a
number of systems, that when the first ticket is created and a CF is set to
"Outage" that it will generate a Parent ticket for the Outage and link any
following tickets created for that Outage.  For some reason it was working
fine at one point, and I thought I was done.  Left it alone over the weekend
and on Monday morning it stopped working completely. Nothing was changed on
the server since I'm the only person with admin access.  I made some changes
to the scrip for debugging purposes and found that it is failing here:  

$startUnit = $ticket->CustomFieldValues('Unit Where Issue
Begins')->Next->Content;

It doesn't fail initially, but rather runs through the search list until it
ends.  That's where the problem occurs.  My thougts are that when it hits
the end of the list it fails here due to no ticket and therefore no CF to
pull data from.  I could be wrong but that is what it appears to be doing. 
Anyway here is what I have so far:

Action: User Defined
Template: Blank
Stage TransactionBatch
######################################################################
# Custom Condition:
# Check to confirm ticket is set to Outage
return 0 unless $self->TransactionObj->Type eq "Create";
return 0 unless $self->TicketObj->CustomFieldValues('Type of
Issue')->Next->Content eq 'Outage';
return 1;



######################################################################
# Custom Action:
# Search for other Outage tickets with Matching StartUnit
my $problemUnit = undef;
my $Transaction = $self->TransactionObj;
my $search = RT::Tickets->new($RT::SystemUser);
$problemUnit = $self->TicketObj->CustomFieldValues('Unit Where Issue
Begins')->Next->Content;

$search->LimitQueue(VALUE => 'Network Tech');
#$search->LimitCustomField(CUSTOMFIELD => 'Type of Issue', VALUE =>
'Outage');
#$search->LimitCustomField(CUSTOMFIELD => 'Customer Name', VALUE =>
'Master');
$search->LimitStatus(VALUE => 'new', OPERATOR => '=', ENTRYAGGREGATOR =>
'or');
$search->LimitStatus(VALUE => 'open', OPERATOR => '=');
if ($search->Count == 0) { return 1; }
my $id = undef;
my $startUnit = undef;
my $priority = 3;

while (my $ticket = $search->Next) { #start while
        # Ignore the ticket that caused this scrip to run
        next if $self->TicketObj->Id == $ticket->Id;
        $startUnit = $ticket->CustomFieldValues('Unit Where Issue
Begins')->Next->Content;
# Compare the two 'Unit Where Issue Begins' CFs
        if ($startUnit eq $problemUnit){ #start 1st IF
                my $master = $ticket->CustomFieldValues('Customer
Name')->Next->Content;
# Check to see if Ticket is Master and has Child Tickets
                next unless($master eq "Master");
                if ($ticket->Members() ge 1){ #start 2nd IF
# Ticket is Master/Parent -> add current Ticket as Child of Parent
                $id = $self->TicketObj->id;
                $ticket->AddLink(Type=>'MemberOf',Base=>$id);
# Increment Parent ticket Priority
                my $priority = $ticket->Priority;
                $ticket->SetPriority ($priority + 1);
                return 1; #exit scrip
                } #end 2nd IF
        } #end 1st IF

# No Parent found -> Create new Parent and link as Child
        my $child_ticket = RT::Ticket->new ($RT::SystemUser);
        my $typeIssue = $self->TicketObj->CustomFieldValues('Type of
Issue')->Next->Content;
        my $coop =
$self->TicketObj->CustomFieldValues('Coop')->Next->Content;
        my $customer = 'Master';

        $child_ticket->Create(
                Queue => 'Network Tech',
                Type => 'Ticket',
                Members => $self->TicketObj->Id
        );
################ Set CustomFields in Parent ################
        $child_ticket->AddCustomFieldValue(Field => 'Coop', Value => $coop);
        $child_ticket->AddCustomFieldValue(Field => 'Type of Issue', Value
=> $typeIssue);
        $child_ticket->AddCustomFieldValue(Field => 'Unit Where Issue
Begins', Value => $problemUnit);
        $child_ticket->AddCustomFieldValue(Field => 'Customer Name', Value
=> $customer);

return 1; #exit scrip

} #end while
return 1;
#############################################################

All help is greatly appreciated! 
-- 
View this message in context: http://old.nabble.com/Trying-to-Scrip-grouping-of-tickets-tp26780002p26780002.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



From praveen.velu at hotmail.com  Mon Dec 14 23:46:42 2009
From: praveen.velu at hotmail.com (Praveen C)
Date: Tue, 15 Dec 2009 10:16:42 +0530
Subject: [rt-users] Hyperlink in FCK editor
Message-ID: 


I am not able to add hyperlink in RT FCK editor. If i check the source in FCK editor, 
editor is adding Hyprerlinks but when mail send from RT hyper link is removing from message body

I am using Request tracker 3.8 in Debian lenny.. Please help if anybody worked on this 

-Praveen-
 		 	   		  
_________________________________________________________________
New Windows 7: Simplify what you do everyday. Find the right PC for you.
http://windows.microsoft.com/shop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From m.seaman at infracaninophile.co.uk  Tue Dec 15 02:20:50 2009
From: m.seaman at infracaninophile.co.uk (Matthew Seaman)
Date: Tue, 15 Dec 2009 07:20:50 +0000
Subject: [rt-users] Custom logo in 3.8
In-Reply-To: 
References: 
Message-ID: <4B2738D2.2050802@infracaninophile.co.uk>

David Griffith wrote:
> I'm trying to change the logo in 3.8.6, but 
> http://wiki.bestpractical.com/view/ChangeLogo doesn't work.  Googling 
> around for the answer gives me multiple references to the instructions on 
> that page not working.  Would someone please point out a guide for adding 
> a custom logo to 3.8.6 that actually works?

As I recall, the bit of HTML that would cause the logo to be displayed is
hidden using css settings under 3.8.x.  If you switch to one of the older
display styles it will appear.

Hmmm.... It's this chunk from .../html/NoAuth/css/web2/layout.css:

/* logo stuff */

div#logo {
}


div#logo a {
     display: none;             <<<<---------------****
    position: absolute;
    left: 0;
    bottom: 0;
}
div#logo a img {
    border: 0;
}
div#logo .rtname {
    position: absolute;
    font-weight: bold;
    top: 1em;
    left: 1em;
}

Take away the "display: none" and you should have a logo appear.  You should
do this using the 'Cleanly Customise' instructions from the wiki, plus see a
post I made to this list a few weeks ago about what you need to copy into your
local tree to make customised css work. 

However, a logo doesn't really have a good place to go in the 3.8.x screen
layout, which is probably why it was disabled in the first place.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: 

From dominic.hargreaves at oucs.ox.ac.uk  Tue Dec 15 03:47:33 2009
From: dominic.hargreaves at oucs.ox.ac.uk (Dominic Hargreaves)
Date: Tue, 15 Dec 2009 08:47:33 +0000
Subject: [rt-users] unprivileged users need to log in twice
In-Reply-To: <20091214204652.GA867@jibsheet.com>
References: 
	<20091209185653.GU10507@bestpractical.com>
	
	<20091209200039.GL910@jibsheet.com>
	
	<20091209214914.GM910@jibsheet.com>
	<20091214204652.GA867@jibsheet.com>
Message-ID: <20091215084733.GB3893@gunboat-diplomat.oucs.ox.ac.uk>

On Mon, Dec 14, 2009 at 03:46:52PM -0500, Kevin Falcone wrote:
> I'd be interested to know if the following patch fixes this on debian
> stable.  You should be able to apply it with
> 
> cd /usr/share/request-tracker3.6; patch < ErrHeadersOut.patch
> 
> and a restart of apache

Your patch seems to be missing :)

Also I would like to advise against patching package-installed files
directly in this way -- it's a very good way of getting confused as to
which version of the software you have installed. I will happily supply
a test package if required.

Thanks for looking at this, and sorry that I haven't been able to be
more proactive.

-- 
Dominic Hargreaves, Systems Development and Support Team
Computing Services, University of Oxford
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: 

From dominic.hargreaves at oucs.ox.ac.uk  Tue Dec 15 06:02:57 2009
From: dominic.hargreaves at oucs.ox.ac.uk (Dominic Hargreaves)
Date: Tue, 15 Dec 2009 11:02:57 +0000
Subject: [rt-users] unprivileged users need to log in twice
In-Reply-To: <20091209231514.GA9905@sysdev.oucs.ox.ac.uk>
References: 
	<20091209185653.GU10507@bestpractical.com>
	
	<20091209200039.GL910@jibsheet.com>
	
	
	<20091209185653.GU10507@bestpractical.com>
	
	<20091209231514.GA9905@sysdev.oucs.ox.ac.uk>
Message-ID: <20091215110257.GG3893@gunboat-diplomat.oucs.ox.ac.uk>

On Wed, Dec 09, 2009 at 11:15:14PM +0000, Dominic Hargreaves wrote:
> While I'm here though, I thought I could point out a few things about
> general RT packaging in Debian.
> 
> Debian stable's update policy is not to upload new upstream releases
> and we certainly wouldn't update from 3.6 to 3.8 in unstable.

For the avoidance of doubt, this was a typo. unstable has had 3.8
since 2009-03-09.

-- 
Dominic Hargreaves, Systems Development and Support Team
Computing Services, University of Oxford
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: 

From nicolas.guiot at risc-group.com  Tue Dec 15 06:08:23 2009
From: nicolas.guiot at risc-group.com (Nicolas GUIOT)
Date: Tue, 15 Dec 2009 12:08:23 +0100
Subject: [rt-users] scrip not working after upgrade
In-Reply-To: <589c94400912141108l11b1d541v612e1e3b77985232@mail.gmail.com>
References: <20091211104701.477f7ce9@lapcolas> <4B22B104.3060200@lbl.gov>
	<20091214103535.7a1cd210@lapcolas>
	<589c94400912141108l11b1d541v612e1e3b77985232@mail.gmail.com>
Message-ID: <20091215120823.66483ad2@lapcolas>

OK, it works now

Thx

On Mon, 14 Dec 2009 22:08:29 +0300
Ruslan Zakirov wrote:

> You have this behaviour because of value in Custom Condition drop
> down, it should be user defined. Custom code only used with this
> condition.
> 
> On Mon, Dec 14, 2009 at 12:35 PM, Nicolas GUIOT
>  wrote:
> > Hi,
> >
> > I still have exactly the same behaviour :
> >
> > your ticket has been rejeted
> >
> > Status: open
> >
> > Please, everyone, just let me know how YOU warn users that their
> > ticket has been rejected.
> >
> > Nicolas
> >
> > On Fri, 11 Dec 2009 12:52:20 -0800
> > Ken Crocker wrote:
> >
> >> Nicolas,
> >>
> >> Try this:
> >>
> >> # Custom Condition
> >> #
> >> my $trans = $self->TransactionObj;
> >>
> >> return ($trans->Type eq "Status" &&
> >> ? ? ? ? $trans->NewValue eq "rejected");
> >>
> >> Kenn
> >> LBNL
> >>
> >> On 12/11/2009 1:47 AM, Nicolas GUIOT wrote:
> >> > Hi everyone,
> >> >
> >> > I'm upgrading from 3.6.1 to 3.8.6, and having (until now) just a
> >> > last bug :
> >> >
> >> > I had a scrip that was doing the following : if a ticket has been
> >> > rejected, then email the user so that he knows about it.
> >> >
> >> > This was made like this :
> >> >
> >> > Condition : On Status Change
> >> > Action : Notify requestor, CCs, and AdminCCs
> >> > Template : GlobalTemplate : Reject
> >> > Stage : Transaction Create
> >> >
> >> > Custon Condition :
> >> > ?if ( $Ticket->Status eq "rejected") { return 1; }
> >> > ?return 0;
> >> >
> >> > So, this works perfectly in the "old" setup (3.6.1).
> >> >
> >> > But in 3.8.6, every time the status of the ticket changes (open,
> >> > solved, closed, etc...), the Requestor receives a "ticket
> >> > rejected" notice.
> >> >
> >> > Has anything changed between the 2 versions ? Did I miss
> >> > something else ?
> >> >
> >> > Thanks in advance for your help
> >> > Nicolas
> >> >
> >
> > _______________________________________________
> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> >
> > Community help: http://wiki.bestpractical.com
> > Commercial support: sales at bestpractical.com
> >
> >
> > Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> > Buy a copy at http://rtbook.bestpractical.com
> >
> 
> 
> 



--
Nicolas GUIOT
Risc Group - Service Production Exploitation
Alcatel/CTI - Av. du Gal de Gaulle
45140 ORMES - FRANCE
Tel : (+33) 2 38 71 84 98
Fax : (+33) 2 38 75 76 92


From falcone at bestpractical.com  Tue Dec 15 09:38:18 2009
From: falcone at bestpractical.com (Kevin Falcone)
Date: Tue, 15 Dec 2009 09:38:18 -0500
Subject: [rt-users] unprivileged users need to log in twice
In-Reply-To: <20091215084733.GB3893@gunboat-diplomat.oucs.ox.ac.uk>
References: 
	<20091209185653.GU10507@bestpractical.com>
	
	<20091209200039.GL910@jibsheet.com>
	
	<20091209214914.GM910@jibsheet.com>
	<20091214204652.GA867@jibsheet.com>
	<20091215084733.GB3893@gunboat-diplomat.oucs.ox.ac.uk>
Message-ID: <20091215143818.GB867@jibsheet.com>

On Tue, Dec 15, 2009 at 08:47:33AM +0000, Dominic Hargreaves wrote:
> On Mon, Dec 14, 2009 at 03:46:52PM -0500, Kevin Falcone wrote:
> > I'd be interested to know if the following patch fixes this on debian
> > stable.  You should be able to apply it with
> > 
> > cd /usr/share/request-tracker3.6; patch < ErrHeadersOut.patch
> > 
> > and a restart of apache
> 
> Your patch seems to be missing :)

Pull d9ab3597c6193ac82d93bc7882c06f8eab7cbc86 out of the git repo

> Also I would like to advise against patching package-installed files
> directly in this way -- it's a very good way of getting confused as to
> which version of the software you have installed. I will happily supply
> a test package if required.

Unfortunately, without rebuilding a .deb and making that available,
this seems the easiest way for someone to test the patch.

> Thanks for looking at this, and sorry that I haven't been able to be
> more proactive.

I believe this will fix the report against lenny's request-tracker3.6,
but I have no idea what is going on with etch's request-tracker3.6 and
am unlikely to be able to install an etch system to test.  The bug
report in the debian tracker sounded like mismatched url/cookies

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: 

From falcone at bestpractical.com  Tue Dec 15 09:38:54 2009
From: falcone at bestpractical.com (Kevin Falcone)
Date: Tue, 15 Dec 2009 09:38:54 -0500
Subject: [rt-users] Hyperlink in FCK editor
In-Reply-To: 
References: 
Message-ID: <20091215143854.GC867@jibsheet.com>

On Tue, Dec 15, 2009 at 10:16:42AM +0530, Praveen C wrote:
>    I am not able to add hyperlink in RT FCK editor. If i check the source in FCK editor,
>    editor is adding Hyprerlinks but when mail send from RT hyper link is removing from message
>    body
> 
>    I am using Request tracker 3.8 in Debian lenny.. Please help if anybody worked on this

Read through docs/templates.pod in your RT tarball for information on
how to create html templates.

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: 

From nicolas.guiot at risc-group.com  Tue Dec 15 11:51:49 2009
From: nicolas.guiot at risc-group.com (Nicolas GUIOT)
Date: Tue, 15 Dec 2009 17:51:49 +0100
Subject: [rt-users] RT doesn't send HTML emails
Message-ID: <20091215175149.17d88056@lapcolas>

Hi,

On a brand new setup( 3.8.4, DB migrated from 3.6.1), I was hoping to have email sent in HTML format, but it's not the case.

I do have Set($PreferRichText, 1); in RT_SiteConfig.pm, but that doesn't solve my problem.

I can see the WYSIWYG editor, tickets show with  font/colors etc.. in the GUI, but emails are still plain text.

Do I have something else to configure ?

Thanks in advance


--
Nicolas GUIOT
Risc Group - Service Production Exploitation
Alcatel/CTI - Av. du Gal de Gaulle
45140 ORMES - FRANCE
Tel : (+33) 2 38 71 84 98
Fax : (+33) 2 38 75 76 92


From sartak at bestpractical.com  Tue Dec 15 11:57:06 2009
From: sartak at bestpractical.com (Shawn M Moore)
Date: Tue, 15 Dec 2009 11:57:06 -0500
Subject: [rt-users] RT doesn't send HTML emails
In-Reply-To: <20091215175149.17d88056@lapcolas>
References: <20091215175149.17d88056@lapcolas>
Message-ID: <4B27BFE2.7060307@bestpractical.com>

On 09/12/15 11:51, Nicolas GUIOT wrote:
> Hi,
> 
> On a brand new setup( 3.8.4, DB migrated from 3.6.1), I was hoping to have email sent in HTML format, but it's not the case.
> 
> I do have Set($PreferRichText, 1); in RT_SiteConfig.pm, but that doesn't solve my problem.
> 
> I can see the WYSIWYG editor, tickets show with  font/colors etc.. in the GUI, but emails are still plain text.
> 
> Do I have something else to configure ?
> 
> Thanks in advance

Hi Nicolas,

RT's templates are plaintext. If you want HTML versions of the
templates, you'll have to write them yourself. There may be useful
examples on the wiki.

In your RT distribution there's a file called docs/templates.pod with
more information about HTML templates.

That documentation also says "We welcome contributions of HTML-ization
of builtin templates." As far as I know we have had no such
contributions! :)

Shawn


From dominic.hargreaves at oucs.ox.ac.uk  Tue Dec 15 12:19:16 2009
From: dominic.hargreaves at oucs.ox.ac.uk (Dominic Hargreaves)
Date: Tue, 15 Dec 2009 17:19:16 +0000
Subject: [rt-users] unprivileged users need to log in twice
In-Reply-To: <20091215143818.GB867@jibsheet.com>
References: 
	<20091209185653.GU10507@bestpractical.com>
	
	<20091209200039.GL910@jibsheet.com>
	
	<20091209214914.GM910@jibsheet.com>
	<20091214204652.GA867@jibsheet.com>
	<20091215084733.GB3893@gunboat-diplomat.oucs.ox.ac.uk>
	<20091215143818.GB867@jibsheet.com>
Message-ID: <20091215171916.GB13175@gunboat-diplomat.oucs.ox.ac.uk>

On Tue, Dec 15, 2009 at 09:38:18AM -0500, Kevin Falcone wrote:
> Pull d9ab3597c6193ac82d93bc7882c06f8eab7cbc86 out of the git repo
> 
> > Also I would like to advise against patching package-installed files
> > directly in this way -- it's a very good way of getting confused as to
> > which version of the software you have installed. I will happily supply
> > a test package if required.
> 
> Unfortunately, without rebuilding a .deb and making that available,
> this seems the easiest way for someone to test the patch.

Yeah, it's a difficult problem. I'll try and build a package with this
patch later on this evening in any case, in case that helps.
Another suggestion would be to give instructions that result in a
file in /usr/local/request-tracker3.6/lib instead.
 
> > Thanks for looking at this, and sorry that I haven't been able to be
> > more proactive.
> 
> I believe this will fix the report against lenny's request-tracker3.6,
> but I have no idea what is going on with etch's request-tracker3.6 and
> am unlikely to be able to install an etch system to test.  The bug
> report in the debian tracker sounded like mismatched url/cookies

Okay, thanks.

Dominic.

-- 
Dominic Hargreaves, Systems Development and Support Team
Computing Services, University of Oxford
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: 

From dgriffi at cs.csubak.edu  Tue Dec 15 12:48:16 2009
From: dgriffi at cs.csubak.edu (David Griffith)
Date: Tue, 15 Dec 2009 09:48:16 -0800 (PST)
Subject: [rt-users] unprivileged users need to log in twice
In-Reply-To: <20091215110257.GG3893@gunboat-diplomat.oucs.ox.ac.uk>
References: 
	<20091209185653.GU10507@bestpractical.com>
	
	<20091209200039.GL910@jibsheet.com>
	
	
	<20091209185653.GU10507@bestpractical.com>
	
	<20091209231514.GA9905@sysdev.oucs.ox.ac.uk>
	<20091215110257.GG3893@gunboat-diplomat.oucs.ox.ac.uk>
Message-ID: 

On Tue, 15 Dec 2009, Dominic Hargreaves wrote:

> On Wed, Dec 09, 2009 at 11:15:14PM +0000, Dominic Hargreaves wrote:
>> While I'm here though, I thought I could point out a few things about
>> general RT packaging in Debian.
>>
>> Debian stable's update policy is not to upload new upstream releases
>> and we certainly wouldn't update from 3.6 to 3.8 in unstable.
>
> For the avoidance of doubt, this was a typo. unstable has had 3.8
> since 2009-03-09.

Unfortunately I need to have 3.8 in the stable branch or available in the 
backports repository.  This weird problem and the need to allow 
unprivileged users to read RTFM articles prompted me to roll 3.8 on my 
own.

-- 
David Griffith
dgriffi at cs.csubak.edu

A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


From dgriffi at cs.csubak.edu  Tue Dec 15 13:32:39 2009
From: dgriffi at cs.csubak.edu (David Griffith)
Date: Tue, 15 Dec 2009 10:32:39 -0800 (PST)
Subject: [rt-users] Logo Replacement in 3.8.x success
Message-ID: 


Here is how I successfully replaced the default logo in RT 3.8.7:


1)  Add the following to RT_SiteConfig.pm, which may me in /opt/rt3/etc/
or /etc/request-tracker3.8/.  Alter as appropriate.

Set($WebBaseURL, "http://internal.yoyodyne.com");
Set($WebPath , "/rt");
Set($WebURL, $WebBaseURL . $WebPath . "/");
Set($WebImagesURL, $WebURL . "NoAuth/images/");
Set($LogoLinkURL, $WebBaseUrl);
Set($LogoURL, $WebImagesURL . "mylogo.png");
Set($LogoAltText, "Yoyodyne Inc");
Set($LogoWidth, '100');
Set($LogoHeight, '50');


2)  Copy $RT_HOME/share/html/NoAuth/css/web2/layout.css to
$RT_HOME/local/html/NoAuth/css/web2/.  Around line 172 (with RT 3.8.7)
you'll see:

div#logo a {
     display: none;
     left: 0;
     bottom: 0;
}

Change that to something suitable.  The following will place the logo at
the bottom left of every page with the left edge aligned with main body
of the page:

div#logo a {
     display: fixed;
     left: 10%;
     bottom: 1%;
}

It would be nice to get RT_SiteConfig.pm to set this part without the need 
to edit layout.css?


3)  Put your logo in $RT_HOME/local/html/NoAuth/images/.  Make sure the 
filename here matches what you pout in RT_SiteConfig.pm.


4)  Copy $RT_HOME/share/html/Elements/Logo to
$RT_HOME/local/html/Elements.  Around line 48 you'll see a line that
begins with "