Re: [rt-users] User login logout details
Hello Tony Any updates on this? Well, you can find login details in rt.log but only when loglevel is debug I think. For logout thats a whole other problem. If someone just decides to close its browser and then go home, you'll never recieve a logout from that. Apart from that I don't think the logout link will output debug info into rt.log. That is something you'll need to add. Regards, Joop Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] How do I exclude a global scrip for specific queues
Hi, try this http://github.com/tbrumm/RT-Extension-QueueDeactivatedScrips I think it should do what you like... best björn Am 15.06.10 23:31, schrieb slamp slamp: On Tue, Jun 15, 2010 at 5:28 PM, slamp slampslack...@gmail.com wrote: I have a global scrip Condition: User defined Action: Notify All I have this in my custom condition: return (($self-TransactionObj-Type eq Correspond) ($self-TicketObj-QueueObj-Name ne Q1)); return (($self-TransactionObj-Type eq Correspond) ($self-TicketObj-QueueObj-Name ne Q2)); return (($self-TransactionObj-Type eq Correspond) ($self-TicketObj-QueueObj-Name ne Q3)); Scrip is not executed when the queue is Q1, however it is executed when the queue is either Q2 or Q3. I think I need to somehow combine the logic but i am not much of a perl guy. Any help is appreciated. Would something like this work? return (($self-TransactionObj-Type eq Correspond) (($self-TicketObj-QueueObj-Name ne Q1) || ($self-TicketObj-QueueObj-Name ne Q2) || ($self-TicketObj-QueueObj-Name ne Q3))); Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] create ticket via email
i use rt 3.8 so it is there by default but i havent configured it, maybe thats whats missing if i get it to work with the extension:CommandByMail how should i type so that my custom fields are filled correctly ?? Kenneth Crocker wrote: Jim, You DO have CommandByMail installed, yes? Kenn LBNL On Tue, Jun 15, 2010 at 2:29 PM, Jim Tambling jim.tambl...@datatote.co.ukwrote: Hi, I found that when using email to create a ticket, unless it is sent in plain text the CF fields are not parsed correctly. Hope this helps, Jim -Original Message- From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of nordik24 Sent: 15 June 2010 13:12 To: rt-users@lists.bestpractical.com Subject: [rt-users] create ticket via email hi im able to create a ticket by sending an email but i dont know how to fill the other fields apart from Subject. I have 4 custom fields that i want to fill when i send the mail i use a php form to send the mails and i tried to put the custom field in the header to see if it works by typing CF.{custom field name}=value but nothing happens i hope someone knows how to do it -- View this message in context: http://old.nabble.com/create-ticket-via-email-tp2937p2937.html Sent from the Request Tracker - User mailing list archive at Nabble.com. Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.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/create-ticket-via-email-tp2937p28899910.html Sent from the Request Tracker - User mailing list archive at Nabble.com. Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Multiple RT Entry points?
Hey there, I'd like to be able to do HTTP auth on RT for my staff (who would have single sign-on), while still allowing standard web-logins for my customers. Is there an easy guide as to how to accomplish this? I've already got one RT instance doing web-auth, which was fairly straightforward, but it seems I'd need two separate URL-spaces (or ports) to make this duality work right, and RT would need to be aware of both. Does RT care what url it's being accessed by? If it's relevant, I'm using fastCGI, rt 3.8.6, under FreeBSD, built from ports. -Dan -- Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Multiple RT Entry points?
On Wed, Jun 16, 2010 at 04:08:13AM -0400, Dan Mahoney, System Admin wrote: Hey there, I'd like to be able to do HTTP auth on RT for my staff (who would have single sign-on), while still allowing standard web-logins for my customers. Is there an easy guide as to how to accomplish this? I've already got one RT instance doing web-auth, which was fairly straightforward, but it seems I'd need two separate URL-spaces (or ports) to make this duality work right, and RT would need to be aware of both. Does RT care what url it's being accessed by? First, you should set $WebFallbackToInternalAuth to 1 in RT_SiteConfig.pm so if RT didn't got user from http auth, he will propose the standard login/password screen. Second, just configure two virtualhosts, one for internal, with http auth, a second for external, without it. You may also be able to do this second step by using some apache Limit options to require auth only for some networks. Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Modify Side Bar
Is it possible to add a link to the My Day feature on the sidebar for everyone? I've looked at all of the HTML files in /opt/rt3/share/html but can't see anything obvious. Using RT3.8.8 on Fedora 12. Any help appreciated Thanks 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 # Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Modify Side Bar
Hi, you should read this wiki article: http://wiki.bestpractical.com/view/CustomizingWithCallbacks http://wiki.bestpractical.com/view/CustomizingWithCallbacksWhat you need is a Callback for the Tabs File. Torsten 2010/6/16 Guy Baxter gbax...@blackpoolsixth.ac.uk Is it possible to add a link to the My Day feature on the sidebar for everyone? I've looked at all of the HTML files in /opt/rt3/share/html but can't see anything obvious. Using RT3.8.8 on Fedora 12. Any help appreciated Thanks 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 # Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -- MFG Torsten Brumm http://www.brumm.me http://www.elektrofeld.de Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Modify Side Bar
On Wed, Jun 16, 2010 at 10:23:17AM +0100, Guy Baxter wrote: Is it possible to add a link to the My Day feature on the sidebar for everyone? It should already be in the Tools menu in the sidebar. -jesse Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] How do I exclude a global scrip for specific queues
Thank you for the suggestion. I would use that if it was part of RT itself however it would just be a pain to keep RT updated while keeping the patch working. 2010/6/16 Björn Schulz bjoern.sch...@desy.de: Hi, try this http://github.com/tbrumm/RT-Extension-QueueDeactivatedScrips I think it should do what you like... best björn Am 15.06.10 23:31, schrieb slamp slamp: On Tue, Jun 15, 2010 at 5:28 PM, slamp slampslack...@gmail.com wrote: I have a global scrip Condition: User defined Action: Notify All I have this in my custom condition: return (($self-TransactionObj-Type eq Correspond) ($self-TicketObj-QueueObj-Name ne Q1)); return (($self-TransactionObj-Type eq Correspond) ($self-TicketObj-QueueObj-Name ne Q2)); return (($self-TransactionObj-Type eq Correspond) ($self-TicketObj-QueueObj-Name ne Q3)); Scrip is not executed when the queue is Q1, however it is executed when the queue is either Q2 or Q3. I think I need to somehow combine the logic but i am not much of a perl guy. Any help is appreciated. Would something like this work? return (($self-TransactionObj-Type eq Correspond) (($self-TicketObj-QueueObj-Name ne Q1) || ($self-TicketObj-QueueObj-Name ne Q2) || ($self-TicketObj-QueueObj-Name ne Q3))); Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] How do I exclude a global scrip for specific queues
Scrips are stored in the database backend and are automatically available to the upgraded RT software. Cheers, Ken On Wed, Jun 16, 2010 at 09:24:23AM -0400, slamp slamp wrote: Thank you for the suggestion. I would use that if it was part of RT itself however it would just be a pain to keep RT updated while keeping the patch working. 2010/6/16 Bj?rn Schulz bjoern.sch...@desy.de: Hi, try this http://github.com/tbrumm/RT-Extension-QueueDeactivatedScrips I think it should do what you like... best ?bj?rn Am 15.06.10 23:31, schrieb slamp slamp: On Tue, Jun 15, 2010 at 5:28 PM, slamp slampslack...@gmail.com ?wrote: I have a global scrip Condition: User defined Action: Notify All I have this in my custom condition: return (($self-TransactionObj-Type eq Correspond) ($self-TicketObj-QueueObj-Name ne Q1)); return (($self-TransactionObj-Type eq Correspond) ($self-TicketObj-QueueObj-Name ne Q2)); return (($self-TransactionObj-Type eq Correspond) ($self-TicketObj-QueueObj-Name ne Q3)); Scrip is not executed when the queue is Q1, however it is executed when the queue is either Q2 or Q3. I think I need to somehow combine the logic but i am not much of a perl guy. Any help is appreciated. Would something like this work? return (($self-TransactionObj-Type eq Correspond) (($self-TicketObj-QueueObj-Name ne Q1) || ($self-TicketObj-QueueObj-Name ne Q2) || ($self-TicketObj-QueueObj-Name ne Q3))); Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] How do I exclude a global scrip for specific queues
i was actually talking about the files (Scrips.html and EditScrips) that needs to be replaced in RT if using this extension. On Wed, Jun 16, 2010 at 9:26 AM, Kenneth Marshall k...@rice.edu wrote: Scrips are stored in the database backend and are automatically available to the upgraded RT software. Cheers, Ken On Wed, Jun 16, 2010 at 09:24:23AM -0400, slamp slamp wrote: Thank you for the suggestion. I would use that if it was part of RT itself however it would just be a pain to keep RT updated while keeping the patch working. 2010/6/16 Bj?rn Schulz bjoern.sch...@desy.de: Hi, try this http://github.com/tbrumm/RT-Extension-QueueDeactivatedScrips I think it should do what you like... best ?bj?rn Am 15.06.10 23:31, schrieb slamp slamp: On Tue, Jun 15, 2010 at 5:28 PM, slamp slampslack...@gmail.com ?wrote: I have a global scrip Condition: User defined Action: Notify All I have this in my custom condition: return (($self-TransactionObj-Type eq Correspond) ($self-TicketObj-QueueObj-Name ne Q1)); return (($self-TransactionObj-Type eq Correspond) ($self-TicketObj-QueueObj-Name ne Q2)); return (($self-TransactionObj-Type eq Correspond) ($self-TicketObj-QueueObj-Name ne Q3)); Scrip is not executed when the queue is Q1, however it is executed when the queue is either Q2 or Q3. I think I need to somehow combine the logic but i am not much of a perl guy. Any help is appreciated. Would something like this work? return (($self-TransactionObj-Type eq Correspond) (($self-TicketObj-QueueObj-Name ne Q1) || ($self-TicketObj-QueueObj-Name ne Q2) || ($self-TicketObj-QueueObj-Name ne Q3))); Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] How do I exclude a global scrip for specific queues
Hi Slamp, Oh, sorry although even that should not be terribly bad since you can put the changed files in your ./local tree and move it between the releases. You will still need to do some regression testing, but you always need to do that. I do agree, that if you are that concerned about the impact of such a change to the maintainability of your RT installation, you may wish to reconsider making this alteration at all. You will need to weigh your options. Regards, Ken On Wed, Jun 16, 2010 at 09:33:51AM -0400, slamp slamp wrote: i was actually talking about the files (Scrips.html and EditScrips) that needs to be replaced in RT if using this extension. On Wed, Jun 16, 2010 at 9:26 AM, Kenneth Marshall k...@rice.edu wrote: Scrips are stored in the database backend and are automatically available to the upgraded RT software. Cheers, Ken On Wed, Jun 16, 2010 at 09:24:23AM -0400, slamp slamp wrote: Thank you for the suggestion. I would use that if it was part of RT itself however it would just be a pain to keep RT updated while keeping the patch working. 2010/6/16 Bj?rn Schulz bjoern.sch...@desy.de: Hi, try this http://github.com/tbrumm/RT-Extension-QueueDeactivatedScrips I think it should do what you like... best ?bj?rn Am 15.06.10 23:31, schrieb slamp slamp: On Tue, Jun 15, 2010 at 5:28 PM, slamp slampslack...@gmail.com ?wrote: I have a global scrip Condition: User defined Action: Notify All I have this in my custom condition: return (($self-TransactionObj-Type eq Correspond) ($self-TicketObj-QueueObj-Name ne Q1)); return (($self-TransactionObj-Type eq Correspond) ($self-TicketObj-QueueObj-Name ne Q2)); return (($self-TransactionObj-Type eq Correspond) ($self-TicketObj-QueueObj-Name ne Q3)); Scrip is not executed when the queue is Q1, however it is executed when the queue is either Q2 or Q3. I think I need to somehow combine the logic but i am not much of a perl guy. Any help is appreciated. Would something like this work? return (($self-TransactionObj-Type eq Correspond) (($self-TicketObj-QueueObj-Name ne Q1) || ($self-TicketObj-QueueObj-Name ne Q2) || ($self-TicketObj-QueueObj-Name ne Q3))); Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] AutoCreating Privledged users
Using external auth on 3.8.8 The config line doesn't appear to work: Set($AutoCreate, {Privileged = 1}); Is there a different way to auto create Privileged users? Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] User login logout details
I think this would be a cool edition. Logout seems less important (and harder to track as mentioned), but having the last login time of a user would be very handy. I have been finding myself grepping the logs to see when a user has logged in. Not the best solution and not something average Joe-know-nothing-about-Linux would be able to do. -Original Message- From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Joop van de Wege Sent: Wednesday, June 16, 2010 3:06 AM Cc: rt-users@lists.bestpractical.com Subject: Re: [rt-users] User login logout details Hello Tony Any updates on this? Well, you can find login details in rt.log but only when loglevel is debug I think. For logout thats a whole other problem. If someone just decides to close its browser and then go home, you'll never recieve a logout from that. Apart from that I don't think the logout link will output debug info into rt.log. That is something you'll need to add. Regards, Joop Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Changing RT theme
I will like to change the team of my RT but I don't know how to go about it. Can someone lead me to the path of the web theme and what to do in changing the theme to my own customizable css. I have RT 3.8.8 on Ubuntu 9 thanks, Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] create ticket via email
nordik, We just installed 3.8.7 and we had to install CommandByMail separately, along with adding it to the plugins. That's no problem and it works well. There are some readme instructions for how to use it, but basically, the command lines are CF{name of CF}: value (minus the quotes, of course). I ran into a problem with a text CF, or more accurately, ran into a problem with my email editor. Our email editor adds a newline delimiter when it does a wrap on content and CBM stops loading the value of a CF the moment it see a newline delimiter. So, when I enter more than 58 to 60 charaters (the point at which the email editor adds a newline delimiter), the rest gets dropped. So, keep that in mind. Good luck. Kenn LBNL On Wed, Jun 16, 2010 at 1:00 AM, nordik24 nordi...@gmail.com wrote: i use rt 3.8 so it is there by default but i havent configured it, maybe thats whats missing if i get it to work with the extension:CommandByMail how should i type so that my custom fields are filled correctly ?? Kenneth Crocker wrote: Jim, You DO have CommandByMail installed, yes? Kenn LBNL On Tue, Jun 15, 2010 at 2:29 PM, Jim Tambling jim.tambl...@datatote.co.ukwrote: Hi, I found that when using email to create a ticket, unless it is sent in plain text the CF fields are not parsed correctly. Hope this helps, Jim -Original Message- From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of nordik24 Sent: 15 June 2010 13:12 To: rt-users@lists.bestpractical.com Subject: [rt-users] create ticket via email hi im able to create a ticket by sending an email but i dont know how to fill the other fields apart from Subject. I have 4 custom fields that i want to fill when i send the mail i use a php form to send the mails and i tried to put the custom field in the header to see if it works by typing CF.{custom field name}=value but nothing happens i hope someone knows how to do it -- View this message in context: http://old.nabble.com/create-ticket-via-email-tp2937p2937.html Sent from the Request Tracker - User mailing list archive at Nabble.com. Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.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/create-ticket-via-email-tp2937p28899910.html Sent from the Request Tracker - User mailing list archive at Nabble.com. Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Original Quicksearch file
Max, I may be wrong, but I thought that with 3.8+ all you had to do for Quicksearh staus values was setin the Active staus in RT_SiteConfig.pm, which you did. I didn't think anything else needed to be done. Kenn LBNL On Tue, Jun 15, 2010 at 6:45 PM, Max McGrath mmcgr...@carthage.edu wrote: Hi all - Running RT 3.8.8 on Ubuntu 9.10. I was attempting to get the *resolved *status to show up in the Quicksearch box on the home page -- I had this working in 3.8.7 but it reverted back to the default way with the upgrade to 3.8.8. I, however, seemed to have screwed it up majorly and I now get the following on my home page: Error during compilation of /opt/rt3/local/html/Elements/Quicksearch: syntax error at /opt/rt3/local/html/Elements/Quicksearch line 54, near [. syntax error at /opt/rt3/local/html/Elements/Quicksearch line 58, near }] syntax error at /opt/rt3/local/html/Elements/Quicksearch line 60, near } } syntax error at /opt/rt3/local/html/Elements/Quicksearch line 64, near } So, if someone could either help me get my Quicksearch working with the resolved status or without the resolved status that'd be great! I just want it working again! :) Here is my config of /opt/rt3/local/html/Quicksearch/Elements/Quicksearch: div class=ticket-overview |/Widgets/TitleBox, title = loc(Quick search), bodyclass = , titleright = loc(Edit), titleright_href = RT-Config-Get('WebPath').'/Prefs/Quicksearch.html' /Elements/QueueSummary, cache = 'quick_search_queues', queue_filter = sub { $_-CurrentUserHasRight('ShowTicket') !exists $unwanted-{$_-Name} }, conditions = [. {cond = Status = 'new', name = loc ('new') }, {cond = Status = 'open', name = loc ('open') }, {cond = Status = 'resolved', name = loc ('resolved') }] / /div %INIT my $unwanted = $session{'CurrentUser'}-UserObj-Preferences('QuickSearch', {}); my @conditions = (); foreach ( RT::Queue-ActiveStatusArray ) { push @conditions, { cond = Status = '$_', name = loc($_) }; } I have also put the following in my RT_SiteConfig.pm: Set(@ActiveStatus, qw( new open resolved)); Am I missing something? Thanks! Max -- Max McGrath Asst. Network Admin/Systems Specialist Carthage College 262-552-5512 mmcgr...@carthage.edu Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Original Quicksearch file
Thanks Kenn - I will look into this again. So if I set this: Set(@ActiveStatus, qw( new open resolved)); in my RT_SiteConfig.pm I should only see those three in the Quicksearch? -- Max McGrath Asst. Network Admin/Systems Specialist Carthage College 262-552-5512 mmcgr...@carthage.edu On Wed, Jun 16, 2010 at 10:34 AM, Kenneth Crocker kfcroc...@lbl.gov wrote: Max, I may be wrong, but I thought that with 3.8+ all you had to do for Quicksearh staus values was setin the Active staus in RT_SiteConfig.pm, which you did. I didn't think anything else needed to be done. Kenn LBNL On Tue, Jun 15, 2010 at 6:45 PM, Max McGrath mmcgr...@carthage.eduwrote: Hi all - Running RT 3.8.8 on Ubuntu 9.10. I was attempting to get the *resolved *status to show up in the Quicksearch box on the home page -- I had this working in 3.8.7 but it reverted back to the default way with the upgrade to 3.8.8. I, however, seemed to have screwed it up majorly and I now get the following on my home page: Error during compilation of /opt/rt3/local/html/Elements/Quicksearch: syntax error at /opt/rt3/local/html/Elements/Quicksearch line 54, near [. syntax error at /opt/rt3/local/html/Elements/Quicksearch line 58, near }] syntax error at /opt/rt3/local/html/Elements/Quicksearch line 60, near } } syntax error at /opt/rt3/local/html/Elements/Quicksearch line 64, near } So, if someone could either help me get my Quicksearch working with the resolved status or without the resolved status that'd be great! I just want it working again! :) Here is my config of /opt/rt3/local/html/Quicksearch/Elements/Quicksearch: div class=ticket-overview |/Widgets/TitleBox, title = loc(Quick search), bodyclass = , titleright = loc(Edit), titleright_href = RT-Config-Get('WebPath').'/Prefs/Quicksearch.html' /Elements/QueueSummary, cache = 'quick_search_queues', queue_filter = sub { $_-CurrentUserHasRight('ShowTicket') !exists $unwanted-{$_-Name} }, conditions = [. {cond = Status = 'new', name = loc ('new') }, {cond = Status = 'open', name = loc ('open') }, {cond = Status = 'resolved', name = loc ('resolved') }] / /div %INIT my $unwanted = $session{'CurrentUser'}-UserObj-Preferences('QuickSearch', {}); my @conditions = (); foreach ( RT::Queue-ActiveStatusArray ) { push @conditions, { cond = Status = '$_', name = loc($_) }; } I have also put the following in my RT_SiteConfig.pm: Set(@ActiveStatus, qw( new open resolved)); Am I missing something? Thanks! Max -- Max McGrath Asst. Network Admin/Systems Specialist Carthage College 262-552-5512 mmcgr...@carthage.edu Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] E-mail reminders to owners of tickets
On Tue, Jun 15, 2010 at 04:13:14PM -0400, Asif Iqbal wrote: On Thu, Jun 10, 2010 at 3:09 PM, sp...@cclsd.org sp...@cclsd.org wrote: Hi Max, I use a daily dashboard subscription that is emailed to me each morning, apprising me of all open tickets according to the search criteria set in the dashboard. Works pretty well I setup the same thing and I do not receive email. I am using RT 3.8.2. My email works fine. I do not see any log in rt.log Set($LogToFileNamed , rt.log);#log to rt.log any idea how to debug this issue? Did you set up the cron job specified in README which takes care of sending dashboards? -kevin pgpIAUviYJuvd.pgp Description: PGP signature Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Original Quicksearch file
Max, Yep. That's what I did. We added two new statuses and that's all we needed to do. They showed up automatically in Quicksearch and MySupportQueues. Good luck. Kenn LBNL On Wed, Jun 16, 2010 at 8:38 AM, Max McGrath mmcgr...@carthage.edu wrote: Thanks Kenn - I will look into this again. So if I set this: Set(@ActiveStatus, qw( new open resolved)); in my RT_SiteConfig.pm I should only see those three in the Quicksearch? -- Max McGrath Asst. Network Admin/Systems Specialist Carthage College 262-552-5512 mmcgr...@carthage.edu On Wed, Jun 16, 2010 at 10:34 AM, Kenneth Crocker kfcroc...@lbl.govwrote: Max, I may be wrong, but I thought that with 3.8+ all you had to do for Quicksearh staus values was setin the Active staus in RT_SiteConfig.pm, which you did. I didn't think anything else needed to be done. Kenn LBNL On Tue, Jun 15, 2010 at 6:45 PM, Max McGrath mmcgr...@carthage.eduwrote: Hi all - Running RT 3.8.8 on Ubuntu 9.10. I was attempting to get the *resolved *status to show up in the Quicksearch box on the home page -- I had this working in 3.8.7 but it reverted back to the default way with the upgrade to 3.8.8. I, however, seemed to have screwed it up majorly and I now get the following on my home page: Error during compilation of /opt/rt3/local/html/Elements/Quicksearch: syntax error at /opt/rt3/local/html/Elements/Quicksearch line 54, near [. syntax error at /opt/rt3/local/html/Elements/Quicksearch line 58, near }] syntax error at /opt/rt3/local/html/Elements/Quicksearch line 60, near } } syntax error at /opt/rt3/local/html/Elements/Quicksearch line 64, near } So, if someone could either help me get my Quicksearch working with the resolved status or without the resolved status that'd be great! I just want it working again! :) Here is my config of /opt/rt3/local/html/Quicksearch/Elements/Quicksearch: div class=ticket-overview |/Widgets/TitleBox, title = loc(Quick search), bodyclass = , titleright = loc(Edit), titleright_href = RT-Config-Get('WebPath').'/Prefs/Quicksearch.html' /Elements/QueueSummary, cache = 'quick_search_queues', queue_filter = sub { $_-CurrentUserHasRight('ShowTicket') !exists $unwanted-{$_-Name} }, conditions = [. {cond = Status = 'new', name = loc ('new') }, {cond = Status = 'open', name = loc ('open') }, {cond = Status = 'resolved', name = loc ('resolved') }] / /div %INIT my $unwanted = $session{'CurrentUser'}-UserObj-Preferences('QuickSearch', {}); my @conditions = (); foreach ( RT::Queue-ActiveStatusArray ) { push @conditions, { cond = Status = '$_', name = loc($_) }; } I have also put the following in my RT_SiteConfig.pm: Set(@ActiveStatus, qw( new open resolved)); Am I missing something? Thanks! Max -- Max McGrath Asst. Network Admin/Systems Specialist Carthage College 262-552-5512 mmcgr...@carthage.edu Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] How do I exclude a global scrip for specific queues
On Tue, Jun 15, 2010 at 5:31 PM, slamp slamp slack...@gmail.com wrote: On Tue, Jun 15, 2010 at 5:28 PM, slamp slamp slack...@gmail.com wrote: I have a global scrip Condition: User defined Action: Notify All I have this in my custom condition: return (($self-TransactionObj-Type eq Correspond) ($self-TicketObj-QueueObj-Name ne Q1)); return (($self-TransactionObj-Type eq Correspond) ($self-TicketObj-QueueObj-Name ne Q2)); return (($self-TransactionObj-Type eq Correspond) ($self-TicketObj-QueueObj-Name ne Q3)); Scrip is not executed when the queue is Q1, however it is executed when the queue is either Q2 or Q3. I think I need to somehow combine the logic but i am not much of a perl guy. Any help is appreciated. Would something like this work? return (($self-TransactionObj-Type eq Correspond) (($self-TicketObj-QueueObj-Name ne Q1) || ($self-TicketObj-QueueObj-Name ne Q2) || ($self-TicketObj-QueueObj-Name ne Q3))); for the other non-perl people like me, the following works. return (($self-TransactionObj-Type eq Correspond) (($self-TicketObj-QueueObj-Name ne Q1) ($self-TicketObj-QueueObj-Name ne Q2) ($self-TicketObj-QueueObj-Name ne Q3))); Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] ScripConditions is not being honored / owner not sent an e-mail
I have the following in my ScripConditions. mysql select * from ScripActions where id = 20\G; *** 1. row *** id: 20 Name: Notify Owners, Requestors, Ccs Other Recipients Description: Sends mail to the Ticket Owner, Requestor and Ccs, and explicitly listed Ccs and Bccs ExecModule: Notify Argument: Owner,Requestor,Cc,OtherRecipients Creator: 1 Created: 2009-05-14 09:52:07 LastUpdatedBy: 1 LastUpdated: 2009-05-14 09:52:07 1 row in set (0.00 sec) -- GROUP members: bert ernie --- Scrip: Condition: On Correspond Action: Notify Owners, Requestors, Ccs Other Recipients Template: Notify-GROUP Stage: TransactionCreate --- Notify-GROUP template: Bcc: { my $GroupName = 'GROUP'; # instantiate a group object my $addGroupObj = RT::Group-new($RT::SystemUser); $addGroupObj-LoadUserDefinedGroup($GroupName); return undef unless $addGroupObj; my $addGroupMembersObj = $addGroupObj-UserMembersObj; my $CorresponderEmailAddress = $Transaction-CreatorObj-EmailAddress; my $RequestorEmailAddress = $Ticket-RequestorAddresses; my $res = ''; # walk through members of group while ( my $userObj = $addGroupMembersObj-Next) { my $email = $userObj-EmailAddress; next unless $email; # email can be empty if (( $email ne $CorresponderEmailAddress ) ( $email ne $RequestorEmailAddress )) { $res .= ', ' if $res; $res .= $email; } } $res; } RT-Attach-Message: yes {$Transaction-Content()} -- Ticket info: Owner: grover Requestors: bert Cc: oscar - Hit Reply on the web interface and grover is not listed This message will be sent to... I see only: To: bert Cc: oscar Bcc: ernie Am I missing anything or is RT not recognizing my ScripConditions? Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] ScripConditions is not being honored / owner not sent an e-mail
On Wed, Jun 16, 2010 at 3:31 PM, slamp slamp slack...@gmail.com wrote: I have the following in my ScripConditions. mysql select * from ScripActions where id = 20\G; *** 1. row *** id: 20 Name: Notify Owners, Requestors, Ccs Other Recipients Description: Sends mail to the Ticket Owner, Requestor and Ccs, and explicitly listed Ccs and Bccs ExecModule: Notify Argument: Owner,Requestor,Cc,OtherRecipients Creator: 1 Created: 2009-05-14 09:52:07 LastUpdatedBy: 1 LastUpdated: 2009-05-14 09:52:07 1 row in set (0.00 sec) -- GROUP members: bert ernie --- Scrip: Condition: On Correspond Action: Notify Owners, Requestors, Ccs Other Recipients Template: Notify-GROUP Stage: TransactionCreate --- Notify-GROUP template: Bcc: { my $GroupName = 'GROUP'; # instantiate a group object my $addGroupObj = RT::Group-new($RT::SystemUser); $addGroupObj-LoadUserDefinedGroup($GroupName); return undef unless $addGroupObj; my $addGroupMembersObj = $addGroupObj-UserMembersObj; my $CorresponderEmailAddress = $Transaction-CreatorObj-EmailAddress; my $RequestorEmailAddress = $Ticket-RequestorAddresses; my $res = ''; # walk through members of group while ( my $userObj = $addGroupMembersObj-Next) { my $email = $userObj-EmailAddress; next unless $email; # email can be empty if (( $email ne $CorresponderEmailAddress ) ( $email ne $RequestorEmailAddress )) { $res .= ', ' if $res; $res .= $email; } } $res; } RT-Attach-Message: yes {$Transaction-Content()} -- Ticket info: Owner: grover Requestors: bert Cc: oscar - Hit Reply on the web interface and grover is not listed This message will be sent to... I see only: To: bert Cc: oscar Bcc: ernie Am I missing anything or is RT not recognizing my ScripConditions? If I flip the Action to Notify Owner and hit reply, I see grover (owner) for the To field and ernie (GROUP member) for the Bcc field which works as expected. Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] ScripConditions is not being honored / owner not sent an e-mail
On Wed, Jun 16, 2010 at 3:44 PM, slamp slamp slack...@gmail.com wrote: On Wed, Jun 16, 2010 at 3:31 PM, slamp slamp slack...@gmail.com wrote: I have the following in my ScripConditions. mysql select * from ScripActions where id = 20\G; *** 1. row *** id: 20 Name: Notify Owners, Requestors, Ccs Other Recipients Description: Sends mail to the Ticket Owner, Requestor and Ccs, and explicitly listed Ccs and Bccs ExecModule: Notify Argument: Owner,Requestor,Cc,OtherRecipients Creator: 1 Created: 2009-05-14 09:52:07 LastUpdatedBy: 1 LastUpdated: 2009-05-14 09:52:07 1 row in set (0.00 sec) -- GROUP members: bert ernie --- Scrip: Condition: On Correspond Action: Notify Owners, Requestors, Ccs Other Recipients Template: Notify-GROUP Stage: TransactionCreate --- Notify-GROUP template: Bcc: { my $GroupName = 'GROUP'; # instantiate a group object my $addGroupObj = RT::Group-new($RT::SystemUser); $addGroupObj-LoadUserDefinedGroup($GroupName); return undef unless $addGroupObj; my $addGroupMembersObj = $addGroupObj-UserMembersObj; my $CorresponderEmailAddress = $Transaction-CreatorObj-EmailAddress; my $RequestorEmailAddress = $Ticket-RequestorAddresses; my $res = ''; # walk through members of group while ( my $userObj = $addGroupMembersObj-Next) { my $email = $userObj-EmailAddress; next unless $email; # email can be empty if (( $email ne $CorresponderEmailAddress ) ( $email ne $RequestorEmailAddress )) { $res .= ', ' if $res; $res .= $email; } } $res; } RT-Attach-Message: yes {$Transaction-Content()} -- Ticket info: Owner: grover Requestors: bert Cc: oscar - Hit Reply on the web interface and grover is not listed This message will be sent to... I see only: To: bert Cc: oscar Bcc: ernie Am I missing anything or is RT not recognizing my ScripConditions? If I flip the Action to Notify Owner and hit reply, I see grover (owner) for the To field and ernie (GROUP member) for the Bcc field which works as expected. Forgot to mention I am running version 3.8.7 on CentOS 4.8. Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] ScripConditions is not being honored / owner not sent an e-mail
On Wed, Jun 16, 2010 at 3:46 PM, slamp slamp slack...@gmail.com wrote: On Wed, Jun 16, 2010 at 3:44 PM, slamp slamp slack...@gmail.com wrote: On Wed, Jun 16, 2010 at 3:31 PM, slamp slamp slack...@gmail.com wrote: I have the following in my ScripConditions. mysql select * from ScripActions where id = 20\G; *** 1. row *** id: 20 Name: Notify Owners, Requestors, Ccs Other Recipients Description: Sends mail to the Ticket Owner, Requestor and Ccs, and explicitly listed Ccs and Bccs ExecModule: Notify Argument: Owner,Requestor,Cc,OtherRecipients Creator: 1 Created: 2009-05-14 09:52:07 LastUpdatedBy: 1 LastUpdated: 2009-05-14 09:52:07 1 row in set (0.00 sec) -- GROUP members: bert ernie --- Scrip: Condition: On Correspond Action: Notify Owners, Requestors, Ccs Other Recipients Template: Notify-GROUP Stage: TransactionCreate --- Notify-GROUP template: Bcc: { my $GroupName = 'GROUP'; # instantiate a group object my $addGroupObj = RT::Group-new($RT::SystemUser); $addGroupObj-LoadUserDefinedGroup($GroupName); return undef unless $addGroupObj; my $addGroupMembersObj = $addGroupObj-UserMembersObj; my $CorresponderEmailAddress = $Transaction-CreatorObj-EmailAddress; my $RequestorEmailAddress = $Ticket-RequestorAddresses; my $res = ''; # walk through members of group while ( my $userObj = $addGroupMembersObj-Next) { my $email = $userObj-EmailAddress; next unless $email; # email can be empty if (( $email ne $CorresponderEmailAddress ) ( $email ne $RequestorEmailAddress )) { $res .= ', ' if $res; $res .= $email; } } $res; } RT-Attach-Message: yes {$Transaction-Content()} -- Ticket info: Owner: grover Requestors: bert Cc: oscar - Hit Reply on the web interface and grover is not listed This message will be sent to... I see only: To: bert Cc: oscar Bcc: ernie Am I missing anything or is RT not recognizing my ScripConditions? If I flip the Action to Notify Owner and hit reply, I see grover (owner) for the To field and ernie (GROUP member) for the Bcc field which works as expected. Forgot to mention I am running version 3.8.7 on CentOS 4.8. i think i got it. the template was taking over Bcc so i modified it to include the owner. it works for me so here it is for anyone searching the list. Bcc: { my $GroupName = 'GROUP'; # instantiate a group object my $addGroupObj = RT::Group-new($RT::SystemUser); $addGroupObj-LoadUserDefinedGroup($GroupName); return undef unless $addGroupObj; my $addGroupMembersObj = $addGroupObj-UserMembersObj; my $CorresponderEmailAddress = $Transaction-CreatorObj-EmailAddress; my $RequestorEmailAddress = $Ticket-RequestorAddresses; my $OwnerEmailAddress = $Ticket-OwnerObj-EmailAddress; my $res = $OwnerEmailAddress; # walk through members of group while ( my $userObj = $addGroupMembersObj-Next) { my $email = $userObj-EmailAddress; next unless $email; # email can be empty if (( $email ne $CorresponderEmailAddress ) ( $email ne $RequestorEmailAddress )) { $res .= ', ' if $res; $res .= $email; } } $res; } RT-Attach-Message: yes {$Transaction-Content()} Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] E-mail reminders to owners of tickets
On Wed, Jun 16, 2010 at 11:54 AM, Kevin Falcone falc...@bestpractical.com wrote: On Tue, Jun 15, 2010 at 04:13:14PM -0400, Asif Iqbal wrote: On Thu, Jun 10, 2010 at 3:09 PM, sp...@cclsd.org sp...@cclsd.org wrote: Hi Max, I use a daily dashboard subscription that is emailed to me each morning, apprising me of all open tickets according to the search criteria set in the dashboard. Works pretty well I setup the same thing and I do not receive email. I am using RT 3.8.2. My email works fine. I do not see any log in rt.log Set($LogToFileNamed , rt.log); #log to rt.log any idea how to debug this issue? Did you set up the cron job specified in README which takes care of sending dashboards? doh! no i did not. let me set that up real quick. thanks for the pointer. -kevin Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Multiple mail id's for the RTAddressRegexp.
Hello, Can I set multiple mail id's for the below mentioned settings to avoid loopback in RT? Set($RTAddressRegexp , '^x...@yyy.com$'); If yes how can I proceed? Thanks Manohar Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com