From ram0502 at gmail.com Thu Dec 1 02:18:46 2011 From: ram0502 at gmail.com (Ram Moskovitz) Date: Wed, 30 Nov 2011 21:18:46 -1000 Subject: [rt-users] rt-users Digest, Vol 92, Issue 53 In-Reply-To: References: Message-ID: > > Date: Wed, 30 Nov 2011 12:44:23 +0100 From: Bart > To: rt-users > Subject: Re: [rt-users] The RT Wiki - Restructure (start using > categories?) > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > Hi, > Jay, thanks for your input. I do feel that approaching it with a blank > sheet of paper will be the best approach. > Though we'll have to use Wikia's abilities/structure, the below is aimed at > just that with a slight eye on "structuring from scratch". > *--- A rough sketch of the idea ---* > I like it at first glance. > * > * > The idea I have relies allot on the categories within Wikia. > A categorie page can contain content, thus e.g. the contributions page > could instead be a categorie page with some specific information on what > you can expect, maybe some extra links to other stuff, etc. But the > difference would be that since it is now a categorie page, that all > scripts/contributions that have the categorie set to contributions would be > automatically listed on that one page. (alphabetized) > With that in mind you can quite easily create "general" categorie pages for > all major topics and have any page regarding that topic being linked to > that categorie. > The front page would then contain a hierarchical structure with links to > all the "sections" (a.k.a. categorie pages). And obviously information on > what RT is, latest news/updates/etc. Another thing which you can easily add > to the front page is an RSS feed of the Bestpractical blog, and maybe add a > feed of the RT wiki itself showing the latest updates & newest pages. > (should both be doable I think) > Other things that might be nice to add are some Wikia features for the > community to promote the usage of the RT wiki (achievements and other fun > stuff). > *--- The structure (concept) ---* > Since the above shows what categories and categorie pages can do for you > it's important to create a structure (at first on paper) which will make > sure that all major topics regarding RT are covered so that any new article > can add a categorie appropriate for that specific article. (I assume that > the structure will eventually grow naturally) > Since this is just a concept I've sort of just looked at the current wiki > and tried to gather some basic topics, what I want to achieve with this > concept is to get input from others so that we can improve it further: > - RT Basics > - User Manual > - Custom Fields > - Articles > - REST > - RT Tool > - RT Cron Tool > - RT Installation (rough categories so that people can link install > guides to an OS categorie, no more/no less) > - Linux > - FreeBSD > - Other > - Manual > - RT Config: (a categorie for each major release) > - RT 4 > - RT 3.8 > - RT 3.6 > - Plugins: > - A categorie page for all plugins! This way you can link > scrips/configs/other goodies for a plugin to that specific categorie > page. > - Scrips: > - Basically a summary of all scrips available for RT. > - Automation > At this point I'm blank on ideas, I'll just leave it at this and see what > responses there are. I'm pretty sure this list can be better/structured > better, but you have to start somewhere ^_~ > *--- Rough plan of action ---* > This is a rather rough plan for setting up the structure: > - Remove all current categories (double check that the categorie pages > don't contain content of any kind). > - Add every single page currently in the wiki to a new categorie called > "Archive". > Might I suggest instead creating a page called "restructure todo list" and put a list of all the current pages on that page... that way the current structure and organization, to the extent it is useful or familiar, is maintained and yet we have a todo list to work off of? cheers, ram > - This sounds ugly but it's an easy way of keeping track of all the > wiki pages that still need better categorization. > - Basically a todo list, anything still in there needs to be > categorized. > - The idea is to do a few articles each day and eventually everything > will be nicely categorized. > - Create all the categories which have been though of, make sure that > theres's at least some basic information on the categorie page. > - Modify the home page to, at first, also contain the new categorie > structure (keep the old links for now). > - Start categorizing anything that's still in under Archive. > - And last but not least, at a certain point modify the front page to > only contain the new categorie structure. > So, those are some ideas. > Time for everyone to shoot at them ^_~ > -- Bart -------------- next part -------------- An HTML attachment was scrubbed... URL: From bart at pleh.info Thu Dec 1 02:46:29 2011 From: bart at pleh.info (Bart) Date: Thu, 1 Dec 2011 08:46:29 +0100 Subject: [rt-users] The RT Wiki - Restructure (start using categories?) In-Reply-To: <4ED651FC.3010905@bestpractical.com> References: <4158024.736.1322577674922.JavaMail.root@benjamin.baylink.com> <4ED651FC.3010905@bestpractical.com> Message-ID: Hi, I'm not yet entirely familiar with Wikia's options, will look into the special pages :-) Having an uncategorized page would make things pretty easy. -- Bart Op 30 november 2011 16:55 schreef Thomas Sibley het volgende: > On 11/30/2011 06:44 AM, Bart wrote: > > * Add every single page currently in the wiki to a new categorie > > called "Archive". > > o This sounds ugly but it's an easy way of keeping track of all > > the wiki pages that still need better categorization. > > o Basically a todo list, anything still in there needs to be > > categorized. > > o The idea is to do a few articles each day and eventually > > everything will be nicely categorized. > > There's no need for this type of category since Wikia gives us the page: > http://requesttracker.wikia.com/wiki/Special:UncategorizedPages > > You can find a list of special pages here: > http://requesttracker.wikia.com/wiki/Special:SpecialPages > > Thomas > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston TBA > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bart at pleh.info Thu Dec 1 03:08:54 2011 From: bart at pleh.info (Bart) Date: Thu, 1 Dec 2011 09:08:54 +0100 Subject: [rt-users] The RT Wiki - Restructure (start using categories?) In-Reply-To: References: <4158024.736.1322577674922.JavaMail.root@benjamin.baylink.com> Message-ID: Hi, To summarize: - Category page for user profiles (in order to automatically link to RT users) - User manual needs special treatment (needs some pondering) - For the RT config, a separate page for each configuration option. But they need to be grouped based on a specific topic. - FAQ category page, listing all FAQ items as an option. (makes it easy to add just about any page with a brilliant explanation to the FAQ) And last but not least, make sure to chop things into smaller pieces. (basically approach this as a project with milestones, etc.) For the pieces, I believe we're already kinda working towards it :-) 1. Think of a structure with the categories in mind. 2. Think of other things that will help make the wiki better. (usage of Wikia special features, RSS feeds, etc.) 3. Create the steps in which we'll transform the current wiki towards what we want it to be. 1. First step could/should be to clean all current category pages (fresh start). 2. Create the new categorie pages & structure. 3. With the "Uncategorized" special page, work towards categorizing all wiki pages: 1. With the goal to categorized everything. 4. Modify the front page to display the new structure/category pages. 5. . . . 4. And once the steps which we should take are clear we can start doing stuff ^_^ Something like that at least. -- Bart Op 30 november 2011 18:48 schreef Ruslan Zakirov het volgende: > Hi, > > Idea is good. Here are some ideas about categorizing and where people > with MediaWiki experience can help kickstart content improvements. > > I think good and easy point to start is to organize installation guides. > > There are lot of pages that are sort of user profiles. They should get > particular category, for example OldStyleUserProfile. Some of them are > linked from http://requesttracker.wikia.com/wiki/RTUsers. May be we > can replace this page with generated page that links to wikia's user > profiles. > > User Manual is a special beast. It should be continuous reading and at > the same time splitted into smaller topics. I believe MediaWiki has > some tools to include content of pages into other pages. > > Every config option and right should get a page matching its name, > however they should get included into other blocks. For example > WebDomain, WebPath, WebPort and couple of options should be described > as one thing. For example OwnTicket and ownership related rights > should be described as one thing. I don't know media wiki best > practices to organize such thing. > > FAQ may win from better structure. At this moment it's not very managable. > > There are more, but enough for today. I think that if you find a good > solution for some particular problem and describe how it should be > done then people would help you clean cages and normalize content. > Just split things into smaller steps. > > On Wed, Nov 30, 2011 at 3:44 PM, Bart wrote: > > Hi, > > > > Jay, thanks for your input. I do feel that approaching it with a blank > sheet > > of paper will be the best approach. > > > > Though we'll have to use Wikia's abilities/structure, the below is aimed > at > > just that with a slight eye on "structuring from scratch". > > > > --- A rough sketch of the idea --- > > > > The idea I have relies allot on the categories within Wikia. > > > > A categorie page can contain content, thus e.g. the contributions page > could > > instead be a categorie page with some specific information on what you > can > > expect, maybe some extra links to other stuff, etc. But the difference > would > > be that since it is now a categorie page, that all scripts/contributions > > that have the categorie set to contributions would be automatically > listed > > on that one page. (alphabetized) > > > > With that in mind you can quite easily create "general" categorie pages > for > > all major topics and have any page regarding that topic being linked to > that > > categorie. > > > > The front page would then contain a hierarchical structure with links to > all > > the "sections" (a.k.a. categorie pages). And obviously information on > what > > RT is, latest news/updates/etc. Another thing which you can easily add to > > the front page is an RSS feed of the Bestpractical blog, and maybe add a > > feed of the RT wiki itself showing the latest updates & newest pages. > > (should both be doable I think) > > > > Other things that might be nice to add are some Wikia features for the > > community to promote the usage of the RT wiki (achievements and other fun > > stuff). > > > > --- The structure (concept) --- > > > > Since the above shows what categories and categorie pages can do for you > > it's important to create a structure (at first on paper) which will make > > sure that all major topics regarding RT are covered so that any new > article > > can add a categorie appropriate for that specific article. (I assume that > > the structure will eventually grow naturally) > > > > Since this is just a concept I've sort of just looked at the current wiki > > and tried to gather some basic topics, what I want to achieve with this > > concept is to get input from others so that we can improve it further: > > > > RT Basics > > > > User Manual > > Custom Fields > > Articles > > REST > > RT Tool > > RT Cron Tool > > > > RT Installation (rough categories so that people can link install guides > to > > an OS categorie, no more/no less) > > > > Linux > > FreeBSD > > Other > > Manual > > > > RT Config: (a categorie for each major release) > > > > RT 4 > > RT 3.8 > > RT 3.6 > > > > Plugins: > > > > A categorie page for all plugins! This way you can link > scrips/configs/other > > goodies for a plugin to that specific categorie page. > > > > Scrips: > > > > Basically a summary of all scrips available for RT. > > > > Automation > > > > At this point I'm blank on ideas, I'll just leave it at this and see what > > responses there are. I'm pretty sure this list can be better/structured > > better, but you have to start somewhere ^_~ > > > > --- Rough plan of action --- > > > > This is a rather rough plan for setting up the structure: > > > > Remove all current categories (double check that the categorie pages > don't > > contain content of any kind). > > Add every single page currently in the wiki to a new categorie called > > "Archive". > > > > This sounds ugly but it's an easy way of keeping track of all the wiki > pages > > that still need better categorization. > > Basically a todo list, anything still in there needs to be categorized. > > The idea is to do a few articles each day and eventually everything will > be > > nicely categorized. > > > > Create all the categories which have been though of, make sure that > theres's > > at least some basic information on the categorie page. > > Modify the home page to, at first, also contain the new categorie > structure > > (keep the old links for now). > > Start categorizing anything that's still in under Archive. > > And last but not least, at a certain point modify the front page to only > > contain the new categorie structure. > > > > So, those are some ideas. > > > > Time for everyone to shoot at them ^_~ > > > > -- Bart > > > > -------- > > RT Training Sessions (http://bestpractical.com/services/training.html) > > * Boston ? TBA > > > > -- > Best regards, Ruslan. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bart at pleh.info Thu Dec 1 03:11:00 2011 From: bart at pleh.info (Bart) Date: Thu, 1 Dec 2011 09:11:00 +0100 Subject: [rt-users] rt-users Digest, Vol 92, Issue 53 In-Reply-To: References: Message-ID: Turns out that it isn't needed to create a category. There's a special page called "Uncategorized items" for that purpose. -- Bart Op 1 december 2011 08:18 schreef Ram Moskovitz het volgende: > Date: Wed, 30 Nov 2011 12:44:23 +0100 > > From: Bart >> To: rt-users >> Subject: Re: [rt-users] The RT Wiki - Restructure (start using >> categories?) >> Message-ID: >> > > >> Content-Type: text/plain; charset="iso-8859-1" >> Hi, >> Jay, thanks for your input. I do feel that approaching it with a blank >> sheet of paper will be the best approach. >> Though we'll have to use Wikia's abilities/structure, the below is aimed >> at >> just that with a slight eye on "structuring from scratch". >> *--- A rough sketch of the idea ---* >> > > I like it at first glance. > > > >> * >> * >> The idea I have relies allot on the categories within Wikia. >> A categorie page can contain content, thus e.g. the contributions page >> could instead be a categorie page with some specific information on what >> you can expect, maybe some extra links to other stuff, etc. But the >> difference would be that since it is now a categorie page, that all >> scripts/contributions that have the categorie set to contributions would >> be >> automatically listed on that one page. (alphabetized) >> With that in mind you can quite easily create "general" categorie pages >> for >> all major topics and have any page regarding that topic being linked to >> that categorie. >> The front page would then contain a hierarchical structure with links to >> all the "sections" (a.k.a. categorie pages). And obviously information on >> what RT is, latest news/updates/etc. Another thing which you can easily >> add >> to the front page is an RSS feed of the Bestpractical blog, and maybe add >> a >> feed of the RT wiki itself showing the latest updates & newest pages. >> (should both be doable I think) >> Other things that might be nice to add are some Wikia features for the >> community to promote the usage of the RT wiki (achievements and other fun >> stuff). >> *--- The structure (concept) ---* >> Since the above shows what categories and categorie pages can do for you >> it's important to create a structure (at first on paper) which will make >> sure that all major topics regarding RT are covered so that any new >> article >> can add a categorie appropriate for that specific article. (I assume that >> the structure will eventually grow naturally) >> Since this is just a concept I've sort of just looked at the current wiki >> and tried to gather some basic topics, what I want to achieve with this >> concept is to get input from others so that we can improve it further: >> - RT Basics >> - User Manual >> - Custom Fields >> - Articles >> - REST >> - RT Tool >> - RT Cron Tool >> - RT Installation (rough categories so that people can link install >> guides to an OS categorie, no more/no less) >> - Linux >> - FreeBSD >> - Other >> - Manual >> - RT Config: (a categorie for each major release) >> - RT 4 >> - RT 3.8 >> - RT 3.6 >> - Plugins: >> - A categorie page for all plugins! This way you can link >> scrips/configs/other goodies for a plugin to that specific categorie >> page. >> - Scrips: >> - Basically a summary of all scrips available for RT. >> - Automation >> At this point I'm blank on ideas, I'll just leave it at this and see what >> responses there are. I'm pretty sure this list can be better/structured >> better, but you have to start somewhere ^_~ >> *--- Rough plan of action ---* >> This is a rather rough plan for setting up the structure: >> - Remove all current categories (double check that the categorie pages >> don't contain content of any kind). >> - Add every single page currently in the wiki to a new categorie called >> "Archive". >> > > > Might I suggest instead creating a page called "restructure todo list" and > put a list of all the current pages on that page... that way the current > structure and organization, to the extent it is useful or familiar, is > maintained and yet we have a todo list to work off of? > > cheers, > ram > > > >> - This sounds ugly but it's an easy way of keeping track of all the >> wiki pages that still need better categorization. >> - Basically a todo list, anything still in there needs to be >> categorized. >> - The idea is to do a few articles each day and eventually everything >> will be nicely categorized. >> - Create all the categories which have been though of, make sure that >> theres's at least some basic information on the categorie page. >> - Modify the home page to, at first, also contain the new categorie >> structure (keep the old links for now). >> - Start categorizing anything that's still in under Archive. >> - And last but not least, at a certain point modify the front page to >> only contain the new categorie structure. >> So, those are some ideas. >> Time for everyone to shoot at them ^_~ >> -- Bart > > > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ? TBA > -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-rohan at northwestern.edu Thu Dec 1 06:10:16 2011 From: d-rohan at northwestern.edu (Daniel G. Rohan) Date: Thu, 1 Dec 2011 14:10:16 +0300 Subject: [rt-users] Removing CC after initial ticket submission In-Reply-To: References: Message-ID: <65375FD4-1A6A-4707-B06E-2FE4C05737FE@northwestern.edu> Hi all, I'm trying to get an idea of how this would be accomplished. What we're hoping to do is modify one of our queues so that if a requestor CC's someone on the initial ticket, that CC will be removed from all subsequent comments/correspondance. I took a quick look through the RT contributions archive, but I couldn't see any scrips that would match this functionality. Is anyone out there aware of anything like this or have a hint as to how this could be done? We need this to be done only for a single queue, so modifying RT_SiteConfig.pm isn't really an option for us. Many thanks, Dan Rohan From bart at pleh.info Thu Dec 1 06:41:08 2011 From: bart at pleh.info (Bart) Date: Thu, 1 Dec 2011 12:41:08 +0100 Subject: [rt-users] Removing CC after initial ticket submission In-Reply-To: <65375FD4-1A6A-4707-B06E-2FE4C05737FE@northwestern.edu> References: <65375FD4-1A6A-4707-B06E-2FE4C05737FE@northwestern.edu> Message-ID: Hi, I guess you could make a scrip which launches during ticket creation (Transaction Batch) which removes anyone in the CC for that ticket. Since it launches in batch it will do it's work after the ticket is created, so those in CC would still be fairly easy to add if needed during replies. This scrip does the oposite but might give you some ideas: http://requesttracker.wikia.com/wiki/OnCreateSetDeptHeadCc -- Bart Op 1 december 2011 12:10 schreef Daniel G. Rohan het volgende: > Hi all, > > I'm trying to get an idea of how this would be accomplished. > > What we're hoping to do is modify one of our queues so that if a requestor > CC's someone on the initial ticket, that CC will be removed from all > subsequent comments/correspondance. I took a quick look through the RT > contributions archive, but I couldn't see any scrips that would match this > functionality. Is anyone out there aware of anything like this or have a > hint as to how this could be done? We need this to be done only for a > single queue, so modifying RT_SiteConfig.pm isn't really an option for us. > > Many thanks, > > Dan Rohan > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston TBA > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.johnson at nosm.ca Thu Dec 1 08:56:26 2011 From: mike.johnson at nosm.ca (Mike Johnson) Date: Thu, 1 Dec 2011 08:56:26 -0500 Subject: [rt-users] What right gives Configuration in the left hand menu In-Reply-To: References: Message-ID: Hi Kenn, Yes, that is what I was trying to accomplish. I wasn't giving "SuperUser" to the group, the group name was " Super Users" meaning they have elevated privleges over a typical " Users" member. I just couldn't find the "ShowConfigTab" I remember reading about that change when we moved from 3.2.1 --> 3.8.10 but for whatever reason I couldn't find it. I obviously didn't look at the global group rights... :( Thanks for your responses guys. Mike. On Wed, Nov 30, 2011 at 4:46 PM, Kenneth Crocker wrote: > Mike, > > Unless you trust those user with EVERYTHING, I wouldn't grant "SuperUser" > to a lot of people. You can grant "ShowConfigTab" to the group you > mentioned and then grant them rights like "ModifyACL", "ModifyScrips", > "ModifyTemplates", etc. without giving away the store. > > Hope this helps. > > Kenn > > On Wed, Nov 30, 2011 at 12:49 PM, Mike Johnson wrote: > >> Hi folks, >> >> I'm having some difficulties figuring out why my users can't get to the >> "Configuration" menu in RT. I've attempted to google/search the rt-users >> list, but am having a difficult time getting what I want. >> >> I'm trying to allow a group of users to have access to configure their >> queue specific custom fields. I am probably going about this wrong... and >> need some direction... >> >> Let's say I have a queue called "Support", I create a group called >> "Support Users" and use that to assign the rights to be able to update >> tickets, own tickets, etc etc for that queue. >> >> I create a group called "Support Super Users" and this group I want to >> have the ability to edit the queue's templates, scrips, custom fields etc. >> >> I thought you would just go into the configuration tab, select the queue, >> and give the "Support Super Users" group access to things like Modify >> Custom Field, Modify Scrips Modify Template, etc. >> >> This doesn't add the "configuration" menu item on the user's interface... >> >> How does that happen? Are they supposed to go through something else to >> modify the custom field attributes of a queue? Or the scrips of a queue? >> etc? >> >> Thanks! >> Mike. >> >> -- >> 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 nosm.ca >> >> -------- >> RT Training Sessions (http://bestpractical.com/services/training.html) >> * Boston ? TBA >> > > -- 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 nosm.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From vollmar at nf.mpg.de Thu Dec 1 09:17:51 2011 From: vollmar at nf.mpg.de (Stefan Vollmar) Date: Thu, 01 Dec 2011 15:17:51 +0100 Subject: [rt-users] notify colleagues about a ticket in RT web interface (not by mail) Message-ID: <37DA7379-66D2-4EC5-B65C-41635371479C@nf.mpg.de> Hi, we have just started using RT and come across this problem: a ticket has been opened (by one of our users via a simplified web interface or internally), somebody in the support group has started working on it (she/he is now the owner) but finds that other colleagues should be involved at some stage. Now using a CC or AdminCC with the "comment" action can be used to notify the colleague that help would be appreciated with this case. However, this notification is mail-based and (in our case) some members of the support group will look at the RT web interface more often than at their mail clients - but the ticket will not show in either of their default ticket lists (it is neither "unowned", nor is it "owned" by them). Is there a recommended way to notify regular RT users (in the RT web interface) that they should look into a ticket - other than generating mail notifications for them or making them the owner of a case? Many thanks in advance for any help with this! Best regards, Stefan -- Dr. Stefan Vollmar, Dipl.-Phys. Head of IT group Max-Planck-Institut f?r neurologische Forschung Gleueler Str. 50, 50931 K?ln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 E-Mail: vollmar at nf.mpg.de http://www.nf.mpg.de -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4409 bytes Desc: not available URL: From Izz.Abdullah at hibbett.com Thu Dec 1 09:38:09 2011 From: Izz.Abdullah at hibbett.com (Izz Abdullah) Date: Thu, 1 Dec 2011 08:38:09 -0600 Subject: [rt-users] notify colleagues about a ticket in RT web interface(not by mail) In-Reply-To: <37DA7379-66D2-4EC5-B65C-41635371479C@nf.mpg.de> References: <37DA7379-66D2-4EC5-B65C-41635371479C@nf.mpg.de> Message-ID: I would be interested in this as well. Stefan, I don't have an answer for you, as I am not an expert, but I will be looking into it today since you brought up an interesting request. Thanks, Izz -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Stefan Vollmar Sent: Thursday, December 01, 2011 8:18 AM To: rt-users at lists.bestpractical.com Subject: [rt-users] notify colleagues about a ticket in RT web interface(not by mail) Hi, we have just started using RT and come across this problem: a ticket has been opened (by one of our users via a simplified web interface or internally), somebody in the support group has started working on it (she/he is now the owner) but finds that other colleagues should be involved at some stage. Now using a CC or AdminCC with the "comment" action can be used to notify the colleague that help would be appreciated with this case. However, this notification is mail-based and (in our case) some members of the support group will look at the RT web interface more often than at their mail clients - but the ticket will not show in either of their default ticket lists (it is neither "unowned", nor is it "owned" by them). Is there a recommended way to notify regular RT users (in the RT web interface) that they should look into a ticket - other than generating mail notifications for them or making them the owner of a case? Many thanks in advance for any help with this! Best regards, Stefan -- Dr. Stefan Vollmar, Dipl.-Phys. Head of IT group Max-Planck-Institut f?r neurologische Forschung Gleueler Str. 50, 50931 K?ln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 E-Mail: vollmar at nf.mpg.de http://www.nf.mpg.de From ruz at bestpractical.com Thu Dec 1 09:40:22 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 1 Dec 2011 18:40:22 +0400 Subject: [rt-users] The RT Wiki - Restructure (start using categories?) In-Reply-To: References: <4158024.736.1322577674922.JavaMail.root@benjamin.baylink.com> Message-ID: Hi, People already started work on installation guides. A few templates: http://requesttracker.wikia.com/wiki/Special:UncategorizedTemplates Every installation guide on the wiki should use: http://requesttracker.wikia.com/wiki/Template:UnofficialInstallGuide All pages that use this template: http://requesttracker.wikia.com/index.php?title=Special:WhatLinksHere/Template:UnofficialInstallGuide&limit=500 Most are marked with UnofficialInstallGuide: http://requesttracker.wikia.com/wiki/Category:UnofficialInstallGuide -- Best regards, Ruslan. From trs at bestpractical.com Thu Dec 1 09:48:18 2011 From: trs at bestpractical.com (Thomas Sibley) Date: Thu, 01 Dec 2011 09:48:18 -0500 Subject: [rt-users] notify colleagues about a ticket in RT web interface (not by mail) In-Reply-To: <37DA7379-66D2-4EC5-B65C-41635371479C@nf.mpg.de> References: <37DA7379-66D2-4EC5-B65C-41635371479C@nf.mpg.de> Message-ID: <4ED793B2.2050708@bestpractical.com> On 12/01/2011 09:17 AM, Stefan Vollmar wrote: > we have just started using RT and come across this problem: a ticket > has been opened (by one of our users via a simplified web interface > or internally), somebody in the support group has started working on > it (she/he is now the owner) but finds that other colleagues should > be involved at some stage. Now using a CC or AdminCC with the > "comment" action can be used to notify the colleague that help would > be appreciated with this case. However, this notification is > mail-based and (in our case) some members of the support group will > look at the RT web interface more often than at their mail clients - > but the ticket will not show in either of their default ticket lists > (it is neither "unowned", nor is it "owned" by them). Is there a > recommended way to notify regular RT users (in the RT web interface) > that they should look into a ticket - other than generating mail > notifications for them or making them the owner of a case? A common approach is to add the staff as a ticket AdminCc and add a new homepage/dashboard search (or modify the existing ones) to check AdminCc.id = '__CurrentUser__' Thomas From Albert.Shih at obspm.fr Thu Dec 1 09:54:47 2011 From: Albert.Shih at obspm.fr (Albert Shih) Date: Thu, 1 Dec 2011 15:54:47 +0100 Subject: [rt-users] Tools menu in RT 4 Message-ID: <20111201145447.GD81162@pcjas.obspm.fr> Hi In RT 3.8.x we have a tools menu with some basic function of reporting. I don't see this functions in RT 4. Should I install some module to have it back ? Regards. -- Albert SHIH DIO batiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: jeu 1 d?c 2011 15:53:52 CET From raphael.mouneyres at sagemcom.com Thu Dec 1 09:56:17 2011 From: raphael.mouneyres at sagemcom.com (=?ISO-8859-1?Q?Rapha=EBl_MOUNEYRES?=) Date: Thu, 1 Dec 2011 15:56:17 +0100 Subject: [rt-users] RE notify colleagues about a ticket in RT web interface (not by mail) In-Reply-To: <37DA7379-66D2-4EC5-B65C-41635371479C@nf.mpg.de> Message-ID: <28009_1322751381_4ED79595_28009_1221_1_OF5E20AFCF.86EAEF14-ONC1257959.0051C712-C1257959.00520EF7@sagemcom.com> Hello, here, when someone need help from someone else, he writes a comment as you do, and then gives the ticket to the person from who he wantq support. A scrip informs him by email, and the ticket is now in his list. When this second person has finished helping/commenting, he can give back the ticket to the firt person. This is a simple mechanism, but working here. Rapha??l MOUNEYRES Stefan Vollmar Envoy?? par : rt-users-bounces at lists.bestpractical.com 01/12/2011 15:35 A rt-users at lists.bestpractical.com cc Objet [rt-users] notify colleagues about a ticket in RT web interface (not by mail) Hi, we have just started using RT and come across this problem: a ticket has been opened (by one of our users via a simplified web interface or internally), somebody in the support group has started working on it (she/he is now the owner) but finds that other colleagues should be involved at some stage. Now using a CC or AdminCC with the "comment" action can be used to notify the colleague that help would be appreciated with this case. However, this notification is mail-based and (in our case) some members of the support group will look at the RT web interface more often than at their mail clients - but the ticket will not show in either of their default ticket lists (it is neither "unowned", nor is it "owned" by them). Is there a recommended way to notify regular RT users (in the RT web interface) that they should look into a ticket - other than generating mail notifications for them or making them the owner of a case? Many thanks in advance for any help with this! Best regards, Stefan -- Dr. Stefan Vollmar, Dipl.-Phys. Head of IT group Max-Planck-Institut f??r neurologische Forschung Gleueler Str. 50, 50931 K??ln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 E-Mail: vollmar at nf.mpg.de http://www.nf.mpg.de -------- RT Training Sessions (http://bestpractical.com/services/training.html) * Boston ??? TBA # " Ce courriel et les documents qui lui sont joints peuvent contenir des informations confidentielles ou ayant un caract?re priv?. S'ils ne vous sont pas destin?s, nous vous signalons qu'il est strictement interdit de les divulguer, de les reproduire ou d'en utiliser de quelque mani?re que ce soit le contenu. Si ce message vous a ?t? transmis par erreur, merci d'en informer l'exp?diteur et de supprimer imm?diatement de votre syst?me informatique ce courriel ainsi que tous les documents qui y sont attach?s." ****** " This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, you are notified that any dissemination, copying of this e-mail and any attachments thereto or use of their contents by any means whatsoever is strictly prohibited. If you have received this e-mail in error, please advise the sender immediately and delete this e-mail and all attached documents from your computer system." # -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/octet-stream Size: 4409 bytes Desc: not available URL: From dgarcia at cesca.cat Thu Dec 1 10:24:52 2011 From: dgarcia at cesca.cat (Daniel Garcia Mejia) Date: Thu, 01 Dec 2011 16:24:52 +0100 Subject: [rt-users] A little question about Standalone Server Mode In-Reply-To: <4ED79A22.3020002@cesca.cat> References: <4ED79A22.3020002@cesca.cat> Message-ID: <4ED79C44.6040806@cesca.cat> Hi, i'm Dani from CESCA, a company from Barcelona that it wants to implement the RT on the system. I'm doing a pilot test with RT on a virtual machine. Exactly I first doing a 'Standalone Server Mode' configuration. So I put this parameters when I installed the RT: ./configure --with-my-user-group --with-db-type=mysql --enable-layout=inplace --with-devel-mode After that, I installed RT and BD perfectly, without errors. So, I run RT in MVL and I can't send email to anybody. My question is: from a'Standalone Server Mode' its possibly send mail? If possible, how do you send with sendmail? I have to put some parameters in SiteConfig ? From dgarcia at cesca.cat Thu Dec 1 10:15:46 2011 From: dgarcia at cesca.cat (Daniel Garcia Mejia) Date: Thu, 01 Dec 2011 16:15:46 +0100 Subject: [rt-users] A little question about Standalone Server Mode Message-ID: <4ED79A22.3020002@cesca.cat> Hi, i'm Dani from CESCA, a company from Barcelona that it wants to implement the RT on the system. I'm doing a pilot test with RT on a virtual machine. Exactly I first doing a 'Standalone Server Mode' configuration. So I put this parameters when I installed the RT: ./configure --with-my-user-group --with-db-type=mysql --enable-layout=inplace --with-devel-mode After that, I installed RT and BD perfectly, without errors. So, I run RT in MVL and I can't send email to anybody. My question is: from a'Standalone Server Mode' its possibly send mail? If possible, how do you send with sendmail? I have to put some parameters in SiteConfig ? Thanks, and sorry for my english, I'm a university student! -- ....................................................................... __ / / Daniel Garc?a Mej?a C E / S / C A Portals i Repositoris /_/ Centre de Serveis Cient?fics i Acad?mics de Catalunya Gran Capit?, 2-4 (Edifici Nexus) - 08034 Barcelona T. (NULL) - F. 93 205 6979 - dgarcia at cesca.cat ....................................................................... From cloos at netcologne.de Thu Dec 1 10:40:26 2011 From: cloos at netcologne.de (Christian Loos) Date: Thu, 01 Dec 2011 16:40:26 +0100 Subject: [rt-users] notify colleagues about a ticket in RT web interface (not by mail) In-Reply-To: <37DA7379-66D2-4EC5-B65C-41635371479C@nf.mpg.de> References: <37DA7379-66D2-4EC5-B65C-41635371479C@nf.mpg.de> Message-ID: <4ED79FEA.6020506@netcologne.de> Am 01.12.2011 15:17, schrieb Stefan Vollmar: > Hi, > > we have just started using RT and come across this problem: a ticket has been opened (by one of our users via a simplified web interface or internally), somebody in the support group has started working on it (she/he is now the owner) but finds that other colleagues should be involved at some stage. Now using a CC or AdminCC with the "comment" action can be used to notify the colleague that help would be appreciated with this case. However, this notification is mail-based and (in our case) some members of the support group will look at the RT web interface more often than at their mail clients - but the ticket will not show in either of their default ticket lists (it is neither "unowned", nor is it "owned" by them). Is there a recommended way to notify regular RT users (in the RT web interface) that they should look into a ticket - other than generating mail notifications for them or making them the owner of a case? > > Many thanks in advance for any help with this! > > Best regards, > Stefan How about creating an "Depends on" ticket and set the other colleague as the owner of the new ticket. -Chris From ruz at bestpractical.com Thu Dec 1 10:46:35 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 1 Dec 2011 19:46:35 +0400 Subject: [rt-users] A little question about Standalone Server Mode In-Reply-To: <4ED79C44.6040806@cesca.cat> References: <4ED79A22.3020002@cesca.cat> <4ED79C44.6040806@cesca.cat> Message-ID: Hi, Make sure $SendmailPath option in the config is correct. On Thu, Dec 1, 2011 at 7:24 PM, Daniel Garcia Mejia wrote: > Hi, i'm Dani from CESCA, a company from Barcelona that it wants to implement > the RT on the system. > > I'm doing a pilot test with RT on a virtual machine. Exactly I first doing a > 'Standalone Server Mode' configuration. So I put this parameters when I > installed the RT: > > ./configure --with-my-user-group --with-db-type=mysql > --enable-layout=inplace --with-devel-mode > > After that, I installed RT and BD perfectly, without errors. > > > So, I run RT in MVL and I can't send email to anybody. > My question is: from a'Standalone Server Mode' its possibly send mail? > If possible, how do you send with sendmail? I have to put some parameters in > SiteConfig ? > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ?TBA -- Best regards, Ruslan. From ruz at bestpractical.com Thu Dec 1 10:56:16 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 1 Dec 2011 19:56:16 +0400 Subject: [rt-users] Tools menu in RT 4 In-Reply-To: <20111201145447.GD81162@pcjas.obspm.fr> References: <20111201145447.GD81162@pcjas.obspm.fr> Message-ID: Hi, Any of those basic reporting tools can be replaced with saved charts and dashboards in RT4. On Thu, Dec 1, 2011 at 6:54 PM, Albert Shih wrote: > Hi > > > In RT 3.8.x we have a tools menu with some basic function of reporting. I > don't see this functions in RT 4. > > Should I install some module to have it back ? > > Regards. > -- > Albert SHIH > DIO batiment 15 > Observatoire de Paris > 5 Place Jules Janssen > 92195 Meudon Cedex > T?l?phone : 01 45 07 76 26/06 86 69 95 71 > Heure local/Local time: > jeu 1 d?c 2011 15:53:52 CET > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ?TBA -- Best regards, Ruslan. From Albert.Shih at obspm.fr Thu Dec 1 15:16:38 2011 From: Albert.Shih at obspm.fr (Albert Shih) Date: Thu, 1 Dec 2011 21:16:38 +0100 Subject: [rt-users] Tools menu in RT 4 In-Reply-To: References: <20111201145447.GD81162@pcjas.obspm.fr> Message-ID: <20111201201638.GA82026@pcjas.obspm.fr> Le 01/12/2011 ? 19:56:16+0400, Ruslan Zakirov a ?crit Hi Thanks for you answer. > > Any of those basic reporting tools can be replaced with saved charts > and dashboards in RT4. Maybe (no It's certain) I'm totaly stupid, but even with all right I don't see how can I have charts in RT4 ... Regards. -- Albert SHIH DIO batiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: jeu 1 d?c 2011 21:15:08 CET From Albert.Shih at obspm.fr Thu Dec 1 15:20:36 2011 From: Albert.Shih at obspm.fr (Albert Shih) Date: Thu, 1 Dec 2011 21:20:36 +0100 Subject: [rt-users] Tools menu in RT 4 In-Reply-To: <20111201201638.GA82026@pcjas.obspm.fr> References: <20111201145447.GD81162@pcjas.obspm.fr> <20111201201638.GA82026@pcjas.obspm.fr> Message-ID: <20111201202036.GB82026@pcjas.obspm.fr> Le 01/12/2011 ? 21:16:38+0100, Albert Shih a ?crit > Le 01/12/2011 ? 19:56:16+0400, Ruslan Zakirov a ?crit > > > > Any of those basic reporting tools can be replaced with saved charts > > and dashboards in RT4. > > Maybe (no It's certain) I'm totaly stupid, but even with all right I don't > see how can I have charts in RT4 ... Forget it. I find it... Thanks -- Albert SHIH DIO batiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: jeu 1 d?c 2011 21:20:20 CET From vance_walsh at concordacademy.org Thu Dec 1 15:26:36 2011 From: vance_walsh at concordacademy.org (Vance Walsh) Date: Thu, 01 Dec 2011 15:26:36 -0500 Subject: [rt-users] Create another "QuickSeach" panel ? In-Reply-To: References: Message-ID: This is exactly what I was looking for, thank you. Is there something special I would need to do permissions wise to remove columns? I seem to have no edit option and I am not sure if that is a permissions issue or a part of the module config. In short we do not used Stalled, we have multiple other stalled status we use which are showing up as well. --- Vance Walsh Network and Systems Administrator Concord Academy - Concord, Mass. -------------- next part -------------- An HTML attachment was scrubbed... URL: From trs at bestpractical.com Thu Dec 1 15:28:16 2011 From: trs at bestpractical.com (Thomas Sibley) Date: Thu, 01 Dec 2011 15:28:16 -0500 Subject: [rt-users] [rt-announce] RT Training in Boston - March 5 & 6, 2012 Message-ID: <4ED7E360.2060204@bestpractical.com> March 2012 will bring a two-day RT training session to our hometown of Boston! To learn more and sign up online, visit . Drop us a line at training at bestpractical.com with any questions you have or to inquire about discounted pricing for academic institutions. ### What does training cover? The first day starts off with a tour of RT's web interface and continues with a detailed exploration and explanation of RT's functionality, workflows and configurability. We'll touch on basic administration, but concentrate largely on helping you and your team get the most out of your RT instance. The second day of training picks up with RT administration and dives into what you need to safely customize and extend RT. We'll cover point-and-click configuration, upgrading and installing RT, development best practices, RT's API, building an extension, and database tuning. It goes without saying that you'll get the most out of training if you attend both days of the course, but we've designed the material so that you can step out after the first day with a dramatically improved understanding of how to use RT or show up on the second day and get quickly up to speed on how to make RT do your bidding. _______________________________________________ rt-announce mailing list rt-announce at lists.bestpractical.com http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-announce From ruz at bestpractical.com Thu Dec 1 15:40:05 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Fri, 2 Dec 2011 00:40:05 +0400 Subject: [rt-users] Create another "QuickSeach" panel ? In-Reply-To: References: Message-ID: On Fri, Dec 2, 2011 at 12:26 AM, Vance Walsh wrote: > This is exactly what I was looking for, thank you. > > Is there something special I would need to do permissions wise to remove > columns? I seem to have no edit option and I am not sure if that is a > permissions issue or a part of the module config. As far as I recall it uses all active statuses. Probably stalled kicks in from approvals lifecycle. Investigate yourself a little bit. Ping me once again if you can not find reason. > > In short we do not used Stalled, we have multiple other stalled status we > use which are showing up as well. > > --- > > Vance Walsh > Network and Systems Administrator > Concord Academy - Concord, Mass. > > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ? March 5 & 6, 2012 -- Best regards, Ruslan. From pofish at ucdavis.edu Thu Dec 1 16:22:42 2011 From: pofish at ucdavis.edu (Patrick Fish) Date: Thu, 1 Dec 2011 21:22:42 +0000 Subject: [rt-users] Superscript? Message-ID: <05AD4EE355A101449606559DD4802D75488639@exmbx6.ex.ad3.ucdavis.edu> Hello, Is it possible to enable superscript in the RT WYSIWYG (CKEditor?) editor? Thanks, Patrick -------------- next part -------------- An HTML attachment was scrubbed... URL: From vollmar at nf.mpg.de Thu Dec 1 16:49:32 2011 From: vollmar at nf.mpg.de (Stefan Vollmar) Date: Thu, 01 Dec 2011 22:49:32 +0100 Subject: [rt-users] notify colleagues about a ticket in RT web interface (not by mail) In-Reply-To: <4ED793B2.2050708@bestpractical.com> References: <37DA7379-66D2-4EC5-B65C-41635371479C@nf.mpg.de> <4ED793B2.2050708@bestpractical.com> Message-ID: Dear Thomas, On 01.12.2011, at 15:48, Thomas Sibley wrote: > On 12/01/2011 09:17 AM, Stefan Vollmar wrote: >> [...] Is there a >> recommended way to notify regular RT users (in the RT web interface) >> that they should look into a ticket - other than generating mail >> notifications for them or making them the owner of a case? > > A common approach is to add the staff as a ticket AdminCc and add a new > homepage/dashboard search (or modify the existing ones) to check > AdminCc.id = '__CurrentUser__' Great, thanks! I think that would solve our current problem. It seems that (Owner = '__CurrentUser__' OR Cc.id = '__CurrentUser__' OR AdminCc.id = '__CurrentUser__') AND (Status = 'new' OR Status = 'open') worked when I modified the search filter in a custom dashboard. Unfortunately, it only worked once, then the old search filter was back in the custom dashboard. How can I make this modified search filter permanent? Or even better: how can I change every user's default dashboard so it works with the above search filter? Many thanks in advance! Warm regards, Stefan -- Dr. Stefan Vollmar, Dipl.-Phys. Head of IT group Max-Planck-Institut f?r neurologische Forschung Gleuelerstr. 50, 50931 K?ln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 Email: vollmar at nf.mpg.de http://www.nf.mpg.de -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4409 bytes Desc: not available URL: From vollmar at nf.mpg.de Thu Dec 1 18:43:37 2011 From: vollmar at nf.mpg.de (Stefan Vollmar) Date: Fri, 02 Dec 2011 00:43:37 +0100 Subject: [rt-users] Fwd: notify colleagues about a ticket in RT web interface (not by mail) References: Message-ID: <2C4E3875-A4BB-41FB-8309-B7131B6DD898@nf.mpg.de> Dear Thomas, I think I was able to solve it myself: I needed to be logged in as root. I could then save the modified query (from query builder), then select Configuration:Globals:RT-at-a-Glance and replace the default query with the one I had just saved - neat! Warm regards, Stefan Begin forwarded message: > From: Stefan Vollmar > Date: 1. Dezember 2011 22:49:32 MEZ > To: Thomas Sibley > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] notify colleagues about a ticket in RT web interface (not by mail) > > Dear Thomas, > > On 01.12.2011, at 15:48, Thomas Sibley wrote: > >> On 12/01/2011 09:17 AM, Stefan Vollmar wrote: >>> [...] Is there a >>> recommended way to notify regular RT users (in the RT web interface) >>> that they should look into a ticket - other than generating mail >>> notifications for them or making them the owner of a case? >> >> A common approach is to add the staff as a ticket AdminCc and add a new >> homepage/dashboard search (or modify the existing ones) to check >> AdminCc.id = '__CurrentUser__' > > > Great, thanks! I think that would solve our current problem. It seems that > > (Owner = '__CurrentUser__' OR Cc.id = '__CurrentUser__' OR > AdminCc.id = '__CurrentUser__') AND (Status = 'new' OR Status = 'open') > > worked when I modified the search filter in a custom dashboard. Unfortunately, it only worked once, then the old search filter was back in the custom dashboard. How can I make this modified search filter permanent? Or even better: how can I change every user's default dashboard so it works with the above search filter? > > Many thanks in advance! > Warm regards, > Stefan > -- > Dr. Stefan Vollmar, Dipl.-Phys. > Head of IT group > Max-Planck-Institut f?r neurologische Forschung > Gleuelerstr. 50, 50931 K?ln, Germany > Tel.: +49-221-4726-213 FAX +49-221-4726-298 > Tel.: +49-221-478-5713 Mobile: 0160-93874279 > Email: vollmar at nf.mpg.de http://www.nf.mpg.de > > > > > > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ? March 5 & 6, 2012 -- Dr. Stefan Vollmar, Dipl.-Phys. Head of IT group Max-Planck-Institut f?r neurologische Forschung Gleuelerstr. 50, 50931 K?ln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 Email: vollmar at nf.mpg.de http://www.nf.mpg.de -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4409 bytes Desc: not available URL: From fireskyer at gmx.de Fri Dec 2 07:02:25 2011 From: fireskyer at gmx.de (john s.) Date: Fri, 2 Dec 2011 04:02:25 -0800 (PST) Subject: [rt-users] Can't open Ticket Time::ParseDate error Message-ID: <32901809.post@talk.nabble.com> Hello everybody RT: 3.8.9 Server : Ubuntu 10.04 I have a Problem to open a ticket. If i try to open it ... there comes no repsponse from the webif... In the RT log i found the fowllowing entry: RT::Date used Time::ParseDate to make 'now' 1322826880 so i have updated the perl module but the problem still apperars... best regards john s. -- View this message in context: http://old.nabble.com/Can%27t-open-Ticket-Time%3A%3AParseDate-error-tp32901809p32901809.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From givano at gmail.com Fri Dec 2 09:10:37 2011 From: givano at gmail.com (Givano) Date: Fri, 2 Dec 2011 15:10:37 +0100 Subject: [rt-users] RT-Extention-QueueDeactivatedScrips In-Reply-To: References: Message-ID: Hi guys, if it's still interesting, I have done the patch for rt 4.0.2 and it works fine for me. Only three files need to be modified two html and one lib. If you want I can send you diffs or the files for rt4.0.2. I dont know if it will work with 4.0.4. BR, Ivan 2011/10/6 Ruslan Zakirov > Hi, > > On Thu, Oct 6, 2011 at 7:25 PM, Randy Black > wrote: > > Know of anyone working on the port? > > > I don't know. It's on github and there is no forks of the project. > Torsten packaged the extension, probably newer version depends on > patches people would send and/or on his upgrade schedule. > > > > -----Original Message----- > > From: ruslan.zakirov at gmail.com [mailto:ruslan.zakirov at gmail.com] On > Behalf Of Ruslan Zakirov > > Sent: Thursday, October 06, 2011 12:24 PM > > To: Randy Black > > Cc: rt-users at lists.bestpractical.com > > Subject: Re: [rt-users] RT-Extention-QueueDeactivatedScrips > > > > Hi, > > > > File that couldn't be found was deleted between RT3 and RT4. What > > means that extension has not been ported over RT4. > > > > On Thu, Oct 6, 2011 at 4:45 PM, Randy Black > wrote: > >> Does anyone use this extension and have it working in a production 4.0.2 > >> instance of RT? > >> > >> I have it installed, but when selecting a queue and then selecting > ?scrips > > >> select? from the menu, I get ?could not find component for path > >> ?/Admin/Elements/QueueTabs?? > >> > >> Looking through the doc, the wiki and google, produced nothing. > >> > >> Thanks, > >> > >> Randy > >> > >> -------- > >> RT Training Sessions (http://bestpractical.com/services/training.html) > >> * San Francisco, CA, USA ? October 18 & 19, 2011 > >> * Washington DC, USA ? October 31 & November 1, 2011 > >> * Barcelona, Spain ? November 28 & 29, 2011 > >> > > > > > > > > -- > > Best regards, Ruslan. > > > > > > -- > Best regards, Ruslan. > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * San Francisco, CA, USA October 18 & 19, 2011 > * Washington DC, USA October 31 & November 1, 2011 > * Barcelona, Spain November 28 & 29, 2011 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmsimard at iweb.com Fri Dec 2 09:42:51 2011 From: dmsimard at iweb.com (David Moreau Simard) Date: Fri, 02 Dec 2011 09:42:51 -0500 Subject: [rt-users] RT-Extention-QueueDeactivatedScrips In-Reply-To: References: Message-ID: <4ED8E3EB.3000003@iweb.com> An HTML attachment was scrubbed... URL: From balint.bekeny at docca.hu Fri Dec 2 10:54:06 2011 From: balint.bekeny at docca.hu (=?UTF-8?B?QsOBTElOVCBCZWvDqW55?=) Date: Fri, 2 Dec 2011 16:54:06 +0100 Subject: [rt-users] Limit upload to compressed files In-Reply-To: References: Message-ID: Hi, I think the easiest way is this: http://www.w3schools.com/tags/att_input_accept.asp But: - it's not yet supported by all browsers - it's not on server side, so can be ignored -- Bekeny Docca OutSource IT Ltd. On Tue, Nov 8, 2011 at 9:23 AM, Michael Polenske < Michael.Polenske at skm-skyline.de> wrote: > Good morning,**** > > ** ** > > we allow our customers to upload files (configuration files, kernel dumps > etc) to their ticket. Unfortunately not all customers follow the rule and > compress their uploads, so it can be that they upload a config file with > >20MB (compressed with standard zip it?s <1MB).**** > > ** ** > > So big question ? can I limit the upload to .zip /.gz/.rar.7z or whatever > on a easy way ? Any idea ?**** > > ** ** > > Thanks and best regards,**** > > Michael**** > > ** ** > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Barcelona, Spain ? November 28 & 29, 2011 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bwiese at ElementPS.com Fri Dec 2 11:49:50 2011 From: bwiese at ElementPS.com (Brent Wiese) Date: Fri, 2 Dec 2011 09:49:50 -0700 Subject: [rt-users] CustomField value is reset or deleted back to prior value in scrip Message-ID: <7ECD0C8955ADE149B95716B364B4D58F26C65A620B@EXCCR01.eps.local> I have 4 custom fields in this scenario: 1st Approval 2nd Approval Those are both "Select One Value" dropdowns that apply to tickets. Permissions are "view" for Privileged and modify for a group allowed to approve these tickets. I have 2 additional fields: 1st Approved By 2nd Approved By Both are "Enter one value" that apply to tickets. Privileged has view and there are no other permissions set (I don't want users able to set this field, essentially "read only" - you'll see why in a minute). If an approver makes a selection in one of the select boxes, I have scrip that will enter a value in the corresponding "approved by" field. Here's the weird thing - it works perfect for the "1st" boxes. But when I choose a value for the 2nd approval, it sets it, then reverts it back to the previous value (I've tried modifying the field as a superuser to confirm its rolling back and not just deleting the value). The scrip code from the "1st" check/set was copy/pasted and only the variables changed to reflect the different column ids. Here is the snippet from the ticket history: Fri Dec 02 09:35:37 2011 Brent Wiese - (CC) 2nd Approval No changed to Yes Fri Dec 02 09:35:37 2011 The RT System itself - (CC) Seconded By Approved by: Brent Wiese added Fri Dec 02 09:35:37 2011 Brent Wiese - (CC) Seconded By Approved by: Brent Wiese deleted Scrip: Condition: User Defined Action: User Defined Template: Global template: Blank Stage: TransactionCreate Custom condition: unless ($self->TransactionObj->Type eq "CustomField" ) { return 0; } 1; Prep: # Set Field to ID of (CC) 1st Approval: my $CFid = 5; # Set to ID of (CC) 1st Approved By: my $CFAppID = 18; # Set Field to ID of (CC) 2nd Approval: my $CFid2 = 17; # Set to ID of (CC) 2nd Approved By: my $CFAppID2 = 20; # Set to 1 if you want an extra line that the scrip made changes logged in the ticket history my $rec = 1; my $cf_obj = RT::CustomField->new($RT::SystemUser); my $trans = $self->TransactionObj; my $ticket = $self->TicketObj; my $person = $trans->CreatorObj->RealName; if ( $self->TransactionObj->Type eq "CustomField" && $self->TransactionObj->Field == $CFid ) { $cf_obj->LoadByName( Name => $CFAppID ); my $val = $ticket->FirstCustomFieldValue($CFid); if ($val eq 'Yes') { $ticket->AddCustomFieldValue(Field => $cf_obj, Value => "Approved by: $person", RecordTransaction => $rec ); } elsif ($val eq 'No') { $ticket->AddCustomFieldValue(Field => $cf_obj, Value => "Disapproved by: $person", RecordTransaction => $rec ); } else { $ticket->AddCustomFieldValue(Field => $cf_obj, Value => "Pending", RecordTransaction => $rec ); } } if ( $self->TransactionObj->Type eq "CustomField" && $self->TransactionObj->Field == $CFid2 ) { $cf_obj->LoadByName( Name => $CFAppID2 ); my $val2 = $ticket->FirstCustomFieldValue($CFid2); if ($val2 eq 'Yes') { $ticket->AddCustomFieldValue(Field => $cf_obj, Value => "Approved by: $person", RecordTransaction => $rec ); } elsif ($val2 eq 'No') { $ticket->AddCustomFieldValue(Field => $cf_obj, Value => "Disapproved by: $person", RecordTransaction => $rec ); } else { $ticket->AddCustomFieldValue(Field => $cf_obj, Value => "Pending", RecordTransaction => $rec ); } } return 1; <-- I've tried return 0 here too and no difference No cleanup. It was working this way before I added the $cf_obj variable. I thought maybe hard-coding it to enter the value as RT_System would help, but it made no difference. I tried doing all the code in the custom condition (which is why I'm still checking if it's a customfield transaction in the if statement). Works the same either way I try it. Any thoughts? Thanks, Brent -------------- next part -------------- An HTML attachment was scrubbed... URL: From kenn.crocker at gmail.com Fri Dec 2 13:40:35 2011 From: kenn.crocker at gmail.com (Kenneth Crocker) Date: Fri, 2 Dec 2011 10:40:35 -0800 Subject: [rt-users] CustomField value is reset or deleted back to prior value in scrip In-Reply-To: <7ECD0C8955ADE149B95716B364B4D58F26C65A620B@EXCCR01.eps.local> References: <7ECD0C8955ADE149B95716B364B4D58F26C65A620B@EXCCR01.eps.local> Message-ID: Brent, Without looking at your code, I can tell you that you should make the stage "TransactionBatch" (be sure to turn that on in your RT_SiteConfig.pm file). Try and see if that works. Kenn On Fri, Dec 2, 2011 at 8:49 AM, Brent Wiese wrote: > I have 4 custom fields in this scenario:**** > > ** ** > > 1st Approval**** > > 2nd Approval**** > > ** ** > > Those are both ?Select One Value? dropdowns that apply to tickets. > Permissions are ?view? for Privileged and modify for a group allowed to > approve these tickets.**** > > ** ** > > I have 2 additional fields:**** > > 1st Approved By**** > > 2nd Approved By**** > > ** ** > > Both are ?Enter one value? that apply to tickets. Privileged has view and > there are no other permissions set (I don?t want users able to set this > field, essentially ?read only? - you?ll see why in a minute).**** > > ** ** > > If an approver makes a selection in one of the select boxes, I have scrip > that will enter a value in the corresponding ?approved by? field.**** > > ** ** > > Here?s the weird thing ? it works perfect for the ?1st? boxes. But when I > choose a value for the 2nd approval, it sets it, then reverts it back to > the previous value (I?ve tried modifying the field as a superuser to > confirm its rolling back and not just deleting the value). The scrip code > from the ?1st? check/set was copy/pasted and only the variables changed > to reflect the different column ids.**** > > ** ** > > Here is the snippet from the ticket history:**** > > Fri Dec 02 09:35:37 2011 Brent Wiese - (CC) 2nd Approval No changed to Yes > **** > > Fri Dec 02 09:35:37 2011 The RT System itself - (CC) Seconded By Approved > by: Brent Wiese added **** > > Fri Dec 02 09:35:37 2011 Brent Wiese - (CC) Seconded By Approved by: > Brent Wiese deleted **** > > ** ** > > Scrip:**** > > Condition: User Defined**** > > Action: User Defined**** > > Template: Global template: Blank**** > > Stage: TransactionCreate**** > > ** ** > > Custom condition:**** > > unless ($self->TransactionObj->Type eq "CustomField" ) {**** > > return 0;**** > > }**** > > 1;**** > > ** ** > > Prep:**** > > # Set Field to ID of (CC) 1st Approval:**** > > my $CFid = 5;**** > > # Set to ID of (CC) 1st Approved By:**** > > my $CFAppID = 18;**** > > # Set Field to ID of (CC) 2nd Approval:**** > > my $CFid2 = 17;**** > > # Set to ID of (CC) 2nd Approved By:**** > > my $CFAppID2 = 20;**** > > # Set to 1 if you want an extra line that the scrip made changes logged in > the ticket history**** > > my $rec = 1;**** > > ** ** > > my $cf_obj = RT::CustomField->new($RT::SystemUser);**** > > ** ** > > my $trans = $self->TransactionObj;**** > > my $ticket = $self->TicketObj;**** > > my $person = $trans->CreatorObj->RealName;**** > > ** ** > > if ( $self->TransactionObj->Type eq "CustomField" && > $self->TransactionObj->Field == $CFid ) {**** > > ** ** > > $cf_obj->LoadByName( Name => $CFAppID );** > ** > > **** > > my $val = > $ticket->FirstCustomFieldValue($CFid);**** > > if ($val eq 'Yes') {**** > > > $ticket->AddCustomFieldValue(Field => $cf_obj, Value => "Approved by: > $person", RecordTransaction => $rec );**** > > } elsif ($val eq 'No') {** > ** > > > $ticket->AddCustomFieldValue(Field => $cf_obj, Value => "Disapproved by: > $person", RecordTransaction => $rec );**** > > } else {**** > > > $ticket->AddCustomFieldValue(Field => $cf_obj, Value => "Pending", > RecordTransaction => $rec );**** > > }**** > > }**** > > ** ** > > if ( $self->TransactionObj->Type eq "CustomField" && > $self->TransactionObj->Field == $CFid2 ) {**** > > ** ** > > $cf_obj->LoadByName( Name => $CFAppID2 ); > **** > > ** ** > > my $val2 = > $ticket->FirstCustomFieldValue($CFid2);**** > > if ($val2 eq 'Yes') {**** > > > $ticket->AddCustomFieldValue(Field => $cf_obj, Value => "Approved by: > $person", RecordTransaction => $rec );**** > > } elsif ($val2 eq 'No') {* > *** > > > $ticket->AddCustomFieldValue(Field => $cf_obj, Value => "Disapproved by: > $person", RecordTransaction => $rec );**** > > } else {**** > > > $ticket->AddCustomFieldValue(Field => $cf_obj, Value => "Pending", > RecordTransaction => $rec );**** > > }**** > > }**** > > return 1; ? I?ve tried return 0 here too and no difference**** > > ** ** > > No cleanup.**** > > ** ** > > It was working this way before I added the $cf_obj variable. I thought > maybe hard-coding it to enter the value as RT_System would help, but it > made no difference.**** > > ** ** > > I tried doing all the code in the custom condition (which is why I?m still > checking if it?s a customfield transaction in the if statement). Works the > same either way I try it.**** > > ** ** > > Any thoughts?**** > > ** ** > > Thanks,**** > > Brent**** > > ** ** > > ** ** > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ? March 5 & 6, 2012 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From yan at seiner.com Fri Dec 2 13:49:17 2011 From: yan at seiner.com (Yan Seiner) Date: Fri, 2 Dec 2011 10:49:17 -0800 (PST) Subject: [rt-users] Autocreate external users Message-ID: <1e58c81d53b15353cfb9c13d82e7f461.squirrel@mail.seiner.com> I need to allow for the automatic creation of unprivileged users when we get emails from outside. Right now I create privileged users when they log in via LDAP: Set($AutoCreateNonExternalUsers, 1); Set($AutoCreate, {Privileged => 1}); Now I need to create unprivileged users on emails from outside, mostly as reply to tickets... Seems like it used to work under 3.8 and I broke something moving to 4.0.... Any suggestions? -- Pain is temporary. It may last a minute, or an hour, or a day, or a year, but eventually it will subside and something else will take its place. If I quit, however, it lasts forever. From bwiese at ElementPS.com Fri Dec 2 16:14:57 2011 From: bwiese at ElementPS.com (Brent Wiese) Date: Fri, 2 Dec 2011 14:14:57 -0700 Subject: [rt-users] CustomField value is reset or deleted back to prior value in scrip In-Reply-To: References: <7ECD0C8955ADE149B95716B364B4D58F26C65A620B@EXCCR01.eps.local> Message-ID: <7ECD0C8955ADE149B95716B364B4D58F26C6697E96@EXCCR01.eps.local> I'd tried TransactionBatch previously when I was doing a lot of logging and I noticed it was creating 2 log entries for every ticket update. When I switched to TransactionCreate it only logged once, so I figured that's the one I wanted. However, you were right, changing to TransactionBatch worked. Why it worked on 1 of the CF changes and not the other... who knows. But it's now brought up another couple issues: 1: If I change the value of BOTH "approved" CF's and update the ticket, the scrip is only catching the 2nd approval field and updating its "approved by" field. I'm logging inside of each "if" statement and I'm only seeing the log entry in the second if. It should be passing both if statements and making the necessary changes. So either one works individually, but when changing both, only the second gets caught. 2: If I find both approvals are yes and the approved by CF's match, then I set the ticket stalled. That works fine. However, if I go back into "display" and change the status to open and one of the approval fields to "no", it doesn't change the "approved by" field (it does reopen the ticket and retain the "no" choice.) In order to catch both CF and Status updates, I changed the condition code to this: unless (($self->TransactionObj->Type eq "CustomField" ) || ($self->TransactionObj->Type eq "Status" )) { $RT::Logger->info("Made it into condition"); return 0; } 1; Any idea why that would happen? From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kenneth Crocker Sent: Friday, December 02, 2011 11:41 AM To: RT User List Subject: Re: [rt-users] CustomField value is reset or deleted back to prior value in scrip Brent, Without looking at your code, I can tell you that you should make the stage "TransactionBatch" (be sure to turn that on in your RT_SiteConfig.pm file). Try and see if that works. Kenn On Fri, Dec 2, 2011 at 8:49 AM, Brent Wiese > wrote: I have 4 custom fields in this scenario: 1st Approval 2nd Approval Those are both "Select One Value" dropdowns that apply to tickets. Permissions are "view" for Privileged and modify for a group allowed to approve these tickets. I have 2 additional fields: 1st Approved By 2nd Approved By Both are "Enter one value" that apply to tickets. Privileged has view and there are no other permissions set (I don't want users able to set this field, essentially "read only" - you'll see why in a minute). If an approver makes a selection in one of the select boxes, I have scrip that will enter a value in the corresponding "approved by" field. Here's the weird thing - it works perfect for the "1st" boxes. But when I choose a value for the 2nd approval, it sets it, then reverts it back to the previous value (I've tried modifying the field as a superuser to confirm its rolling back and not just deleting the value). The scrip code from the "1st" check/set was copy/pasted and only the variables changed to reflect the different column ids. Here is the snippet from the ticket history: Fri Dec 02 09:35:37 2011 Brent Wiese - (CC) 2nd Approval No changed to Yes Fri Dec 02 09:35:37 2011 The RT System itself - (CC) Seconded By Approved by: Brent Wiese added Fri Dec 02 09:35:37 2011 Brent Wiese - (CC) Seconded By Approved by: Brent Wiese deleted Scrip: Condition: User Defined Action: User Defined Template: Global template: Blank Stage: TransactionCreate Custom condition: unless ($self->TransactionObj->Type eq "CustomField" ) { return 0; } 1; Prep: # Set Field to ID of (CC) 1st Approval: my $CFid = 5; # Set to ID of (CC) 1st Approved By: my $CFAppID = 18; # Set Field to ID of (CC) 2nd Approval: my $CFid2 = 17; # Set to ID of (CC) 2nd Approved By: my $CFAppID2 = 20; # Set to 1 if you want an extra line that the scrip made changes logged in the ticket history my $rec = 1; my $cf_obj = RT::CustomField->new($RT::SystemUser); my $trans = $self->TransactionObj; my $ticket = $self->TicketObj; my $person = $trans->CreatorObj->RealName; if ( $self->TransactionObj->Type eq "CustomField" && $self->TransactionObj->Field == $CFid ) { $cf_obj->LoadByName( Name => $CFAppID ); my $val = $ticket->FirstCustomFieldValue($CFid); if ($val eq 'Yes') { $ticket->AddCustomFieldValue(Field => $cf_obj, Value => "Approved by: $person", RecordTransaction => $rec ); } elsif ($val eq 'No') { $ticket->AddCustomFieldValue(Field => $cf_obj, Value => "Disapproved by: $person", RecordTransaction => $rec ); } else { $ticket->AddCustomFieldValue(Field => $cf_obj, Value => "Pending", RecordTransaction => $rec ); } } if ( $self->TransactionObj->Type eq "CustomField" && $self->TransactionObj->Field == $CFid2 ) { $cf_obj->LoadByName( Name => $CFAppID2 ); my $val2 = $ticket->FirstCustomFieldValue($CFid2); if ($val2 eq 'Yes') { $ticket->AddCustomFieldValue(Field => $cf_obj, Value => "Approved by: $person", RecordTransaction => $rec ); } elsif ($val2 eq 'No') { $ticket->AddCustomFieldValue(Field => $cf_obj, Value => "Disapproved by: $person", RecordTransaction => $rec ); } else { $ticket->AddCustomFieldValue(Field => $cf_obj, Value => "Pending", RecordTransaction => $rec ); } } return 1; <-- I've tried return 0 here too and no difference No cleanup. It was working this way before I added the $cf_obj variable. I thought maybe hard-coding it to enter the value as RT_System would help, but it made no difference. I tried doing all the code in the custom condition (which is why I'm still checking if it's a customfield transaction in the if statement). Works the same either way I try it. Any thoughts? Thanks, Brent -------- RT Training Sessions (http://bestpractical.com/services/training.html) * Boston - March 5 & 6, 2012 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.lesinski at gmail.com Fri Dec 2 17:09:13 2011 From: jim.lesinski at gmail.com (Jim Lesinski) Date: Fri, 2 Dec 2011 17:09:13 -0500 Subject: [rt-users] Command by Mail - Enter Multiple values with Autocompletion Message-ID: Hello, It seems like the Command by Mail plugin does not work with a Custom Field of type "Enter Multiple values with Autocompletion". I created a field named "Tags", but when I use Command by Mail to email even a single value to it I get an Extended mailgate error: Failed command 'tags: Connectivity' Error message: Command 'tags' is unknown I am running RT 4.0.4 currently. I appreciate any suggestions. Thanks! Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: From backus at nlcom.nl Sat Dec 3 04:41:49 2011 From: backus at nlcom.nl (=?UTF-8?Q?Mayk_Backus?=) Date: Sat, 3 Dec 2011 10:41:49 +0100 Subject: [rt-users] Ipad app , give a ticket Message-ID: Hi list, Is there an option to give a ticket to someone from inside the ipad app ? It is possible to take a ticket , but i can't seem to find how i can assign (give) a ticket to someone.. Anyone any thoughts . Thanx Verstuurd vanaf mijn iPad From robert.wysocki at contium.pl Mon Dec 5 03:36:32 2011 From: robert.wysocki at contium.pl (Robert Wysocki) Date: Mon, 05 Dec 2011 09:36:32 +0100 Subject: [rt-users] Command by Mail - Enter Multiple values with Autocompletion In-Reply-To: References: Message-ID: <1323074192.1969.19.camel@rmwysocki> Dnia 2011-12-02, pi? o godzinie 17:09 -0500, Jim Lesinski pisze: > Hello, > > > It seems like the Command by Mail plugin does not work with a Custom > Field of type "Enter Multiple values with Autocompletion". I created a > field named "Tags", but when I use Command by Mail to email even a > single value to it I get an Extended mailgate error: > > > Failed command 'tags: Connectivity' > Error message: Command 'tags' is unknown From the error message I guess, that you didn't use the correct form, which is: CustomField.{Tags}: Some string -- Robert Wysocki CONTIUM S.A., http://www.contium.pl From givano at gmail.com Mon Dec 5 04:41:36 2011 From: givano at gmail.com (Givano) Date: Mon, 5 Dec 2011 10:41:36 +0100 Subject: [rt-users] RT-Extention-QueueDeactivatedScrips In-Reply-To: <4ED8E3EB.3000003@iweb.com> References: <4ED8E3EB.3000003@iweb.com> Message-ID: Hi, here is the diff patch and full files of the extension for RT4.0.2. For SQL table use the SQL scripts from Thorstens extension on the github https://github.com/tbrumm/RT-Extension-QueueDeactivatedScrips. This modifications are fully based on Thorstens extension for RT3.8. If you need some help in setting up the extension for your RT please ask. BR, Ivan PS: @David: would be really interesting to hear if it also works with 4.0.4. 2011/12/2 David Moreau Simard > I, for one, would be highly interested in trying the patch out. > > I have a 4.0.4 development environment on which I could test it on - I > would report back with compatibility details. > > - David > > On 11-12-02 9:10 AM, Givano wrote: > > Hi guys, > > if it's still interesting, I have done the patch for rt 4.0.2 and it > works fine for me. Only three files need to be modified two html and one > lib. If you want I can send you diffs or the files for rt4.0.2. I dont know > if it will work with 4.0.4. > > BR, Ivan > > 2011/10/6 Ruslan Zakirov > >> Hi, >> >> On Thu, Oct 6, 2011 at 7:25 PM, Randy Black >> wrote: >> > Know of anyone working on the port? >> >> >> I don't know. It's on github and there is no forks of the project. >> Torsten packaged the extension, probably newer version depends on >> patches people would send and/or on his upgrade schedule. >> >> >> > -----Original Message----- >> > From: ruslan.zakirov at gmail.com [mailto:ruslan.zakirov at gmail.com] On >> Behalf Of Ruslan Zakirov >> > Sent: Thursday, October 06, 2011 12:24 PM >> > To: Randy Black >> > Cc: rt-users at lists.bestpractical.com >> > Subject: Re: [rt-users] RT-Extention-QueueDeactivatedScrips >> > >> > Hi, >> > >> > File that couldn't be found was deleted between RT3 and RT4. What >> > means that extension has not been ported over RT4. >> > >> > On Thu, Oct 6, 2011 at 4:45 PM, Randy Black >> wrote: >> >> Does anyone use this extension and have it working in a production >> 4.0.2 >> >> instance of RT? >> >> >> >> I have it installed, but when selecting a queue and then selecting >> ?scrips > >> >> select? from the menu, I get ?could not find component for path >> >> ?/Admin/Elements/QueueTabs?? >> >> >> >> Looking through the doc, the wiki and google, produced nothing. >> >> >> >> Thanks, >> >> >> >> Randy >> >> >> >> -------- >> >> RT Training Sessions (http://bestpractical.com/services/training.html) >> >> * San Francisco, CA, USA ? October 18 & 19, 2011 >> >> * Washington DC, USA ? October 31 & November 1, 2011 >> >> * Barcelona, Spain ? November 28 & 29, 2011 >> >> >> > >> > >> > >> > -- >> > Best regards, Ruslan. >> > >> >> >> >> -- >> Best regards, Ruslan. >> -------- >> RT Training Sessions (http://bestpractical.com/services/training.html) >> * San Francisco, CA, USA October 18 & 19, 2011 >> * Washington DC, USA October 31 & November 1, 2011 >> * Barcelona, Spain November 28 & 29, 2011 >> > > > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html > ) > * Boston ? March 5 & 6, 2012 > > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ? March 5 & 6, 2012 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: deactivate_scrips_rt402.tar Type: application/x-tar Size: 68096 bytes Desc: not available URL: From givano at gmail.com Mon Dec 5 08:28:22 2011 From: givano at gmail.com (Givano) Date: Mon, 5 Dec 2011 14:28:22 +0100 Subject: [rt-users] RT-Extension-LDAPImport Sizelimit exceeded Message-ID: Hi, have configured LDAP Import extension with RT 4.0.2 and getting following error message from script: [Mon Dec 5 11:24:47 2011] [error]: LDAP search failed Sizelimit exceeded (/usr/local/share/request-tracker4/lib/RT/Extension/LDAPImport.pm:866) as much I understand this comes because domain controller limits the query by max. 1000 entries, in my case the query returns over 5000 entries. I've googled about that issue and people recommending use of simple paging in the script. As much I understood from looking over /usr/local/share/request-tracker4/lib/RT/Extension/LDAPImport.pm this paging feature is not implemented at the moment. Any of you had similiar issue and have some solution (patch) for it beside changing this 1000 entries option on domain controller? Thanks in advance, Ivan -------------- next part -------------- An HTML attachment was scrubbed... URL: From bart at pleh.info Mon Dec 5 08:35:03 2011 From: bart at pleh.info (Bart) Date: Mon, 5 Dec 2011 14:35:03 +0100 Subject: [rt-users] rt-crontool - "increase" the value of a CF. In-Reply-To: References: <20111123170831.GT1021@jibsheet.com> Message-ID: Optimized the scrip by quite a bit, below the result: #!/bin/bash datum=`date "+%d%m%y"` if [ $datum -eq 261211 -o $datum -eq 090412 ] then echo "Mag niet!" else for i in `/opt/rt4/bin/rt ls -t ticket "Status!='resolved' and Status!='rejected' and Status!='spam' and Status!='deleted'" -f status | grep ^[0-9] | cut -f 1`; do case `/opt/rt4/bin/rt ls -t ticket "id=$i" -f status | grep ^[0-9] | cut -f 2` in new) /opt/rt4/bin/rt edit ticket/$i set CF-'Teller New'=$(( `/opt/rt4/bin/rt ls -t ticket "id=$i" -f CF-'Teller New' | grep ^[0-9] | cut -f 2` + 5 ))& ;; open) /opt/rt4/bin/rt edit ticket/$i set CF-'Teller Open'=$(( `/opt/rt4/bin/rt ls -t ticket "id=$i" -f CF-'Teller Open' | grep ^[0-9] | cut -f 2` + 5 ))& ;; *) ;; esac done fi It's the dutch version but I suspect it to be pretty well readable for everyone (datum = date, open = open, teller = counter, new = new, etc.) The first script took roughly 112-120 minutes, the above version finishes in 46-47 minutes on the same set of tickets (6700 active tickets). In our production environment this will result in a run that's finished in less than a minute. Biggest speed boost came because of setting the RT edit command into the background using the & character at the end of the line. It results in having maybe 2 to 3 edit actions running in the background while the script keeps doing it's job instead of waiting on the edit. The performance is still ok on the server when this script is running (non noticeable). -- Bart Op 29 november 2011 12:27 schreef Bart het volgende: > Hi, > > I've created a bash script which will do what I want it to do, using the > RT Tool since this ended up being the easiest for me (I'll look into > improving this further, but for now this works). > > Below the code of what I've created: > > #!/bin/bash > > for i in `/opt/rt4/bin/rt ls -t ticket "Status!='resolved' and > Status!='rejected' and Status!='spam' and Status!='deleted'" -f status | > grep ^[0-9] | cut -f 1`; do > status=`/opt/rt4/bin/rt ls -t ticket "id=$i" -f status | grep ^[0-9] | > cut -f 2` > cnew=`/opt/rt4/bin/rt ls -t ticket "id=$i" -f CF-'Counter New' | grep > ^[0-9] | cut -f 2` > copen=`/opt/rt4/bin/rt ls -t ticket "id=$i" -f CF-'Counter Open' | grep > ^[0-9] | cut -f 2` > if [ "$status" = "new" ] > then > cnew=$(( $cnew + 5 )) > /opt/rt4/bin/rt edit ticket/$i set CF-'Counter New'=$cnew > fi > if [ "$status" = "open" ] > then > copen=$(( $copen + 5 )) > /opt/rt4/bin/rt edit ticket/$i set CF-'Counter Open'=$copen > fi > done > > In the for statement I'm listing all the ticket ID's. > Then I'm extracting specific fields from the ticket by looking it up, I've > found that I need to somehow do it this way because when fields are empty > the entire scrip kinda breaks (e.g. if I put the output into an array, the > array expects space separated input and it will not understand when 1 field > is empty). > > Thus, even if it's kinda ugly I request information three times. > > From there an if statement checks the ticket status, for each status it > will do almost the same (again, I'll probably make this nicer) and increase > the value of the counter CF by 5 (for 5 minutes). > > The downside of this script is that it isn't exactly "fast", takes roughly > 1 second for each ticket. In our case a typical daily "active" tickets in > queue are roughly 120 so it will take 2 minutes to run. Since we run it > every 5 minutes this is (barely) within the allowed time. > > As for improvements, next step is to make this scrip faster and probably > do things via the RT-Crontool. > > But for now I'm happy with this :-) (this gives me some time to think-up a > better solution) > > -- Bart > > > Op 23 november 2011 20:29 schreef Bart het volgende: > > Did some reading on the RT-Tool page ( >> http://requesttracker.wikia.com/wiki/UseRtTool ) and found this command: >> >> bin/rt list -i "Queue = 'testqueue'" | bin/rt edit - set status=resolved >> >> I'm lacking the documentation and our test environment a.t.m. (am at >> home). So I'll do some experimenting in the test environment tomorrow at >> work, hopefully it will show me some nice results ^_^ >> >> >> -- Bart >> >> >> Op 23 november 2011 19:57 schreef Bart het volgende: >> >> Hi Yan, >>> >>> I'll also have a look at the rt script and see if I can manage it using >>> that, thanks :) >>> >>> -- Bart >>> >>> >>> Op 23 november 2011 19:50 schreef Yan Seiner het >>> volgende: >>> >>> Wouldn't this work (snippet from a bigger script): >>>> >>>> # and set custom fields >>>> /opt/rt4/bin/rt edit ticket/${ticket} set >>>> 'CF.{contractor}'="${contractor}" >>>> /opt/rt4/bin/rt edit ticket/${ticket} set 'CF.{amount}'="${amount}" >>>> >>>> That's how I set custom fields. You could get the value that way, >>>> increment it or whatever in a script, and then set it again. >>>> >>>> >>>> >>>> On Wed, November 23, 2011 10:23 am, Bart wrote: >>>> > Hi Kevin, >>>> > >>>> > Thanks for the reply, >>>> > >>>> > Guess I'll have to learn Perl a bit more then and experiment a little >>>> with >>>> > this. >>>> > >>>> > Will post the results once I've gained some progress. >>>> > >>>> > -- Bart >>>> > >>>> > >>>> > Op 23 november 2011 18:08 schreef Kevin Falcone >>>> > het volgende: >>>> > >>>> >> On Wed, Nov 23, 2011 at 05:25:01PM +0100, Bart wrote: >>>> >> > I've then created a simple rt-crontool command to see if I could >>>> >> find >>>> >> a ticket and if I could >>>> >> > set a value when I found that ticket. This worked as well, below >>>> >> the >>>> >> result: >>>> >> > /opt/rt4/bin/rt-crontool \ >>>> >> > --search RT::Search::FromSQL \ >>>> >> > --search-arg "status = 'open'" \ >>>> >> > --action RT::Action::SetPriority --action-arg 3 \ >>>> >> > --verbose >>>> >> > So now for the question(s): >>>> >> > >>>> >> > * First a simple one, how do I set a value for a custom field? >>>> >> > * And the more difficult one, how do I increase a value >>>> instead >>>> >> of >>>> >> replacing it? (adding + >>>> >> > or something like that doesn't seem to work) >>>> >> > >>>> >> > Hopefully this is possible with the rt-crontool, if not then I'd >>>> >> like >>>> >> to hear your thoughts on >>>> >> > how I'd be able to do the above in a different manner. >>>> >> >>>> >> Unfortunately, you'll need to write your own RT::Action to change >>>> the CF >>>> >> >>>> >> You could turn this into a pretty trivial perl script using the RT >>>> API >>>> >> and calling $tickets->FromSQL("status = 'open'") and then iterating >>>> >> the list to call AddCustomFieldValue >>>> >> >>>> >> -kevin >>>> >> >>>> >> -------- >>>> >> RT Training Sessions ( >>>> http://bestpractical.com/services/training.html) >>>> >> * Barcelona, Spain ? November 28 & 29, 2011 >>>> >> >>>> > >>>> > >>>> > !DSPAM:4ecd3a6094962612618147! >>>> > -------- >>>> > RT Training Sessions (http://bestpractical.com/services/training.html >>>> ) >>>> > * Barcelona, Spain ? November 28 & 29, 2011 >>>> > >>>> > !DSPAM:4ecd3a6094962612618147! >>>> > >>>> >>>> >>>> -- >>>> Pain is temporary. It may last a minute, or an hour, or a day, or a >>>> year, >>>> but eventually it will subside and something else will take its place. >>>> If >>>> I quit, however, it lasts forever. >>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dgarcia at cesca.cat Mon Dec 5 11:05:46 2011 From: dgarcia at cesca.cat (Daniel Garcia Mejia) Date: Mon, 05 Dec 2011 17:05:46 +0100 Subject: [rt-users] Problems sending with SendMail Message-ID: <4EDCEBDA.4050706@cesca.cat> Hi I configure my RT with Stand Alone Server Mode. I used 'SendMail' to send mails from RT to notify create, response, resolve tickets ,... I have problems because my RT don't send emails to any domain, only send email from localhost. I configure my SendMail following the next steps: http://www.linuxjournal.com/article/5507 I restart 'sendmail' service and test if RT send mails to any domain, but don't work. Also, I configure RT_SiteConfig.pm: Set($SendmailArguments, "-oi -t"); Set($SendmailPatch, "/usr/sbin/sendmail"); But, don't work :( Any suggerence? Thanks!! -- ....................................................................... __ / / Daniel Garc?a Mej?a C E / S / C A Portals i Repositoris /_/ Centre de Serveis Cient?fics i Acad?mics de Catalunya Gran Capit?, 2-4 (Edifici Nexus) - 08034 Barcelona T. (NULL) - F. 93 205 6979 - dgarcia at cesca.cat ....................................................................... From bluethundr at jokefire.com Mon Dec 5 11:50:35 2011 From: bluethundr at jokefire.com (Tim Dunphy) Date: Mon, 05 Dec 2011 16:50:35 -0000 (UTC) Subject: [rt-users] add 'tale' link to rt emails In-Reply-To: Message-ID: <57635d44-fe50-4d02-99b5-81e55d5c6b24@li289-212> hello list, I am attempting to have my rt instance include a link to 'take' the ticket in the emails sent out by the queue I just setup. In my template for the queue I have included this text: Please attend to this request. {RT->Config->Get('WebURL')}Ticket/Display.html?Action=Take&id={$Ticket->id} thank you But no link appears in the ticket: Greetings, This message has been automatically generated in response to the creation of a trouble ticket regarding: "take link 3rd try", a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [Operations #52]. Please include the string: [Operations #52] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, ops at mm3.mlbam.com ------------------------------------------------------------------------- Test 'take' link in RT Can someone please point out what I'm doing wrong and how to correct it? thanks! tim From yan at seiner.com Mon Dec 5 13:52:05 2011 From: yan at seiner.com (Yan Seiner) Date: Mon, 5 Dec 2011 10:52:05 -0800 (PST) Subject: [rt-users] Clock and TitleBox widgets Message-ID: <4ad9a51296d75983a40f4ba1a1f2ecbe.squirrel@mail.seiner.com> Has anyone implemented TitleBox and Clock (and maybe other) widgets that can be used on dashboards? We rolled out our status board which shows the status of current jobs. The status board is a browser kiosk (no window decorations or menubar). The two most asked questions: Where is the clock? and Can we get sports info on it? :-) A clock would be good. -- Pain is temporary. It may last a minute, or an hour, or a day, or a year, but eventually it will subside and something else will take its place. If I quit, however, it lasts forever. From kenn.crocker at gmail.com Tue Dec 6 01:17:41 2011 From: kenn.crocker at gmail.com (Kenneth Crocker) Date: Mon, 5 Dec 2011 22:17:41 -0800 Subject: [rt-users] RE notify colleagues about a ticket in RT web interface (not by mail) In-Reply-To: <28009_1322751381_4ED79595_28009_1221_1_OF5E20AFCF.86EAEF14-ONC1257959.0051C712-C1257959.00520EF7@sagemcom.com> References: <37DA7379-66D2-4EC5-B65C-41635371479C@nf.mpg.de> <28009_1322751381_4ED79595_28009_1221_1_OF5E20AFCF.86EAEF14-ONC1257959.0051C712-C1257959.00520EF7@sagemcom.com> Message-ID: Raphael, Why do you give the ticket back to the originator? Why not just resolve it and let RT send them an email, after all, it is finished, is it not? You can always run a report to list ticket generated by whomever. As far as types of notification, I can't think of anything other than email notifications or a dashboard report that belongs to a group, but either way, they get it thru the email interface. You can turn on the setting to inform people of unread email, but you complained that not everyone gets into their WebUI often enough. I think you're stuck with email. Kenn 2011/12/1 Rapha?l MOUNEYRES > > Hello, > > here, when someone need help from someone else, he writes a comment as you > do, and then gives the ticket to the person from who he wantq support. > A scrip informs him by email, and the ticket is now in his list. > When this second person has finished helping/commenting, he can give back > the ticket to the firt person. > This is a simple mechanism, but working here. > > Rapha?l MOUNEYRES > > > > *Stefan Vollmar * > Envoy? par : rt-users-bounces at lists.bestpractical.com > > 01/12/2011 15:35 > A > rt-users at lists.bestpractical.com > cc > Objet > [rt-users] notify colleagues about a ticket in RT web interface > (not by mail) > > > > > Hi, > > we have just started using RT and come across this problem: a ticket has > been opened (by one of our users via a simplified web interface or > internally), somebody in the support group has started working on it > (she/he is now the owner) but finds that other colleagues should be > involved at some stage. Now using a CC or AdminCC with the "comment" action > can be used to notify the colleague that help would be appreciated with > this case. However, this notification is mail-based and (in our case) some > members of the support group will look at the RT web interface more often > than at their mail clients - but the ticket will not show in either of > their default ticket lists (it is neither "unowned", nor is it "owned" by > them). Is there a recommended way to notify regular RT users (in the RT web > interface) that they should look into a ticket - other than generating mail > notifications for them or making them the owner of a case? > > Many thanks in advance for any help with this! > > Best regards, > Stefan > -- > Dr. Stefan Vollmar, Dipl.-Phys. > Head of IT group > Max-Planck-Institut f?r neurologische Forschung > Gleueler Str. 50, 50931 K?ln, Germany > Tel.: +49-221-4726-213 FAX +49-221-4726-298 > Tel.: +49-221-478-5713 Mobile: 0160-93874279 > E-Mail: vollmar at nf.mpg.de http://www.nf.mpg.de > > > > > > > > > -------- > RT Training Sessions ( > http://bestpractical.com/services/training.html) > * Boston ? TBA > > # > " Ce courriel et les documents qui lui sont joints peuvent contenir des > informations confidentielles ou ayant un caract?re priv?. S'ils ne vous sont > pas destin?s, nous vous signalons qu'il est strictement interdit de les > divulguer, de les reproduire ou d'en utiliser de quelque mani?re que ce > soit le contenu. Si ce message vous a ?t? transmis par erreur, merci d'en > informer l'exp?diteur et de supprimer imm?diatement de votre syst?me > informatique ce courriel ainsi que tous les documents qui y sont attach?s." > > > ****** > > " This e-mail and any attached documents may contain confidential or > proprietary information. If you are not the intended recipient, you are > notified that any dissemination, copying of this e-mail and any attachments > thereto or use of their contents by any means whatsoever is strictly > prohibited. If you have received this e-mail in error, please advise the > sender immediately and delete this e-mail and all attached documents > from your computer system." > # > > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ? TBA > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kenn.crocker at gmail.com Tue Dec 6 01:21:14 2011 From: kenn.crocker at gmail.com (Kenneth Crocker) Date: Mon, 5 Dec 2011 22:21:14 -0800 Subject: [rt-users] notify colleagues about a ticket in RT web interface (not by mail) In-Reply-To: <37DA7379-66D2-4EC5-B65C-41635371479C@nf.mpg.de> References: <37DA7379-66D2-4EC5-B65C-41635371479C@nf.mpg.de> Message-ID: Stefan, Try creating a query and putting it into a Dashboard owned by the support group Or add it to their home page display. Kenn On Thu, Dec 1, 2011 at 6:17 AM, Stefan Vollmar wrote: > Hi, > > we have just started using RT and come across this problem: a ticket has > been opened (by one of our users via a simplified web interface or > internally), somebody in the support group has started working on it > (she/he is now the owner) but finds that other colleagues should be > involved at some stage. Now using a CC or AdminCC with the "comment" action > can be used to notify the colleague that help would be appreciated with > this case. However, this notification is mail-based and (in our case) some > members of the support group will look at the RT web interface more often > than at their mail clients - but the ticket will not show in either of > their default ticket lists (it is neither "unowned", nor is it "owned" by > them). Is there a recommended way to notify regular RT users (in the RT web > interface) that they should look into a ticket - other than generating mail > notifications for them or making them the owner of a case? > > Many thanks in advance for any help with this! > > Best regards, > Stefan > -- > Dr. Stefan Vollmar, Dipl.-Phys. > Head of IT group > Max-Planck-Institut f?r neurologische Forschung > Gleueler Str. 50, 50931 K?ln, Germany > Tel.: +49-221-4726-213 FAX +49-221-4726-298 > Tel.: +49-221-478-5713 Mobile: 0160-93874279 > E-Mail: vollmar at nf.mpg.de http://www.nf.mpg.de > > > > > > > > > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ? TBA > -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.brot at sefa.ch Tue Dec 6 03:17:15 2011 From: s.brot at sefa.ch (=?iso-8859-1?Q?St=E9phane_Brot?=) Date: Tue, 6 Dec 2011 09:17:15 +0100 Subject: [rt-users] Encoding of subject line in outgoing messages Message-ID: <665A19FE055E2848A51A23BC005F9F3F09F3D2@sefa10.sefa.local> Hello list, I just installed RT 4.0.4 on Debian Squeeze with mySQL. If I create a ticket in the web interface with french special characters like ? ? in the subject, the subject line of the outgoing mail for the requestor is not OK. Here is the mail header : Subject: =?us-ascii?Q?=3D=3FUTF-8=3FB=3FW3NlZmFuZXQgIzE2XSBBdXRvUmVwbH?= =?us-ascii?Q?k6IENyw6nDqSBkYW5zIFJUIGF2ZWM=3D=3F=3D?= Seems to be utf-8 surrounded by us-ascii !? EmailOutputEncoding is set to 'utf-8' ( that was the default config ). Where does this us-ascii come from ? Everything shows OK in the web interface. No problem with the special characters in the description of issue. The outgoing emails are handeled by mailx. No problem with special characters when using mailx from the console. Stephane -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.brot at sefa.ch Tue Dec 6 03:42:28 2011 From: s.brot at sefa.ch (=?iso-8859-1?Q?St=E9phane_Brot?=) Date: Tue, 6 Dec 2011 09:42:28 +0100 Subject: [rt-users] Encoding of subject line in outgoing messages - not RT fault Message-ID: <665A19FE055E2848A51A23BC005F9F3F09F3D3@sefa10.sefa.local> Hello again, Discovered the option testfile for MailCommand : the saved file has subject OK , so RT itself is OK. Have to check mailx.. or try something else. Sorry for the noise. Stephane. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cofkie at gmail.com Tue Dec 6 07:01:44 2011 From: cofkie at gmail.com (Marius Karnauskas) Date: Tue, 6 Dec 2011 12:01:44 +0000 Subject: [rt-users] any simple way to access custom transaction fields? In-Reply-To: References: Message-ID: Hi, I have custom transaction fields for tickets but I can't see any of values of them while using rt cli command: rt show /history How I could easily access these fields, (Perl API would be my last option)? I would like to generate some reports based on these values.. -- Thanks Marius From arlon.sousa at ispm.com.br Tue Dec 6 07:15:17 2011 From: arlon.sousa at ispm.com.br (Arlon Sousa) Date: Tue, 6 Dec 2011 10:15:17 -0200 Subject: [rt-users] External Authentication with LDAP menssager erro! Message-ID: <000601ccb410$b7ace6e0$2706b4a0$@sousa@ispm.com.br> After the configuration / opt/rt4/etc/RT_Siteconfig and / opt/rt4/local/plugins/RT-Authen-ExternalAuth/etc/RT_Siteconfig he show me this Feedback below. Set up where I can be wrong or WHAT? %# BEGIN BPS TAGGED BLOCK {{{ %# %# COPYRIGHT: %# %# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) %# %# %# LICENSE: %# %# This work is made available to you under the terms of Version 2 of %# the GNU General Public License. A copy of that license should have %# been provided with this software, but in any event can be snarfed %# from www.gnu.org. %# %# This work is distributed in the hope that it will be useful, but %# WITHOUT ANY WARRANTY; without even the implied warranty of %# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU %# General Public License for more details. %# %# You should have received a copy of the GNU General Public License %# along with this program; if not, write to the Free Software %# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA %# 02110-1301 or visit their web page on the internet at %# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. %# %# %# CONTRIBUTION SUBMISSION POLICY: %# %# (The following paragraph is not intended to limit the rights granted %# to you to modify and distribute this software under the terms of %# the GNU General Public License and is only of importance to you if %# you choose to contribute your changes and enhancements to the %# community by submitting them to Best Practical Solutions, LLC.) %# %# By intentionally submitting any modifications, corrections or %# derivatives to this work, or any other work intended for use with %# Request Tracker, to Best Practical Solutions, LLC, you confirm that %# you are the copyright holder for those contributions and you grant %# Best Practical Solutions, LLC a nonexclusive, worldwide, irrevocable, %# royalty-free, perpetual, license to use, copy, create derivative %# works based on those contributions, and sublicense and distribute %# those contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} <%init> my ($good, $msg) = RT::Interface::Web::AttemptPasswordAuthentication(\%ARGS); $ARGS{'actions'} = [$msg] if not $good and $msg; <& /Elements/Login, %ARGS &> cid:image002.jpg at 01CC81DA.C11C6920 Arlon Sousa +55 21 2494 9110 / +55 21 3172 9673 / +55 21 7801-9264 arlon.sousa at ispm.com.br Avenida das Am?ricas, 700 | Bloco 3| cj.218 Barra da Tijuca | 22640-100 Rio de Janeiro/RJ | Brasil www.ispm.com.br ?Esta mensagem, incluindo seus anexos, pode conter informa??es privilegiadas e/ou de car?ter confidencial, n?o podendo ser retransmitida sem autoriza??o do remetente. Se voc? n?o ? o destinat?rio ou pessoa autorizada a receb?-la, por favor, nos informe respondendo imediatamente a este e-mail e em seguida apague-a. Obrigado. ISPM? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 44997 bytes Desc: not available URL: From bart at pleh.info Tue Dec 6 07:44:11 2011 From: bart at pleh.info (Bart) Date: Tue, 6 Dec 2011 13:44:11 +0100 Subject: [rt-users] External Authentication with LDAP menssager erro! In-Reply-To: <4ede07b8.08080e0a.1a43.7a39SMTPIN_ADDED@mx.google.com> References: <4ede07b8.08080e0a.1a43.7a39SMTPIN_ADDED@mx.google.com> Message-ID: Hi, This file only contains an example, this config isn't used for RT: /opt/rt4/local/plugins/RT-Authen-ExternalAuth/etc/RT_Siteconfig The content however can be included in this file: /opt/rt4/etc/RT_Siteconfig In there you'll have to make sure that everything is configured for your situation. Adding this line to your RT_SiteConfig will help finding problems, might help a bit: Set($LogToSyslog, "debug"); And, last but not least. Make sure you've loaded the plugin in your RT_SiteConfig: # How we have the plugins set, ExternalAuth at the end. Set(@Plugins, (qw(RT::Extension::SLA RT::Extension::HistoryFilter RT::Extension::ResetPassword RT::Extension::MergeUsers RT::Authen::ExternalAuth))); Hope this helps a bit, otherwise you'll have to provide us with more info on what your trying to do + what your current RT_SiteConfig.pm looks like. (and possibly debug info if available) -- Bart Op 6 december 2011 13:15 schreef Arlon Sousa het volgende: > After the configuration / opt/rt4/etc/RT_Siteconfig and / > opt/rt4/local/plugins/RT-Authen-ExternalAuth/etc/RT_Siteconfig he show me > this Feedback below.**** > > ** ** > > Set up where I can be wrong or WHAT?**** > > ** ** > > ** ** > > %# BEGIN BPS TAGGED BLOCK {{{ %# %# COPYRIGHT: %# %# This software is > Copyright (c) 1996-2011 Best Practical Solutions, LLC %# %# %# (Except > where explicitly superseded by other copyright notices) %# %# %# LICENSE: > %# %# This work is made available to you under the terms of Version 2 of %# > the GNU General Public License. A copy of that license should have %# been > provided with this software, but in any event can be snarfed %# from > www.gnu.org. %# %# This work is distributed in the hope that it will be > useful, but %# WITHOUT ANY WARRANTY; without even the implied warranty of > %# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU %# > General Public License for more details. %# %# You should have received a > copy of the GNU General Public License %# along with this program; if not, > write to the Free Software %# Foundation, Inc., 51 Franklin Street, Fifth > Floor, Boston, MA %# 02110-1301 or visit their web page on the internet at > %# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. %# %# %# > CONTRIBUTION SUBMISSION POLICY: %# %# (The following paragraph is not > intended to limit the rights granted %# to you to modify and distribute > this software under the terms of %# the GNU General Public License and is > only of importance to you if %# you choose to contribute your changes and > enhancements to the %# community by submitting them to Best Practical > Solutions, LLC.) %# %# By intentionally submitting any modifications, > corrections or %# derivatives to this work, or any other work intended for > use with %# Request Tracker, to Best Practical Solutions, LLC, you confirm > that %# you are the copyright holder for those contributions and you grant > %# Best Practical Solutions, LLC a nonexclusive, worldwide, irrevocable, %# > royalty-free, perpetual, license to use, copy, create derivative %# works > based on those contributions, and sublicense and distribute %# those > contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} > <%init> my ($good, $msg) = > RT::Interface::Web::AttemptPasswordAuthentication(\%ARGS); $ARGS{'actions'} > = [$msg] if not $good and $msg; <& /Elements/Login, %ARGS &> > > ** ** > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ? March 5 & 6, 2012 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gentgeen at wikiak.org Tue Dec 6 08:04:35 2011 From: gentgeen at wikiak.org (Kevin Squire) Date: Tue, 6 Dec 2011 08:04:35 -0500 Subject: [rt-users] Upgrade RT and AT and now can not create assets Message-ID: <20111206080435.1968fcc5@longshot.localdomain> I have a system that we upgraded from RT 3.6.7 to 3.8.8 back in Aug. I did a fresh install of RT. Then restored the database. Then one-by-one added back in any customizations, plugins, etc. We where using Asset Tracker on our 3.6.7 install (so the data was restored when the DB was restored). I have installed rt-extension-assettracker-2.0.0b2-0-g2b51b9a.tar.gz We can see, search, and even edit assets without any problem. The (only?) problem comes when I try to create new assets. When I try to create new assess, error shows in web browser: Can't call method "HasRight" on an undefined value at /usr/share/request-tracker3.8/lib/RT/User_Overlay.pm line 1357. When I did the install of AT, I was able to do the first 3 steps no problem: $ RTHOME=/path/to/rt perl Makefile.PL $ make $ make install When I would run 'make initdb' I would get an error: Now populating database schema. DBD::Pg::st execute failed: ERROR: relation "at_types" already exists at /usr/share/request-tracker3.8/lib/RT/Handle.pm line 506. ...returned with error: 65280 make: *** [initdb] Error 255 I have attached a segment of my syslog output. What is shown is Right after hitting the 'submit' button when trying to create an asset. Any help fixing this so we can create new assets again would be greatly appreciated. -- http://www.wikiak.org ############################################################# Associate yourself with men of good quality if you esteem your own reputation; for 'tis better to be alone then in bad company. - George Washington, Rules of Civility -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Asset_Making.syslog.txt URL: From bart at pleh.info Tue Dec 6 08:30:26 2011 From: bart at pleh.info (Bart) Date: Tue, 6 Dec 2011 14:30:26 +0100 Subject: [rt-users] External Authentication with LDAP menssager erro! In-Reply-To: <4ede1817.04340e0a.5ba3.560eSMTPIN_ADDED@mx.google.com> References: <4ede07b8.08080e0a.1a43.7a39SMTPIN_ADDED@mx.google.com> <4ede1817.04340e0a.5ba3.560eSMTPIN_ADDED@mx.google.com> Message-ID: (always reply to the list) Looks like your trying to load the SLA plugin while RT is saying it can't load it. Have you tried removing the SLA plugin from your plugins line and restarting apache after that? -- Bart Op 6 december 2011 14:26 schreef Arlon Sousa het volgende: > I configured my RT_Siteconfig the way of suggestion that you told me > however showed me this error.**** > > ** ** > > ** ** > > [root at locrt etc]# service httpd restart**** > > Stopping httpd: [ OK ]**** > > Starting httpd: [Tue Dec 6 13:23:36 2011] [warning]: (in cleanup) Error > while loading /opt/rt4/sbin/rt-server: Can't locate RT/Extension/SLA.pm in > @INC (@INC contains: /opt/rt4/sbin/../local/lib > /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt4/sbin/../lib > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 . > /etc/httpd) at /opt/rt4/sbin/../lib/RT.pm line 659. > (/opt/rt4/sbin/../lib/RT.pm:343)**** > > [ OK ]**** > > ** ** > > ** ** > > [image: cid:image002.jpg at 01CC81DA.C11C6920]**** > > Arlon Sousa > *+55 21 2494 9110 / +55 21 3172 9673 / +55 21 7801-9264 > arlon.sousa at ispm.com.br* > > *Avenida das Am?ricas, 700 | Bloco 3| cj.218 > Barra da Tijuca | 22640-100 > Rio de Janeiro/RJ | Brasil > www.ispm.com.br***** > > **** > > ?Esta mensagem, incluindo seus anexos, pode conter informa??es > privilegiadas e/ou de car?ter confidencial, n?o podendo ser retransmitida > sem autoriza??o do remetente. Se voc? n?o ? o destinat?rio ou pessoa > autorizada a receb?-la, por favor, nos informe respondendo imediatamente a > este e-mail e em seguida apague-a. Obrigado. ISPM? **** > > ** ** > > ** ** > > *De:* rt-users-bounces at lists.bestpractical.com [mailto: > rt-users-bounces at lists.bestpractical.com] *Em nome de *Bart > *Enviada em:* ter?a-feira, 6 de dezembro de 2011 10:44 > *Para:* rt-users at lists.bestpractical.com > *Assunto:* Re: [rt-users] External Authentication with LDAP menssager > erro!**** > > ** ** > > Hi,**** > > ** ** > > This file only contains an example, this config isn't used for RT:**** > > ** ** > > /opt/rt4/local/plugins/RT-Authen-ExternalAuth/etc/RT_Siteconfig**** > > ** ** > > The content however can be included in this file:**** > > ** ** > > /opt/rt4/etc/RT_Siteconfig**** > > ** ** > > In there you'll have to make sure that everything is configured for your > situation.**** > > ** ** > > Adding this line to your RT_SiteConfig will help finding problems, might > help a bit:**** > > ** ** > > Set($LogToSyslog, "debug");**** > > ** ** > > And, last but not least. Make sure you've loaded the plugin in your > RT_SiteConfig:**** > > ** ** > > # How we have the plugins set, ExternalAuth at the end.**** > > Set(@Plugins, (qw(RT::Extension::SLA RT::Extension::HistoryFilter > RT::Extension::ResetPassword RT::Extension::MergeUsers > RT::Authen::ExternalAuth)));**** > > ** ** > > Hope this helps a bit, otherwise you'll have to provide us with more info > on what your trying to do + what your current RT_SiteConfig.pm looks like. > (and possibly debug info if available)**** > > > -- Bart > > **** > > Op 6 december 2011 13:15 schreef Arlon Sousa > het volgende:**** > > After the configuration > / opt/rt4/etc/RT_Siteconfig and / opt/rt4/local/plugins/RT-Authen-ExternalAuth/etc/RT_Siteconfig he show me > this Feedback below.**** > > **** > > Set up where I can be wrong or WHAT?**** > > **** > > **** > > %# BEGIN BPS TAGGED BLOCK {{{ %# %# COPYRIGHT: %# %# This software is > Copyright (c) 1996-2011 Best Practical Solutions, LLC %# %# %# (Except > where explicitly superseded by other copyright notices) %# %# %# LICENSE: > %# %# This work is made available to you under the terms of Version 2 of %# > the GNU General Public License. A copy of that license should have %# been > provided with this software, but in any event can be snarfed %# from > www.gnu.org. %# %# This work is distributed in the hope that it will be > useful, but %# WITHOUT ANY WARRANTY; without even the implied warranty of > %# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU %# > General Public License for more details. %# %# You should have received a > copy of the GNU General Public License %# along with this program; if not, > write to the Free Software %# Foundation, Inc., 51 Franklin Street, Fifth > Floor, Boston, MA %# 02110-1301 or visit their web page on the internet at > %# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. %# %# %# > CONTRIBUTION SUBMISSION POLICY: %# %# (The following paragraph is not > intended to limit the rights granted %# to you to modify and distribute > this software under the terms of %# the GNU General Public License and is > only of importance to you if %# you choose to contribute your changes and > enhancements to the %# community by submitting them to Best Practical > Solutions, LLC.) %# %# By intentionally submitting any modifications, > corrections or %# derivatives to this work, or any other work intended for > use with %# Request Tracker, to Best Practical Solutions, LLC, you confirm > that %# you are the copyright holder for those contributions and you grant > %# Best Practical Solutions, LLC a nonexclusive, worldwide, irrevocable, %# > royalty-free, perpetual, license to use, copy, create derivative %# works > based on those contributions, and sublicense and distribute %# those > contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} > <%init> my ($good, $msg) = > RT::Interface::Web::AttemptPasswordAuthentication(\%ARGS); $ARGS{'actions'} > = [$msg] if not $good and $msg; <& /Elements/Login, %ARGS &>**** > > **** > > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ? March 5 & 6, 2012**** > > ** ** > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 44997 bytes Desc: not available URL: From trs at bestpractical.com Tue Dec 6 09:56:08 2011 From: trs at bestpractical.com (Thomas Sibley) Date: Tue, 06 Dec 2011 09:56:08 -0500 Subject: [rt-users] Encoding of subject line in outgoing messages In-Reply-To: <665A19FE055E2848A51A23BC005F9F3F09F3D2@sefa10.sefa.local> References: <665A19FE055E2848A51A23BC005F9F3F09F3D2@sefa10.sefa.local> Message-ID: <4EDE2D08.3020900@bestpractical.com> On 12/06/2011 03:17 AM, St?phane Brot wrote: > If I create a ticketin the web interface with french special characters > like ? ?in the subject, the subject line of the outgoing mail for the > requestorisnot OK. Here is the mail header : > > Subject: =?us-ascii?Q?=3D=3FUTF-8=3FB=3FW3NlZmFuZXQgIzE2XSBBdXRvUmVwbH?= > > =?us-ascii?Q?k6IENyw6nDqSBkYW5zIFJUIGF2ZWM=3D=3F=3D?= > > Seems tobe utf-8 surrounded by us-ascii !? This is a correct encoding of Subject lines according to mail standards. Is it actually causing problems in your mail client? Thomas From trs at bestpractical.com Tue Dec 6 10:01:22 2011 From: trs at bestpractical.com (Thomas Sibley) Date: Tue, 06 Dec 2011 10:01:22 -0500 Subject: [rt-users] Encoding of subject line in outgoing messages In-Reply-To: <4EDE2D08.3020900@bestpractical.com> References: <665A19FE055E2848A51A23BC005F9F3F09F3D2@sefa10.sefa.local> <4EDE2D08.3020900@bestpractical.com> Message-ID: <4EDE2E42.8080000@bestpractical.com> On 12/06/2011 09:56 AM, Thomas Sibley wrote: > On 12/06/2011 03:17 AM, St?phane Brot wrote: >> If I create a ticketin the web interface with french special characters >> like ? ?in the subject, the subject line of the outgoing mail for the >> requestorisnot OK. Here is the mail header : >> >> Subject: =?us-ascii?Q?=3D=3FUTF-8=3FB=3FW3NlZmFuZXQgIzE2XSBBdXRvUmVwbH?= >> >> =?us-ascii?Q?k6IENyw6nDqSBkYW5zIFJUIGF2ZWM=3D=3F=3D?= >> >> Seems tobe utf-8 surrounded by us-ascii !? > > This is a correct encoding of Subject lines according to mail standards. > Is it actually causing problems in your mail client? Actually, it is a little weird since it's doubly MIME header encoded (as I just noticed). You've said it appears to be mailx, so I'll clam up now. ;) Thomas From trs at bestpractical.com Tue Dec 6 11:08:35 2011 From: trs at bestpractical.com (Thomas Sibley) Date: Tue, 06 Dec 2011 11:08:35 -0500 Subject: [rt-users] RES: Encoding of subject line in outgoing messages In-Reply-To: <004201ccb42e$d9e635e0$8db2a1a0$@sousa@ispm.com.br> References: <665A19FE055E2848A51A23BC005F9F3F09F3D2@sefa10.sefa.local> <4EDE2D08.3020900@bestpractical.com> <4EDE2E42.8080000@bestpractical.com> <004201ccb42e$d9e635e0$8db2a1a0$@sousa@ispm.com.br> Message-ID: <4EDE3E03.3040003@bestpractical.com> You've configured ExternalAuth wrong. Please don't send mail directly to me. Send mail to the list. On 12/06/2011 10:51 AM, Arlon Sousa wrote: > Now show me this feedback. > > I installed all the modules required > > install_driver(DBI_DRIVER) failed: Can't locate DBD/DBI_DRIVER.pm in @INC (@INC contains: /opt/rt4/sbin/../local/lib /opt/rt4/local/plugins/RT-Extension-SLA/lib /opt/rt4/local/plugins/RT-Extension-HistoryFilter/lib /opt/rt4/local/plugins/RT-Extension-ResetPassword/lib /opt/rt4/local/plugins/RT-Extension-MergeUsers/lib /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt4/sbin/../lib /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at (eval 231) line 3. Stack: [(eval 231):3] [/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/DBI.pm:646] [/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm:446] [/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/D BI.pm:218] [/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:356] [/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:106] [/opt/rt4/local/plugins/RT-Authen-ExternalAuth/html/Elements/DoAuth:10] [/opt/rt4/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Session:2] [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:236] [/opt/rt4/share/html/autohandler:53] Perhaps the DBD::DBI_DRIVER perl module hasn't been fully installed, or perhaps the capitalisation of 'DBI_DRIVER' isn't right. Available drivers: DBM, ExampleP, File, Gofer, LDAP, Pg, Proxy, Sponge, mysql. at /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm line 446 > > > Arlon Sousa > +55 21 2494 9110 / +55 21 3172 9673 / +55 21 7801-9264 > arlon.sousa at ispm.com.br > Avenida das Am?ricas, 700 | Bloco 3| cj.218 > Barra da Tijuca | 22640-100 > Rio de Janeiro/RJ | Brasil > www.ispm.com.br > > > > ?Esta mensagem, incluindo seus anexos, pode conter informa??es privilegiadas e/ou de car?ter confidencial, n?o podendo ser retransmitida sem autoriza??o do remetente. Se voc? n?o ? o destinat?rio ou pessoa autorizada a receb?-la, por favor, nos informe respondendo imediatamente a este e-mail e em seguida apague-a. Obrigado. ISPM? From arlon.sousa at ispm.com.br Tue Dec 6 11:13:30 2011 From: arlon.sousa at ispm.com.br (Arlon Sousa) Date: Tue, 6 Dec 2011 14:13:30 -0200 Subject: [rt-users] Feedback erro! Message-ID: <004301ccb431$fe866700$fb933500$@sousa@ispm.com.br> Now show me this feedback. I installed all the modules required install_driver(DBI_DRIVER) failed: Can't locate DBD/DBI_DRIVER.pm in @INC (@INC contains: /opt/rt4/sbin/../local/lib /opt/rt4/local/plugins/RT-Extension-SLA/lib /opt/rt4/local/plugins/RT-Extension-HistoryFilter/lib /opt/rt4/local/plugins/RT-Extension-ResetPassword/lib /opt/rt4/local/plugins/RT-Extension-MergeUsers/lib /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt4/sbin/../lib /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at (eval 231) line 3. Stack: [(eval 231):3] [/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/DBI.pm:646] [/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DB I.pm:446] [/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DB I.pm:218] [/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm :356] [/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm :106] [/opt/rt4/local/plugins/RT-Authen-ExternalAuth/html/Elements/DoAuth:10] [/opt/rt4/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/a utohandler/Session:2] [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:236] [/opt/rt4/share/html/autohandler:53] Perhaps the DBD::DBI_DRIVER perl module hasn't been fully installed, or perhaps the capitalisation of 'DBI_DRIVER' isn't right. Available drivers: DBM, ExampleP, File, Gofer, LDAP, Pg, Proxy, Sponge, mysql. at /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI .pm line 446 cid:image002.jpg at 01CC81DA.C11C6920 Arlon Sousa +55 21 2494 9110 / +55 21 3172 9673 / +55 21 7801-9264 arlon.sousa at ispm.com.br Avenida das Am?ricas, 700 | Bloco 3| cj.218 Barra da Tijuca | 22640-100 Rio de Janeiro/RJ | Brasil www.ispm.com.br ?Esta mensagem, incluindo seus anexos, pode conter informa??es privilegiadas e/ou de car?ter confidencial, n?o podendo ser retransmitida sem autoriza??o do remetente. Se voc? n?o ? o destinat?rio ou pessoa autorizada a receb?-la, por favor, nos informe respondendo imediatamente a este e-mail e em seguida apague-a. Obrigado. ISPM? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 44997 bytes Desc: not available URL: From pofish at ucdavis.edu Tue Dec 6 15:00:37 2011 From: pofish at ucdavis.edu (Patrick Fish) Date: Tue, 6 Dec 2011 20:00:37 +0000 Subject: [rt-users] Superscript? In-Reply-To: <05AD4EE355A101449606559DD4802D75488639@exmbx6.ex.ad3.ucdavis.edu> References: <05AD4EE355A101449606559DD4802D75488639@exmbx6.ex.ad3.ucdavis.edu> Message-ID: <05AD4EE355A101449606559DD4802D7548BF05@exmbx6.ex.ad3.ucdavis.edu> I didn't get any responses but I stumbled upon the CKEditor config file in /opt/rt4/share/html/NoAuth/RichText/ckeditor/config.js: I added Subscript and Superscript to the config.toolbar_Full section: config.toolbar_Full = [ ['Cut','Copy','Paste','PasteText','PasteFromWord','Subscript','Superscript'], ['Undo','Redo','-','-','SelectAll','RemoveFormat'], ['Table','HorizontalRule','SpecialChar'], '/', ['Bold','Italic','Underline','Strike'], ['NumberedList','BulletedList','-','Outdent','Indent'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], '/', ['Format','Font','FontSize'], ['TextColor'], ['Link'] ]; Hope this helps someone in the future. http://xkcd.com/979/ -Patrick From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Patrick Fish Sent: Thursday, December 01, 2011 1:23 PM To: rt-users at lists.bestpractical.com Subject: [rt-users] Superscript? Hello, Is it possible to enable superscript in the RT WYSIWYG (CKEditor?) editor? Thanks, Patrick -------------- next part -------------- An HTML attachment was scrubbed... URL: From bwiese at ElementPS.com Tue Dec 6 16:41:19 2011 From: bwiese at ElementPS.com (Brent Wiese) Date: Tue, 6 Dec 2011 14:41:19 -0700 Subject: [rt-users] Looping through transactionobj Message-ID: <7ECD0C8955ADE149B95716B364B4D58F26C669874E@EXCCR01.eps.local> I have a scrip that checks to see if the value of certain customfield value has changed. If so, it sets the value of a different custom field. I want to expand it to check if the value of another customfield has changed and if so, set the value of a 4th custom field. So: If CF1 changed, set CF2 to "hi" and/or If CF3 changed, set CF4 to "bye" The scrip works fine if either CF1 or CF3 is changed, but if BOTH are changed, it's only setting CF4. I suspect I'm only catching the highest CF ID number - the last in the set. I have some other CF's on the ticket that have ID's higher than CF1, but lower than CF3 (just the way they got added into the system) and the same thing happens if I change the value of one of them and CF1 - CF2 doesn't get changed, but CF3/CF4 works. How do I loop through the TransactionObj to make sure I pick up all the changes? I can sort out the non-CF1/3 changes with an IF, but I can't figure out how to get my "while" statement right... I've tried this: my $trans = $self->TransactionObj; while (my $customtrans = $trans->Next){ ... } and while (my $customtrans = $trans->Next()){ ... } But I get: RT: Scrip 27 Prepare failed: RT::Transaction::Next Unimplemented in RT::Action::UserDefined. I've tried: my $cffields = $self->TransactionObj ->CustomField; Got: RT: Scrip 27 Prepare failed: RT::Transaction::CustomField Unimplemented in RT::Action::UserDefined. Tried: my $cffields = $trans->Field; while (my $customtrans = $ cffields ->Next()){ ... } Got: Scrip 27 Prepare failed: Can't call method "Next" without a package or object reference at (eval 3099) line 24 Thanks, Brent -------------- next part -------------- An HTML attachment was scrubbed... URL: From bart at pleh.info Wed Dec 7 10:23:28 2011 From: bart at pleh.info (Bart) Date: Wed, 7 Dec 2011 16:23:28 +0100 Subject: [rt-users] RT tool & RecordTransaction => 0 Message-ID: Hi, Is there an equivalent way of making the transactions silent via the RT tool? Within a normal scrip using RecordTransaction => 0, is there a similar way for making an edit via the RT tool silent? -- Bart -------------- next part -------------- An HTML attachment was scrubbed... URL: From kenneth-cummins at uiowa.edu Wed Dec 7 12:00:51 2011 From: kenneth-cummins at uiowa.edu (Cummins, Kenneth V) Date: Wed, 7 Dec 2011 17:00:51 +0000 Subject: [rt-users] Leveraging CustomField descriptions Message-ID: Is there anyone who has created an unpublished extension to leverage the description field of a CustomField value? My specific issue is that I want a Custom Field that the user can select (in this case a list of departments), and then use the description (the email address of the departmental contact) to set the requestor value of the ticket. The department list should be relatively static, but the email of the departmental contact may change, and may not be known to the person filling out the form. Is there anything to do this, or another way to link the values (relatively simple, this is a high-visibility project that needs to be done quickly)? Kenneth Cummins Application Development and Support Health Care Information Systems University of Iowa Hospitals and Clinics 1000BT Iowa City, IA 52242 319.353.7719 mailto:Kenneth-Cummins at uiowa.edu Notice: This e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you. ________________________________ Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From arlon.sousa at ispm.com.br Wed Dec 7 12:29:56 2011 From: arlon.sousa at ispm.com.br (Arlon Sousa) Date: Wed, 7 Dec 2011 15:29:56 -0200 Subject: [rt-users] display erro after login! Message-ID: <008301ccb505$d6a010e0$83e032a0$@sousa@ispm.com.br> after I try to login it shows me the rt this error Message install_driver(DBI_DRIVER) failed: Can't locate DBD/DBI_DRIVER.pm in @INC (@INC contains: /opt/rt4/sbin/../local/lib /opt/rt4/local/plugins/RT-Extension-SLA/lib /opt/rt4/local/plugins/RT-Extension-HistoryFilter/lib /opt/rt4/local/plugins/RT-Extension-ResetPassword/lib /opt/rt4/local/plugins/RT-Extension-MergeUsers/lib /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt4/sbin/../lib /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at (eval 277) line 3. Stack: [(eval 277):3] [/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/DBI.pm:646] [/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DB I.pm:446] [/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DB I.pm:218] [/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm :356] [/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm :106] [/opt/rt4/local/plugins/RT-Authen-ExternalAuth/html/Elements/DoAuth:10] [/opt/rt4/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/a utohandler/Session:2] [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:236] [/opt/rt4/share/html/autohandler:53] Perhaps the DBD::DBI_DRIVER perl module hasn't been fully installed, or perhaps the capitalisation of 'DBI_DRIVER' isn't right. Available drivers: DBM, ExampleP, File, Gofer, LDAP, Pg, Proxy, Sponge, mysql. at /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI .pm line 446 cid:image002.jpg at 01CC81DA.C11C6920 Arlon Sousa +55 21 2494 9110 / +55 21 3172 9673 / +55 21 7801-9264 arlon.sousa at ispm.com.br Avenida das Am?ricas, 700 | Bloco 3| cj.218 Barra da Tijuca | 22640-100 Rio de Janeiro/RJ | Brasil www.ispm.com.br ?Esta mensagem, incluindo seus anexos, pode conter informa??es privilegiadas e/ou de car?ter confidencial, n?o podendo ser retransmitida sem autoriza??o do remetente. Se voc? n?o ? o destinat?rio ou pessoa autorizada a receb?-la, por favor, nos informe respondendo imediatamente a este e-mail e em seguida apague-a. Obrigado. ISPM? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 44997 bytes Desc: not available URL: From bart at pleh.info Wed Dec 7 12:42:15 2011 From: bart at pleh.info (Bart) Date: Wed, 7 Dec 2011 18:42:15 +0100 Subject: [rt-users] Looping through transactionobj In-Reply-To: <7ECD0C8955ADE149B95716B364B4D58F26C669874E@EXCCR01.eps.local> References: <7ECD0C8955ADE149B95716B364B4D58F26C669874E@EXCCR01.eps.local> Message-ID: Wouldn't it be enough to have this set of commands? If CF1 changed, set CF2 to ?hi? If CF3 changed, set CF4 to ?bye? Without the and/or in between, a scrip is sequential so it will just run from top to bottom. -- Bart Op 6 december 2011 22:41 schreef Brent Wiese het volgende: > I have a scrip that checks to see if the value of certain customfield > value has changed. If so, it sets the value of a different custom field.** > ** > > ** ** > > I want to expand it to check if the value of another customfield has > changed and if so, set the value of a 4th custom field.**** > > ** ** > > So:**** > > If CF1 changed, set CF2 to ?hi?**** > > and/or**** > > If CF3 changed, set CF4 to ?bye?**** > > ** ** > > The scrip works fine if either CF1 or CF3 is changed, but if BOTH are > changed, it?s only setting CF4.**** > > ** ** > > I suspect I?m only catching the highest CF ID number ? the last in the > set. I have some other CF?s on the ticket that have ID?s higher than CF1, > but lower than CF3 (just the way they got added into the system) and the > same thing happens if I change the value of one of them and CF1 ? CF2 > doesn?t get changed, but CF3/CF4 works.**** > > ** ** > > How do I loop through the TransactionObj to make sure I pick up all the > changes? I can sort out the non-CF1/3 changes with an IF, but I can?t > figure out how to get my ?while? statement right?**** > > ** ** > > I?ve tried this:**** > > ** ** > > my $trans = $self->TransactionObj;**** > > while (my $customtrans = $trans->Next){ ? }**** > > and**** > > while (my $customtrans = $trans->Next()){ ? }**** > > ** ** > > But I get:**** > > RT: Scrip 27 Prepare failed: RT::Transaction::Next Unimplemented in > RT::Action::UserDefined.**** > > ** ** > > I?ve tried:**** > > my $cffields = $self->TransactionObj ->CustomField;**** > > ** ** > > Got:**** > > RT: Scrip 27 Prepare failed: RT::Transaction::CustomField Unimplemented in > RT::Action::UserDefined.**** > > ** ** > > Tried:**** > > my $cffields = $trans->Field;**** > > while (my $customtrans = $ cffields ->Next()){ ? }**** > > ** ** > > Got:**** > > Scrip 27 Prepare failed: Can't call method "Next" without a package or > object reference at (eval 3099) line 24**** > > ** ** > > Thanks,**** > > Brent**** > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ? March 5 & 6, 2012 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From trs at bestpractical.com Wed Dec 7 12:45:01 2011 From: trs at bestpractical.com (Thomas Sibley) Date: Wed, 07 Dec 2011 12:45:01 -0500 Subject: [rt-users] display erro after login! In-Reply-To: <008301ccb505$d6a010e0$83e032a0$@sousa@ispm.com.br> References: <008301ccb505$d6a010e0$83e032a0$@sousa@ispm.com.br> Message-ID: <4EDFA61D.9080705@bestpractical.com> On 12/07/2011 12:29 PM, Arlon Sousa wrote: > after I try to login it shows me the rt this error Message Please don't spam the list. I already told you that you have ExternalAuth configured incorrectly. Remove the example DBI config you're clearly not using. If you don't know how to that, post your config to the list and ask on one of your existing threads. Thomas From gerard at eve-team.com Wed Dec 7 13:11:04 2011 From: gerard at eve-team.com (Gerard FENELON) Date: Wed, 07 Dec 2011 19:11:04 +0100 Subject: [rt-users] CF Link values Message-ID: <4EDFAC38.1020208@eve-team.com> Hi I am using RT3.8.8 I have a CF where the "Link value to" contains http://cvsweb/__CustomField__ RT generates a link but if I click on the link I get a 404 error using Firefox. I am pretty sure that I saw this work when I first set it up with RT 3.6 If I look at the generated source of the page, I see aaaa/bbbb/cccc/dddd The code is in share/html/Elements/ShowCustomFields my $linked = $value->LinkValueTo; if ( defined $linked&& length $linked ) { my $linked = $m->interp->apply_escapes( $linked, 'h' ); $m->out(''); } The code for RT3.6.10 shows my $linked = $cf->LinkValueTo; if ( $linked ) { $m->out(''); } How can I tell Mason not to escape '/' and still escape the rest ? In fact, I am uncertain why '/' gets escaped because my understanding of Mason is that 'h' refers to basic_html_escape which is supposed to escape only '&','>','<', and '"'. Thanks Gerard -------------- next part -------------- An HTML attachment was scrubbed... URL: From bwiese at ElementPS.com Wed Dec 7 14:35:43 2011 From: bwiese at ElementPS.com (Brent Wiese) Date: Wed, 7 Dec 2011 12:35:43 -0700 Subject: [rt-users] Looping through transactionobj In-Reply-To: References: <7ECD0C8955ADE149B95716B364B4D58F26C669874E@EXCCR01.eps.local> Message-ID: <7ECD0C8955ADE149B95716B364B4D58F26C6698A64@EXCCR01.eps.local> You'd think as much, but it's not working like that. I put this in condition: if ($trans->Type eq "CustomField" && $trans->Field eq "5") { $RT::Logger->info("Made it into 1st App condition"); return 1; } else { return 0; } Then this in Prep: <> $RT::Logger->info("Made it into 1st App scrip"); if ( $trans->Type eq "CustomField" && $trans->Field eq "5" ) { $RT::Logger->info("Inside 1st App IF"); ... do some stuff... } Ok, so that IF is EXACTLY THE SAME as the one that PASSED above. But it never makes it into the IF unless I've ONLY changed the value #5 - I have another scrip that is identical except it checks field 17 and if I've changed both 5 and 17, it logs this: Dec 6 16:12:01 rtserver RT: Made it into 1st App condition ((eval 1581):6) Dec 6 16:12:01 rtserver RT: Made it into 1st App scrip ((eval 1586):20) Dec 6 16:12:01 rtserver RT: Made it into 2nd App condition ((eval 1591):6) Dec 6 16:12:01 rtserver RT: Made it into 2nd App scrip ((eval 1596):20) Dec 6 16:12:01 rtserver RT: Inside 2nd App IF ((eval 1596):23) If I only change #5: Dec 6 16:12:32 rtserver RT: Made it into 1st App condition ((eval 1411):6) Dec 6 16:12:32 rtserver RT: Made it into 1st App scrip ((eval 1416):20) Dec 6 16:12:32 rtserver RT: Inside 1st App IF ((eval 1416):24) If I only change #17: Dec 6 16:14:32 rtserver RT: Made it into 2nd App condition ((eval 1499):6) Dec 6 16:14:32 rtserver RT: Made it into 2nd App scrip ((eval 1504):20) Dec 6 16:14:32 rtserver RT: Inside 2nd App IF ((eval 1504):23) I was able to get it to work if I had 1 scrip for each CF AND I put all the code in the condition box instead of the prep box. Weird to say the least. I guess I don't get the logic behind how it runs. From: pleh.info at gmail.com [mailto:pleh.info at gmail.com] On Behalf Of Bart Sent: Wednesday, December 07, 2011 10:42 AM To: Brent Wiese Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Looping through transactionobj Wouldn't it be enough to have this set of commands? If CF1 changed, set CF2 to "hi" If CF3 changed, set CF4 to "bye" Without the and/or in between, a scrip is sequential so it will just run from top to bottom. -- Bart Op 6 december 2011 22:41 schreef Brent Wiese > het volgende: I have a scrip that checks to see if the value of certain customfield value has changed. If so, it sets the value of a different custom field. I want to expand it to check if the value of another customfield has changed and if so, set the value of a 4th custom field. So: If CF1 changed, set CF2 to "hi" and/or If CF3 changed, set CF4 to "bye" The scrip works fine if either CF1 or CF3 is changed, but if BOTH are changed, it's only setting CF4. I suspect I'm only catching the highest CF ID number - the last in the set. I have some other CF's on the ticket that have ID's higher than CF1, but lower than CF3 (just the way they got added into the system) and the same thing happens if I change the value of one of them and CF1 - CF2 doesn't get changed, but CF3/CF4 works. How do I loop through the TransactionObj to make sure I pick up all the changes? I can sort out the non-CF1/3 changes with an IF, but I can't figure out how to get my "while" statement right... I've tried this: my $trans = $self->TransactionObj; while (my $customtrans = $trans->Next){ ... } and while (my $customtrans = $trans->Next()){ ... } But I get: RT: Scrip 27 Prepare failed: RT::Transaction::Next Unimplemented in RT::Action::UserDefined. I've tried: my $cffields = $self->TransactionObj ->CustomField; Got: RT: Scrip 27 Prepare failed: RT::Transaction::CustomField Unimplemented in RT::Action::UserDefined. Tried: my $cffields = $trans->Field; while (my $customtrans = $ cffields ->Next()){ ... } Got: Scrip 27 Prepare failed: Can't call method "Next" without a package or object reference at (eval 3099) line 24 Thanks, Brent -------- RT Training Sessions (http://bestpractical.com/services/training.html) * Boston - March 5 & 6, 2012 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sharon.belliveau at frb.gov Wed Dec 7 14:45:16 2011 From: sharon.belliveau at frb.gov (sharon.belliveau at frb.gov) Date: Wed, 7 Dec 2011 14:45:16 -0500 Subject: [rt-users] Search by Category of Custom Field In-Reply-To: References: Message-ID: <20111207201548.DD347628003@ibastion.frb.gov> I'm setting up a new queue with many custom fields. Before I get too far in the design, I trying to learn what I can do with the category for custom fields. Specifically, will I be able to create a saved searches based on a custom field's category? These would be used in group dashboards. Is this doable? I cannot figure out the TicketSQL syntax. For example, the queue is named FR and the custom field is Report with the categories that are colors: Blue, Teal, and Black. The following returns the all tickets with Report set to one of the possibilities. Queue = 'FR CP' AND CF.Report IS NOT Null It would be nice see all the tickets where the Report field is set to one of the options for Category. (pseudo code) Queue = 'FR CP' AND CF.Report.Category = 'Black' a One approach that I have tried is having two custom fields: Report and ReportCategory which has the colors. With both fields enabled, one has to first choose the ReportCategory, then the Report list box shows all the Reports in the category. When I had just Report, without ReportCategory enabled, the Report listbox had the report options nicely grouped by category in the listbox. Nicer as one had to only choose one listbox (Report) not from two (ReportCategory and then Report). Can I use ticket sql for a search on a custom field category? Thanks! Sharon Belliveau Federal Reserve Board From jim.lesinski at gmail.com Wed Dec 7 14:57:23 2011 From: jim.lesinski at gmail.com (Jim Lesinski) Date: Wed, 7 Dec 2011 14:57:23 -0500 Subject: [rt-users] RT 4.0.4 - Single Value Autocomplete and Internet Explorer 8 and 9 Message-ID: I noticed that a Single Value Automplete custom field does not seem to work in RT 4.0.4 with Internet Explorer 8 and 9. In fact nothing comes up. Multivalues works as expected and other browsers work with autocomplete. Does any one else have this issue and possibly a work around. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruz at bestpractical.com Wed Dec 7 15:29:56 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 00:29:56 +0400 Subject: [rt-users] Search by Category of Custom Field In-Reply-To: <20111207201548.DD347628003@ibastion.frb.gov> References: <20111207201548.DD347628003@ibastion.frb.gov> Message-ID: Hi, There is no such functionality as category is property of a value, but is not saved when value is set on object. Use BasedOn custom fields, so category is saved as additional custom field. On Wed, Dec 7, 2011 at 11:45 PM, wrote: > I'm setting up a new queue with many custom fields. Before I get too far in > the design, I trying to learn what I can do with the category for custom > fields. Specifically, will > I be able to ?create a saved searches based on a custom field's category? > These would be used in group dashboards. Is this doable? I cannot figure > out the TicketSQL syntax. > > For example, the queue is named FR and the custom field is Report with the > categories that are colors: Blue, Teal, and Black. > > The following returns the all tickets with Report set to one of the > possibilities. > Queue = 'FR CP' AND CF.Report IS NOT Null > > It would be nice see all the tickets where the Report field is set to one > of the options for Category. (pseudo code) > Queue = 'FR CP' AND CF.Report.Category = 'Black' > > a > > One approach that I have tried is having two custom fields: Report and > ReportCategory which has the colors. With both fields enabled, one has to > first choose the ReportCategory, then the Report list box shows all the > Reports in the category. When I had just Report, without ReportCategory > enabled, the Report listbox had the report options nicely grouped by > category in the listbox. Nicer as one had to only choose one listbox > (Report) not from two (ReportCategory and then Report). > > Can I use ?ticket sql for a search on a custom field category? > > Thanks! > Sharon Belliveau > Federal Reserve Board > > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ?March 5 & 6, 2012 -- Best regards, Ruslan. From ruz at bestpractical.com Wed Dec 7 16:16:56 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 01:16:56 +0400 Subject: [rt-users] CF Link values In-Reply-To: <4EDFAC38.1020208@eve-team.com> References: <4EDFAC38.1020208@eve-team.com> Message-ID: On Wed, Dec 7, 2011 at 10:11 PM, Gerard FENELON wrote: > Hi > > I am using RT3.8.8 > > I have a CF where the "Link value to" contains > > http://cvsweb/__CustomField__ > > RT generates a link but if I click on the link I get a 404 error using > Firefox. > I am pretty sure that I saw this work when I first set it up with RT 3.6 > > If I look at the generated source of the page, I see > > > > aaaa/bbbb/cccc/dddd > > > The code is in share/html/Elements/ShowCustomFields > > my $linked = $value->LinkValueTo; > if ( defined $linked && length $linked ) { > my $linked = $m->interp->apply_escapes( $linked, 'h' ); > $m->out(''); > } > > The code for RT3.6.10 shows > my $linked = $cf->LinkValueTo; > if ( $linked ) { > $m->out(''); > } > > How can I tell Mason not to escape '/' and still escape the rest ? Escaping you have problem with is not happening here. Take a look into lib/RT/ObjectCustomFieldValue.pm, method _FillInTemplateURL. > > In fact, I am uncertain why '/' gets escaped > because my understanding of Mason is that 'h' refers to basic_html_escape > which is supposed to escape only '&', '>', '<', and '"'. > > Thanks > Gerard > > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ? March 5 & 6, 2012 -- Best regards, Ruslan. From ruz at bestpractical.com Wed Dec 7 16:44:55 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 01:44:55 +0400 Subject: [rt-users] RT tool & RecordTransaction => 0 In-Reply-To: References: Message-ID: On Wed, Dec 7, 2011 at 7:23 PM, Bart wrote: > Hi, > > Is there an?equivalent?way of making the transactions silent via the RT > tool? No. > > Within a normal scrip using RecordTransaction => 0, is there a similar way > for making an edit via the RT tool silent? > > -- Bart > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ? March 5 & 6, 2012 -- Best regards, Ruslan. From ruz at bestpractical.com Wed Dec 7 17:14:30 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 02:14:30 +0400 Subject: [rt-users] Upgrade RT and AT and now can not create assets In-Reply-To: <20111206080435.1968fcc5@longshot.localdomain> References: <20111206080435.1968fcc5@longshot.localdomain> Message-ID: On Tue, Dec 6, 2011 at 5:04 PM, Kevin Squire wrote: > When I would run 'make initdb' I would get an error: > ? Now populating database schema. > DBD::Pg::st execute failed: ERROR: ?relation "at_types" already exists > at /usr/share/request-tracker3.8/lib/RT/Handle.pm line 506. ...returned > with error: 65280 make: *** [initdb] Error 255 You don't run `make initdb` when you upgrade. You should read documentation to perform proper upgrade. It's possible that your DB inconsistent right now. -- Best regards, Ruslan. From ruz at bestpractical.com Wed Dec 7 17:22:18 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 02:22:18 +0400 Subject: [rt-users] any simple way to access custom transaction fields? In-Reply-To: References: Message-ID: On Tue, Dec 6, 2011 at 4:01 PM, Marius Karnauskas wrote: > Hi, > > I have custom transaction fields for tickets but I can't see any of > values of them while using rt cli command: rt show /history > How I could easily access these fields, (Perl API would be my last > option)? I would like to generate some reports based on these values.. Quick glance at code suggests that it's not supported. Patches are welcome, start from: share/html/REST/1.0/Forms/ticket/history share/html/REST/1.0/Forms/transaction/default > > -- > Thanks > Marius > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ?March 5 & 6, 2012 -- Best regards, Ruslan. From bart at pleh.info Thu Dec 8 01:34:42 2011 From: bart at pleh.info (Bart) Date: Thu, 8 Dec 2011 07:34:42 +0100 Subject: [rt-users] RT tool & RecordTransaction => 0 In-Reply-To: References: Message-ID: Hmm, I might need to rethink my script then... Have this script in cron: #!/bin/bash datum=`date "+%d%m%y"` tijd=`date "+%H%M"` if [ $tijd -ge 0830 -a $datum -ne 261211 -a $datum -ne 090412 -a $datum -ne 300412 -a $datum -ne 170512 -a $datum -ne 180512 -a $datum -ne 280512 -a $datum -ne 251212 -a $datum -ne 261212 ] then for i in `/opt/rt4/bin/rt ls -t ticket "Status!='resolved' and Status!='rejected' and Status!='spam' and Status!='deleted'" -f status | grep ^[0-9] | cut -f 1`; do case `/opt/rt4/bin/rt ls -t ticket "id=$i" -f status | grep ^[0-9] | cut -f 2` in new) /opt/rt4/bin/rt edit ticket/$i set CF-'aantal_minuten_new'=$(( `/opt/rt4/bin/rt ls -t ticket "id=$i" -f CF-'aantal_minuten_new' | grep ^[0-9] | cut -f 2` + 5 ))& ;; open) /opt/rt4/bin/rt edit ticket/$i set CF-'aantal_minuten_open'=$(( `/opt/rt4/bin/rt ls -t ticket "id=$i" -f CF-'aantal_minuten_open' | grep ^[0-9] | cut -f 2` + 5 ))& ;; stalled) /opt/rt4/bin/rt edit ticket/$i set CF-'aantal_minuten_stalled'=$(( `/opt/rt4/bin/rt ls -t ticket "id=$i" -f CF-'aantal_minuten_stalled' | grep ^[0-9] | cut -f 2` + 5 ))& ;; Bij_Leverancier) /opt/rt4/bin/rt edit ticket/$i set CF-'aantal_minuten_Bij_Leverancier'=$(( `/opt/rt4/bin/rt ls -t ticket "id=$i" -f CF-'aantal_minuten_Bij_Leverancier' | grep ^[0-9] | cut -f 2` + 5 ))& ;; Bij_Aanvrager) /opt/rt4/bin/rt edit ticket/$i set CF-'aantal_minuten_Bij_Aanvrager'=$(( `/opt/rt4/bin/rt ls -t ticket "id=$i" -f CF-'aantal_minuten_Bij_Aanvrager' | grep ^[0-9] | cut -f 2` + 5 ))& ;; Intern) /opt/rt4/bin/rt edit ticket/$i set CF-'aantal_minuten_Intern'=$(( `/opt/rt4/bin/rt ls -t ticket "id=$i" -f CF-'aantal_minuten_Intern' | grep ^[0-9] | cut -f 2` + 5 ))& ;; *) ;; esac done fi It runs every 5 minutes during business hours, rough translation would be that it runs 114 times a day. During each run it increases the value of a custom field by 5, this will give us the amount of time in minutes a ticket stood at a certain active status. (in the above you'll see a few default statuses along with a few custom ones) I kinda overlooked that it writes an entry in the ticket history where it shows the change of the CF value... 114 times a day for each ticket, where an average ticket might be open a few days (changes or problems even longer). . . Users however won't see these changes unless they hit the history tab, but I the ticket view will be slowed down when the history gets bigger and bigger (we use RT::Extension::HistoryFilter, but even with it RT will first load the entire history).... Any suggestions on how to achieve the above without writing stuff in the ticket history? -- Bart Op 7 december 2011 22:44 schreef Ruslan Zakirov het volgende: > On Wed, Dec 7, 2011 at 7:23 PM, Bart wrote: > > Hi, > > > > Is there an equivalent way of making the transactions silent via the RT > > tool? > > No. > > > > > Within a normal scrip using RecordTransaction => 0, is there a similar > way > > for making an edit via the RT tool silent? > > > > -- Bart > > > > -------- > > RT Training Sessions (http://bestpractical.com/services/training.html) > > * Boston ? March 5 & 6, 2012 > > > > -- > Best regards, Ruslan. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bart at pleh.info Thu Dec 8 02:38:39 2011 From: bart at pleh.info (Bart) Date: Thu, 8 Dec 2011 08:38:39 +0100 Subject: [rt-users] RT tool & RecordTransaction => 0 In-Reply-To: References: Message-ID: ***Small update*** Since I want a simple solution I'm now looking into doing this inside SQL instead of trying to make a clever script. Few SQL queries that should give you an idea to where I'm heading. Get all tickets along with their status, though I'll probably make a separate query for each status (to keep things simple) select id,Status from Tickets where Status != "deleted" AND Status != "resolved" AND Status != "spam" AND Status != "rejected"; Show the CustomField value of ticket 2222 (specific CF, selected by ID), disabled 0 means it's the active value: select * from ObjectCustomFieldValues where ObjectId = "2222" AND Disabled = "0" AND CustomField = "12"; Update the CustomField value for ticket 2222 and increase the value by 5: update ObjectCustomFieldValues set Content = Content + 5 where CustomField = "12" AND Disabled = "0" AND ObjectId = "2222"; The only problem I'm now looking at is that if a CF never had a value (empty) then it won't have an entry in the DB. So in addition to the SQL queries I'm going to make sure that these specific CF's always have a value (set during ticket creation + set once manually for all tickets). The CustomField values will be set to 0 + during ticket creation I'll make sure that the transaction isn't recorded. When you update a CF that's already been recorded in the ticket history you'll update the value shown in the ticket history for that entry. One thing that I want to do to make things a little "nicer" is to also update the "LastUpdated" field for that entry. Overall I think this will be the better solution for us, will post the results once I'm done. -- Bart Op 8 december 2011 07:34 schreef Bart het volgende: > Hmm, I might need to rethink my script then... > > Have this script in cron: > > #!/bin/bash > > datum=`date "+%d%m%y"` > tijd=`date "+%H%M"` > > if [ $tijd -ge 0830 -a $datum -ne 261211 -a $datum -ne 090412 -a $datum > -ne 300412 -a $datum -ne 170512 -a $datum -ne 180512 -a $datum -ne 280512 > -a $datum -ne 251212 -a $datum -ne 261212 ] > then > for i in `/opt/rt4/bin/rt ls -t ticket "Status!='resolved' and > Status!='rejected' and Status!='spam' and Status!='deleted'" -f status | > grep ^[0-9] | cut -f 1`; do > case `/opt/rt4/bin/rt ls -t ticket "id=$i" -f status | grep ^[0-9] | cut > -f 2` in > new) /opt/rt4/bin/rt edit ticket/$i set CF-'aantal_minuten_new'=$(( > `/opt/rt4/bin/rt ls -t ticket "id=$i" -f CF-'aantal_minuten_new' | grep > ^[0-9] | cut -f 2` + 5 ))& > ;; > open) /opt/rt4/bin/rt edit ticket/$i set CF-'aantal_minuten_open'=$(( > `/opt/rt4/bin/rt ls -t ticket "id=$i" -f CF-'aantal_minuten_open' | grep > ^[0-9] | cut -f 2` + 5 ))& > ;; > stalled) /opt/rt4/bin/rt edit ticket/$i set > CF-'aantal_minuten_stalled'=$(( `/opt/rt4/bin/rt ls -t ticket "id=$i" -f > CF-'aantal_minuten_stalled' | grep ^[0-9] | cut -f 2` + 5 ))& > ;; > Bij_Leverancier) /opt/rt4/bin/rt edit ticket/$i set > CF-'aantal_minuten_Bij_Leverancier'=$(( `/opt/rt4/bin/rt ls -t ticket > "id=$i" -f CF-'aantal_minuten_Bij_Leverancier' | grep ^[0-9] | cut -f 2` + > 5 ))& > ;; > Bij_Aanvrager) /opt/rt4/bin/rt edit ticket/$i set > CF-'aantal_minuten_Bij_Aanvrager'=$(( `/opt/rt4/bin/rt ls -t ticket "id=$i" > -f CF-'aantal_minuten_Bij_Aanvrager' | grep ^[0-9] | cut -f 2` + 5 ))& > ;; > Intern) /opt/rt4/bin/rt edit ticket/$i set CF-'aantal_minuten_Intern'=$(( > `/opt/rt4/bin/rt ls -t ticket "id=$i" -f CF-'aantal_minuten_Intern' | grep > ^[0-9] | cut -f 2` + 5 ))& > ;; > *) ;; > esac > done > fi > > It runs every 5 minutes during business hours, rough translation would be > that it runs 114 times a day. During each run it increases the value of a > custom field by 5, this will give us the amount of time in minutes a ticket > stood at a certain active status. (in the above you'll see a few default > statuses along with a few custom ones) > > I kinda overlooked that it writes an entry in the ticket history where it > shows the change of the CF value... 114 times a day for each ticket, where > an average ticket might be open a few days (changes or problems even > longer). . . > > Users however won't see these changes unless they hit the history tab, but > I the ticket view will be slowed down when the history gets bigger and > bigger (we use RT::Extension::HistoryFilter, but even with it RT will first > load the entire history).... > > Any suggestions on how to achieve the above without writing stuff in the > ticket history? > > > -- Bart > > > Op 7 december 2011 22:44 schreef Ruslan Zakirov het volgende: > > On Wed, Dec 7, 2011 at 7:23 PM, Bart wrote: >> > Hi, >> > >> > Is there an equivalent way of making the transactions silent via the RT >> > tool? >> >> No. >> >> > >> > Within a normal scrip using RecordTransaction => 0, is there a similar >> way >> > for making an edit via the RT tool silent? >> > >> > -- Bart >> > >> > -------- >> > RT Training Sessions (http://bestpractical.com/services/training.html) >> > * Boston ? March 5 & 6, 2012 >> >> >> >> -- >> Best regards, Ruslan. >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Horst.Kriegers at loro.ch Thu Dec 8 02:43:18 2011 From: Horst.Kriegers at loro.ch (Kriegers Horst) Date: Thu, 8 Dec 2011 07:43:18 +0000 Subject: [rt-users] Register Bcc as AdminCc user Message-ID: <49BFBF371580BE4A921A738E1E1C95C510C1A59D@PSDAG01.office.loro.swiss> Hello all, After 2 days of searching I don?t find any solution and now I need your help. I wich to automatically register Bcc user as AdminCc on ticket. Is there a configuration or a scrip to do this ? A great thanks for your help. Horst ________________________________ Note Importante: Le contenu de ce courriel est uniquement r?serv? ? la personne ou l'organisme ? qui il est destin?. Si vous n'?tes pas le destinataire pr?vu, veuillez nous en informer au plus vite et d?truire le pr?sent courriel. Dans ce cas, il ne vous est pas permis de copier ce courriel, de le distribuer ou de l'utiliser de quelque mani?re que ce soit. ________________________________ Important Notice: The content of this e-mail is intended only and solely for the use of the named recipient or organization. If you are not the named recipient, please inform us immediately and delete the present e-mail. In this case, you are not allowed to copy, distribute or use this e-mail in any way. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruz at bestpractical.com Thu Dec 8 03:26:09 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 12:26:09 +0400 Subject: [rt-users] Register Bcc as AdminCc user In-Reply-To: <49BFBF371580BE4A921A738E1E1C95C510C1A59D@PSDAG01.office.loro.swiss> References: <49BFBF371580BE4A921A738E1E1C95C510C1A59D@PSDAG01.office.loro.swiss> Message-ID: On Thu, Dec 8, 2011 at 11:43, Kriegers Horst wrote: > Hello all, > > > > After 2 days of searching I don?t find any solution and now I need your > help. > > > > I wich to automatically register Bcc user as AdminCc on ticket. > > Is there a configuration or a scrip to do this ? If you mean one time recipient Bcc input then it's saved in headers. Grep for OtherRecipients in lib/RT/Action/Notify.pm to see how get addresses in your custom scrip. > > > > > > A great thanks for your help. > > Horst > > > > > > > > > > > ________________________________ > Note Importante: Le contenu de ce courriel est uniquement r?serv? ? la > personne ou l'organisme ? qui il est destin?. Si vous n'?tes pas le > destinataire pr?vu, veuillez nous en informer au plus vite et d?truire le > pr?sent courriel. Dans ce cas, il ne vous est pas permis de copier ce > courriel, de le distribuer ou de l'utiliser de quelque mani?re que ce soit. > > ________________________________ > Important Notice: The content of this e-mail is intended only and solely for > the use of the named recipient or organization. If you are not the named > recipient, please inform us immediately and delete the present e-mail. In > this case, you are not allowed to copy, distribute or use this e-mail in any > way. > > ________________________________ > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ? March 5 & 6, 2012 -- Best regards, Ruslan. From fireskyer at hochsitze.com Thu Dec 8 04:25:48 2011 From: fireskyer at hochsitze.com (john s.) Date: Thu, 8 Dec 2011 01:25:48 -0800 (PST) Subject: [rt-users] Can't open Ticket Time::ParseDate error In-Reply-To: <32922746.post@talk.nabble.com> References: <32901809.post@talk.nabble.com> <32922746.post@talk.nabble.com> Message-ID: <32933376.post@talk.nabble.com> ????? -- View this message in context: http://old.nabble.com/Can%27t-open-Ticket-Time%3A%3AParseDate-error-tp32901809p32933376.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From bart at pleh.info Thu Dec 8 04:31:41 2011 From: bart at pleh.info (Bart) Date: Thu, 8 Dec 2011 10:31:41 +0100 Subject: [rt-users] Can't open Ticket Time::ParseDate error In-Reply-To: <32933376.post@talk.nabble.com> References: <32901809.post@talk.nabble.com> <32922746.post@talk.nabble.com> <32933376.post@talk.nabble.com> Message-ID: What do you see in /var/log/messages or /var/log/syslog Also, what are the entries in /opt/rt4/var/log (error and access)? (is the "click" registered?) Do other things via de webinterface work? (is this the only problem your seeing? e.g. ticket creation, editing some fields, etc.) -- Bart Op 8 december 2011 10:25 schreef john s. het volgende: > > > > ????? > > > > > > > > > > -- > View this message in context: > http://old.nabble.com/Can%27t-open-Ticket-Time%3A%3AParseDate-error-tp32901809p32933376.html > Sent from the Request Tracker - User mailing list archive at Nabble.com. > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston March 5 & 6, 2012 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fireskyer at hochsitze.com Thu Dec 8 04:35:06 2011 From: fireskyer at hochsitze.com (john s.) Date: Thu, 8 Dec 2011 01:35:06 -0800 (PST) Subject: [rt-users] Can't open Ticket Time::ParseDate error In-Reply-To: <32901809.post@talk.nabble.com> References: <32901809.post@talk.nabble.com> Message-ID: <32933407.post@talk.nabble.com> Hello everybody after a few commands with mysqlcheck on the table which belongs to ... everything is fine best regards john s. -- View this message in context: http://old.nabble.com/Can%27t-open-Ticket-Time%3A%3AParseDate-error-tp32901809p32933407.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From marouane.himdi at kereval.com Thu Dec 8 04:30:17 2011 From: marouane.himdi at kereval.com (Marouane Himdi) Date: Thu, 08 Dec 2011 10:30:17 +0100 (CET) Subject: [rt-users] category & description for custom field Message-ID: <840ef02c-1455-4926-80c1-eed576c60ea4@ouessant> Hi all, How can I get category and description associated to a value of a custom field we need that to use it in a scrip Best regards Marouane HIMDI Ing?nieur R&D (Keys : monitoring, functionnal&load-Testing, request-tracketing, ... ) -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruz at bestpractical.com Thu Dec 8 04:50:11 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 13:50:11 +0400 Subject: [rt-users] RT tool & RecordTransaction => 0 In-Reply-To: References: Message-ID: On Thu, Dec 8, 2011 at 10:34, Bart wrote: > Any suggestions on how to achieve the above without writing stuff in the > ticket history? With a silent flag that only available through API. rt-crontool + custom scrip action is your friend. -- Best regards, Ruslan. From bart at pleh.info Thu Dec 8 05:01:37 2011 From: bart at pleh.info (Bart) Date: Thu, 8 Dec 2011 11:01:37 +0100 Subject: [rt-users] RT tool & RecordTransaction => 0 In-Reply-To: References: Message-ID: I find the rt-crontool to be a bit confusing. I can search with it, set a CF based on search results etc. But the trick would be to do something like CF-'some cf'="Old CF Value" + 5. Can the rt-crontool launch an internal RT scrip (e.g. a global scrip or something like that) as action instead of the actions that I come across at the examples? -- Bart Op 8 december 2011 10:50 schreef Ruslan Zakirov het volgende: > On Thu, Dec 8, 2011 at 10:34, Bart wrote: > > Any suggestions on how to achieve the above without writing stuff in the > > ticket history? > > With a silent flag that only available through API. rt-crontool + > custom scrip action is your friend. > > -- > Best regards, Ruslan. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruz at bestpractical.com Thu Dec 8 05:01:58 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 14:01:58 +0400 Subject: [rt-users] category & description for custom field In-Reply-To: <840ef02c-1455-4926-80c1-eed576c60ea4@ouessant> References: <840ef02c-1455-4926-80c1-eed576c60ea4@ouessant> Message-ID: On Thu, Dec 8, 2011 at 13:30, Marouane Himdi wrote: > Hi all, > How can I get category and description associated to a value of a custom > field > we need that to use it in a scrip my $cf = $ticket->LoadCustomFieldByIdentifier( "CF name"); my $value = $ticket->FirstCustomFieldValue( $cf->Name ); my $value_obj = RT::CustomFieldValue->new( $ticket->CurrentUser ); $value_obj->LoadByCols( CustomField => $cf->id, Name => $value ); my $cat = $value_obj->Category; my $desc = $value_obj->Description; Not tested but should be close. > > Best regards > > Marouane HIMDI > Ing?nieur R&D > (Keys : monitoring, functionnal&load-Testing, request-tracketing, ... ) > > > > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ? March 5 & 6, 2012 -- Best regards, Ruslan. From marouane.himdi at kereval.com Thu Dec 8 05:06:36 2011 From: marouane.himdi at kereval.com (Marouane Himdi) Date: Thu, 08 Dec 2011 11:06:36 +0100 (CET) Subject: [rt-users] category & description for custom field In-Reply-To: Message-ID: <03355f38-367e-474e-9f7b-466625d01c34@ouessant> Thanks Ruslan for your reactivity I'll test that ----- Mail original ----- De: "Ruslan Zakirov" ?: "Marouane HIMDI" Cc: "rt-users" Envoy?: Jeudi 8 D?cembre 2011 11:01:58 Objet: Re: [rt-users] category & description for custom field On Thu, Dec 8, 2011 at 13:30, Marouane Himdi wrote: > Hi all, > How can I get category and description associated to a value of a custom > field > we need that to use it in a scrip my $cf = $ticket->LoadCustomFieldByIdentifier( "CF name"); my $value = $ticket->FirstCustomFieldValue( $cf->Name ); my $value_obj = RT::CustomFieldValue->new( $ticket->CurrentUser ); $value_obj->LoadByCols( CustomField => $cf->id, Name => $value ); my $cat = $value_obj->Category; my $desc = $value_obj->Description; Not tested but should be close. > > Best regards > > Marouane HIMDI > Ing?nieur R&D > (Keys : monitoring, functionnal&load-Testing, request-tracketing, ... ) > > > > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ? March 5 & 6, 2012 -- Best regards, Ruslan. From bart at pleh.info Thu Dec 8 05:09:16 2011 From: bart at pleh.info (Bart) Date: Thu, 8 Dec 2011 11:09:16 +0100 Subject: [rt-users] RT tool & RecordTransaction => 0 In-Reply-To: References: Message-ID: Looking into this atm, might be a more "clean" way of doing this: http://requesttracker.wikia.com/wiki/WriteCustomAction -- Bart Op 8 december 2011 11:01 schreef Bart het volgende: > I find the rt-crontool to be a bit confusing. I can search with it, set a > CF based on search results etc. > > But the trick would be to do something like CF-'some cf'="Old CF Value" + > 5. > > Can the rt-crontool launch an internal RT scrip (e.g. a global scrip or > something like that) as action instead of the actions that I come across at > the examples? > > -- Bart > > > Op 8 december 2011 10:50 schreef Ruslan Zakirov het volgende: > > On Thu, Dec 8, 2011 at 10:34, Bart wrote: >> > Any suggestions on how to achieve the above without writing stuff in the >> > ticket history? >> >> With a silent flag that only available through API. rt-crontool + >> custom scrip action is your friend. >> >> -- >> Best regards, Ruslan. >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruz at bestpractical.com Thu Dec 8 05:17:33 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 14:17:33 +0400 Subject: [rt-users] RT tool & RecordTransaction => 0 In-Reply-To: References: Message-ID: On Thu, Dec 8, 2011 at 14:01, Bart wrote: > Can the rt-crontool launch an internal RT scrip (e.g. a global scrip or > something like that) as action instead of the actions that I come across at > the examples? It's exactly what it does - replays custom condition, scrip and template combination on every ticket returned by a custom search. You need RT::Action::IncreaseCustomField module and there do something like: my ($status, $msg) = $ticket->AddCustomFieldValue( Field => "CF", Value => $ticket->FirstCustomFieldValue("CF") + 5, ); -- Best regards, Ruslan. From ruz at bestpractical.com Thu Dec 8 05:34:23 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 14:34:23 +0400 Subject: [rt-users] Clock and TitleBox widgets In-Reply-To: <4ad9a51296d75983a40f4ba1a1f2ecbe.squirrel@mail.seiner.com> References: <4ad9a51296d75983a40f4ba1a1f2ecbe.squirrel@mail.seiner.com> Message-ID: On Mon, Dec 5, 2011 at 10:52 PM, Yan Seiner wrote: > Has anyone implemented TitleBox and Clock (and maybe other) widgets that > can be used on dashboards? > > We rolled out our status board which shows the status of current jobs. > The status board is a browser kiosk (no window decorations or menubar). > The two most asked questions: ?Where is the clock? ?and Can we get sports > info on it? ?:-) > > A clock would be good. Dashboard can have a portlet. http://requesttracker.wikia.com/wiki/WritingPortlets > > > -- > Pain is temporary. It may last a minute, or an hour, or a day, or a year, > but eventually it will subside and something else will take its place. If > I quit, however, it lasts forever. > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ?March 5 & 6, 2012 -- Best regards, Ruslan. From ruz at bestpractical.com Thu Dec 8 05:38:09 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 14:38:09 +0400 Subject: [rt-users] add 'tale' link to rt emails In-Reply-To: <57635d44-fe50-4d02-99b5-81e55d5c6b24@li289-212> References: <57635d44-fe50-4d02-99b5-81e55d5c6b24@li289-212> Message-ID: Hi, Are you sure you modify correct template. For example you may be changing global template named X while queue you test in also has template named X. On Mon, Dec 5, 2011 at 8:50 PM, Tim Dunphy wrote: > hello list, > > ?I am attempting to have my rt instance include a link to 'take' the ticket in the emails sent out by the queue I just setup. > > ? In my template for the queue I have included this text: > > > ?Please attend to this request. > > {RT->Config->Get('WebURL')}Ticket/Display.html?Action=Take&id={$Ticket->id} > > thank you > > > But no link appears in the ticket: > > > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > ? ? ? ?"take link 3rd try", > a summary of which appears below. > > There is no need to reply to this message right now. ?Your ticket has been > assigned an ID of [Operations #52]. > > Please include the string: > > ? ? ? ? [Operations #52] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > ? ? ? ? ? ? ? ? ? ? ? ?Thank you, > ? ? ? ? ? ? ? ? ? ? ? ?ops at mm3.mlbam.com > > ------------------------------------------------------------------------- > Test 'take' link in RT > > Can someone please point out what I'm doing wrong and how to correct it? > > > thanks! > tim > > > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ?March 5 & 6, 2012 -- Best regards, Ruslan. From ruz at bestpractical.com Thu Dec 8 05:39:21 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 14:39:21 +0400 Subject: [rt-users] Problems sending with SendMail In-Reply-To: <4EDCEBDA.4050706@cesca.cat> References: <4EDCEBDA.4050706@cesca.cat> Message-ID: On Mon, Dec 5, 2011 at 8:05 PM, Daniel Garcia Mejia wrote: > Set($SendmailPatch, "/usr/sbin/sendmail"); Typo. It should be Path, not Patch. -- Best regards, Ruslan. From ruz at bestpractical.com Thu Dec 8 05:44:50 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 14:44:50 +0400 Subject: [rt-users] RT-Extension-LDAPImport Sizelimit exceeded In-Reply-To: References: Message-ID: On Mon, Dec 5, 2011 at 5:28 PM, Givano wrote: > Hi, > > have configured LDAP Import extension with RT 4.0.2 and getting following > error message from script: > > [Mon Dec ?5 11:24:47 2011] [error]: LDAP search failed Sizelimit exceeded > (/usr/local/share/request-tracker4/lib/RT/Extension/LDAPImport.pm:866) > > as much I understand this comes because domain controller limits the query > by max. 1000 entries, in my case the query returns over 5000 entries. > > I've googled about that issue and people recommending use of simple paging > in the script. As much I understood from looking > over?/usr/local/share/request-tracker4/lib/RT/Extension/LDAPImport.pm this > paging feature is not implemented at the moment. > > Any of you had similiar issue and have some solution (patch) for it beside > changing this 1000 entries option on domain controller? No patches: https://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-LDAPImport And I don't remember that anybody reported it. Patches are welcome. At least report it via rt.cpan.org. > > Thanks in advance, > > Ivan > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ? March 5 & 6, 2012 -- Best regards, Ruslan. From bart at pleh.info Thu Dec 8 05:46:36 2011 From: bart at pleh.info (Bart) Date: Thu, 8 Dec 2011 11:46:36 +0100 Subject: [rt-users] RT tool & RecordTransaction => 0 In-Reply-To: References: Message-ID: Damn, this really is kinda cool ^_^ (learn something new every day) To recap what I did. # Go to the place where all the actions are located cd /opt/rt4/lib/RT/Action # Copy EscalatePriority to TEST.pm, I needed an example ;) cp EscalatePriority.pm TEST.pm # Edit TEST.pm to look like this (full content) =head1 NAME RT::Action::TEST =head1 DESCRIPTION Some test script, will increase the value of a CF by 5. CF = CF + 5 =cut package RT::Action::TEST; use base 'RT::Action'; use strict; sub Describe { my $self = shift; return (ref $self . " will increase the value of a CF by 5.."); } sub Prepare { my $self = shift; my $new_value = $self->TicketObj-> FirstCustomFieldValue( 'Teller New' ) + 5; $self->TicketObj->AddCustomFieldValue(Field => 'Teller New', Value => $new_value, RecordTransaction => 0 ); return 1; } sub Commit { # ---- I'll see if I can add some error logging here ---- } # ---- Is this one needed? ---- RT::Base->_ImportOverlays(); 1; # Then launch rt-crontool like this as a test for all new tickets: (it should edit roughly 6000 tickets in my test environment) /opt/rt4/bin/rt-crontool --search RT::Search::FromSQL --search-arg "status = 'new'" --action RT::Action::TEST The last bit takes a while to complete but I find that understandable (it's a slow test server, it's swapping memory like crazy and CPU load is rather high, production has more memory and more CPU's / stronger CPU's so it shouldn't be much of a problem there ^_~) One last question though, this custom action is only loaded when I explicitly call for it? (I assume yes, but want to be sure if it) Other then that this is allot "cleaner" then hacking the SQL database. (and it's silent ^_^) -- Bart Op 8 december 2011 11:17 schreef Ruslan Zakirov het volgende: > On Thu, Dec 8, 2011 at 14:01, Bart wrote: > > Can the rt-crontool launch an internal RT scrip (e.g. a global scrip or > > something like that) as action instead of the actions that I come across > at > > the examples? > > It's exactly what it does - replays custom condition, scrip and > template combination on every ticket returned by a custom search. > > You need RT::Action::IncreaseCustomField module and there do something > like: > > my ($status, $msg) = $ticket->AddCustomFieldValue( > Field => "CF", > Value => $ticket->FirstCustomFieldValue("CF") + 5, > ); > > > -- > Best regards, Ruslan. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruz at bestpractical.com Thu Dec 8 05:53:49 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 14:53:49 +0400 Subject: [rt-users] Autocreate external users In-Reply-To: <1e58c81d53b15353cfb9c13d82e7f461.squirrel@mail.seiner.com> References: <1e58c81d53b15353cfb9c13d82e7f461.squirrel@mail.seiner.com> Message-ID: On Fri, Dec 2, 2011 at 10:49 PM, Yan Seiner wrote: > I need to allow for the automatic creation of unprivileged users when we > get emails from outside. ?Right now I create privileged users when they > log in via LDAP: > > Set($AutoCreateNonExternalUsers, 1); > Set($AutoCreate, {Privileged => 1}); > > Now I need to create unprivileged users on emails from outside, mostly as > reply to tickets... > > Seems like it used to work under 3.8 and I broke something moving to 4.0.... > > Any suggestions? AutoCreate is RT's option and works in RT even without EA plugin. May be to achieve what you want you can map Privileged in attr_map option to LDAP attribute that always has 1 as value. As well, set AutoCreate to default. Never tried this. > -- > Pain is temporary. It may last a minute, or an hour, or a day, or a year, > but eventually it will subside and something else will take its place. If > I quit, however, it lasts forever. > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ?March 5 & 6, 2012 -- Best regards, Ruslan. From ruz at bestpractical.com Thu Dec 8 06:27:33 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 15:27:33 +0400 Subject: [rt-users] RT tool & RecordTransaction => 0 In-Reply-To: References: Message-ID: On Thu, Dec 8, 2011 at 14:46, Bart wrote: > One last question though, this custom action is only loaded when I > explicitly call for it? (I assume yes, but want to be sure if it) Yes. You can register it in database and use in scrips. You can also use Argument value to control the action. Check other actions for examples. -- Best regards, Ruslan. From ruz at bestpractical.com Thu Dec 8 06:28:41 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 15:28:41 +0400 Subject: [rt-users] RT tool & RecordTransaction => 0 In-Reply-To: References: Message-ID: On Thu, Dec 8, 2011 at 14:46, Bart wrote: > sub Prepare ?{ > ? ? my $self = shift; > ? ? my $new_value = $self->TicketObj-> FirstCustomFieldValue( 'Teller New' ) > + 5; > ? ? $self->TicketObj->AddCustomFieldValue(Field => 'Teller New', Value => > $new_value,?RecordTransaction => 0 ); > ? ? return 1; > } You should move all this code into Commit. Don't change objects during prepare. -- Best regards, Ruslan. From bart at pleh.info Thu Dec 8 06:31:59 2011 From: bart at pleh.info (Bart) Date: Thu, 8 Dec 2011 12:31:59 +0100 Subject: [rt-users] RT tool & RecordTransaction => 0 In-Reply-To: References: Message-ID: Ok, Will do a little more adjusting, thanks for the help. -- Bart Op 8 december 2011 12:28 schreef Ruslan Zakirov het volgende: > On Thu, Dec 8, 2011 at 14:46, Bart wrote: > > sub Prepare { > > my $self = shift; > > my $new_value = $self->TicketObj-> FirstCustomFieldValue( 'Teller > New' ) > > + 5; > > $self->TicketObj->AddCustomFieldValue(Field => 'Teller New', Value => > > $new_value, RecordTransaction => 0 ); > > return 1; > > } > > You should move all this code into Commit. Don't change objects during > prepare. > > -- > Best regards, Ruslan. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruz at bestpractical.com Thu Dec 8 06:40:04 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 15:40:04 +0400 Subject: [rt-users] Customize Quicksearch RT 4.0.4 In-Reply-To: References: Message-ID: On Wed, Nov 30, 2011 at 5:14 PM, Sean McDaid wrote: > Also where can the state of a status be defined, for example "cust_info" > should be a Waiting state? RT has only 3 states: initial, active and inactive. No waiting state, stalled status that is in default lifecycle is still considered active. -- Best regards, Ruslan. From ruz at bestpractical.com Thu Dec 8 06:51:28 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 15:51:28 +0400 Subject: [rt-users] 403 error on local mods In-Reply-To: <177b7618105072d56903c21f329d7316.squirrel@mail.seiner.com> References: <177b7618105072d56903c21f329d7316.squirrel@mail.seiner.com> Message-ID: On Wed, Nov 30, 2011 at 4:20 AM, Yan Seiner wrote: > 29/Nov/2011:16:04:36 -0800] "GET /WSCNews/ HTTP/1.1" 403 26 > > and that's it. ?I can change the file permissions on WSCNews to deny read > access and I get the stock "Forbidden: You do not have permission" error > message, but if I allow RT read permission I still get a 403 but a blank > page. ?I've changed permissions on the What files do you have in the directory. May be RT accidentally sends 403 instead of 404. -- Best regards, Ruslan. From ruz at bestpractical.com Thu Dec 8 06:54:41 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 15:54:41 +0400 Subject: [rt-users] Queue Notification Scrip question In-Reply-To: References: Message-ID: On Mon, Nov 21, 2011 at 11:54 PM, Todd French wrote: > I?m trying to tidy up the notifications our users get on RT, currently we > have in place a scrip that On Queue Change, Notify Admin CC?s.? What I?d > like to do is tweak this so that it only sends the notification for tickets > that change when the owner is nobody, as we also have set a notification > when the owner changes.? This way we?re only broadcasting to all AdminCC?s > when there?s something to go take ownership of, not something that is > already owned. > > > > I?ve tried using a custom condition such as: > > return 1 unless $self->TicketObj->Owner != $RT::Nobody->id; > > but I was unsure on how to replicate the usual Notify AdminCC?s action. You don't need to replicate Notify action. You need custom condition and replicate On Queue Change condition what is really simple. -- Best regards, Ruslan. From ruz at bestpractical.com Thu Dec 8 07:14:39 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 16:14:39 +0400 Subject: [rt-users] Transaction custom field not showing in Incident In-Reply-To: <20111114200219.GC1021@jibsheet.com> References: <20111114200219.GC1021@jibsheet.com> Message-ID: On Tue, Nov 15, 2011 at 12:02 AM, Kevin Falcone wrote: > On Mon, Nov 14, 2011 at 01:55:42PM -0500, Xin, Qiao wrote: >> I created a Ticket transactions custom field named "Notification" and applied to the "Incidents" queue of RTIR. >> However, it is not shown in the page when I try to "Reply" or "Comment" to ticket. I add "Modify custom field" and " >> See custom fields" privileges to everyone and it is still not shown. >> >> To test, I applied the field to the queue "General" and the field is shown correctly on the "Reply" page. I searched >> in the mailing list and somebody said RTIR queues are special. Is there anyway I can enable the transaction custom >> field in "Incidents" queue? > > Unfortunately - the Reply page in RTIR predates Transaction Custom > Fields and was never updated to include them. > > I thought there was a feature ticket open about this, but I can't find it. > This is implemented in RTIR 3.0.0rc1 that is also port of RTIR over RT4. > -kevin > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * ?Barcelona, Spain ? November 28 & 29, 2011 -- Best regards, Ruslan. From bart at pleh.info Thu Dec 8 08:00:20 2011 From: bart at pleh.info (Bart) Date: Thu, 8 Dec 2011 14:00:20 +0100 Subject: [rt-users] RT tool & RecordTransaction => 0 In-Reply-To: References: Message-ID: I think I've finished it, only have some issues with the $RT::Logger->error thing. The scrip won't launch when I have that part enabled, when disabled it runs just fine O_o package RT::Action::TEST; use base 'RT::Action'; use strict; use warnings; sub Prepare { return 1; } sub Commit { my $self = shift; my $tstatus = $self->TicketObj->Status; if ($tstatus eq 'new') { my ($val, $msg) = $self->TicketObj->AddCustomFieldValue(Field => 'Teller New', Value => $self->TicketObj->FirstCustomFieldValue( 'Teller New' ) + 5, RecordTransaction => 0 ); } if ($tstatus eq 'open') { my ($val, $msg) = $self->TicketObj->AddCustomFieldValue(Field => 'Teller New', Value => $self->TicketObj->FirstCustomFieldValue( 'Teller New' ) + 5, RecordTransaction => 0 ); } # --- Insert more if statements to match more ticket statusses. --- # --- the part below doesn't seem to work, no idea why. --- #unless ( $val ) { # $RT::Logger->error("Coudln't change Custom Field: $msg"); # return 0; #} return 1; } 1; -- Bart Op 8 december 2011 12:31 schreef Bart het volgende: > Ok, > > Will do a little more adjusting, thanks for the help. > > -- Bart > > > Op 8 december 2011 12:28 schreef Ruslan Zakirov het volgende: > > On Thu, Dec 8, 2011 at 14:46, Bart wrote: >> > sub Prepare { >> > my $self = shift; >> > my $new_value = $self->TicketObj-> FirstCustomFieldValue( 'Teller >> New' ) >> > + 5; >> > $self->TicketObj->AddCustomFieldValue(Field => 'Teller New', Value >> => >> > $new_value, RecordTransaction => 0 ); >> > return 1; >> > } >> >> You should move all this code into Commit. Don't change objects during >> prepare. >> >> -- >> Best regards, Ruslan. >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kae at midnighthax.com Thu Dec 8 08:07:39 2011 From: kae at midnighthax.com (Keith Edmunds) Date: Thu, 8 Dec 2011 13:07:39 +0000 Subject: [rt-users] Migrate, not upgrade, database Message-ID: <20111208130739.34ebf853@kae.tiger-computing.wbp> Hi List We have an RT system that's been running for over six years, and during that time it has been upgraded from time to time and is now running 3.8.8 with MySQL. We're about to upgrade to 4.0.2, but I want to try to fix some issues we've been having. Back in the olden days, customisations were made to RT by executing Perl/SQL code. Since then, the UI has facilitated customisations to the extent that we no longer need to use Perl/SQL to achieve the customisations we want. However, I suspect something in the deep past has caused some issues in our database - for example, if we create a new user, even one with ALL privileges, they do not see a "take" link on tickets on the homepage (they can open and take tickets without problem). There are a couple of other oddities. So what I'd like to do it create a virgin V4 database, and import just the historical tickets (and maybe users, but without any customisations). A few questions: - is that feasible? - which tables do I need to import? - do I need to massage any of them prior to import? - am I proposing something totally stupid? I really appreciate any insight that others can offer. Thank you. Keith Edmunds -- "You can have everything in life you want if you help enough other people get what they want" - Zig Ziglar. Who did you help today? From gerard at eve-team.com Thu Dec 8 09:12:00 2011 From: gerard at eve-team.com (Gerard FENELON) Date: Thu, 08 Dec 2011 15:12:00 +0100 Subject: [rt-users] CF Link values In-Reply-To: References: <4EDFAC38.1020208@eve-team.com> Message-ID: <4EE0C5B0.2090105@eve-team.com> On 2011-12-07 22:16, Ruslan Zakirov wrote: > On Wed, Dec 7, 2011 at 10:11 PM, Gerard FENELON wrote: >> Hi >> >> I am using RT3.8.8 >> >> I have a CF where the "Link value to" contains >> >> http://cvsweb/__CustomField__ >> >> RT generates a link but if I click on the link I get a 404 error using >> Firefox. >> I am pretty sure that I saw this work when I first set it up with RT 3.6 >> >> If I look at the generated source of the page, I see >> >> >> >> aaaa/bbbb/cccc/dddd >> >> >> The code is in share/html/Elements/ShowCustomFields >> >> my $linked = $value->LinkValueTo; >> if ( defined $linked&& length $linked ) { >> my $linked = $m->interp->apply_escapes( $linked, 'h' ); >> $m->out(''); >> } >> >> The code for RT3.6.10 shows >> my $linked = $cf->LinkValueTo; >> if ( $linked ) { >> $m->out(''); >> } >> >> How can I tell Mason not to escape '/' and still escape the rest ? > > Escaping you have problem with is not happening here. Take a look into > lib/RT/ObjectCustomFieldValue.pm, method _FillInTemplateURL. Thanks Ruslan is it safe to change CustomField => { value => sub { $_[0]->Content }, escape => 1 }, to CustomField => { value => sub { $_[0]->Content } }, in _FillInTemplateURL ? Or should I change $$ref =~ s/([^a-zA-Z0-9_.!~*'()-])/uc sprintf("%%%02X", ord($1))/eg; to $$ref =~ s/([^a-zA-Z0-9_.!~*'()\/-])/uc sprintf("%%%02X", ord($1))/eg; in RT::Interface::Web::EscapeURI ? Gerard From ruz at bestpractical.com Thu Dec 8 09:44:07 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 18:44:07 +0400 Subject: [rt-users] RT tool & RecordTransaction => 0 In-Reply-To: References: Message-ID: On Thu, Dec 8, 2011 at 17:00, Bart wrote: > I think I've finished it, only have some issues with the $RT::Logger->error > thing. The scrip won't launch when I have that part enabled, when disabled > it runs just fine O_o $val is inside if {} block and lexically scoped, so it's not available outside. Use my ($val, $msg); if { ($val, $msg) = ... } -- Best regards, Ruslan. From ruz at bestpractical.com Thu Dec 8 09:48:46 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 18:48:46 +0400 Subject: [rt-users] CF Link values In-Reply-To: <4EE0C5B0.2090105@eve-team.com> References: <4EDFAC38.1020208@eve-team.com> <4EE0C5B0.2090105@eve-team.com> Message-ID: On Thu, Dec 8, 2011 at 18:12, Gerard FENELON wrote: > is it safe to change > ? ?CustomField => { value => sub { $_[0]->Content }, escape => 1 }, > to > ? ?CustomField => { value => sub { $_[0]->Content } }, > in _FillInTemplateURL ? Only if you know what you're doing. > Or should I change > ? ?$ref =~ s/([^a-zA-Z0-9_.!~*'()-])/uc sprintf("%%%02X", ord($1))/eg; > to > ? ?$ref =~ s/([^a-zA-Z0-9_.!~*'()\/-])/uc sprintf("%%%02X", ord($1))/eg; > in RT::Interface::Web::EscapeURI ? No, you shouldn't. -- Best regards, Ruslan. From Horst.Kriegers at loro.ch Thu Dec 8 09:48:49 2011 From: Horst.Kriegers at loro.ch (Kriegers Horst) Date: Thu, 8 Dec 2011 14:48:49 +0000 Subject: [rt-users] Register Bcc as AdminCc user In-Reply-To: References: <49BFBF371580BE4A921A738E1E1C95C510C1A59D@PSDAG01.office.loro.swiss> Message-ID: <49BFBF371580BE4A921A738E1E1C95C510C1B6F7@PSDAG01.office.loro.swiss> Russlan, Thank you for your reply. I have two problems. First, I do not understand the code in the Notify.pm, I'm not a perl dev. : ( Second, I'm not sure I was clear in my question, sorry ... My wish is to register as a user AdminCc which was declared as Bcc when creating a new ticket by email. I do not know if it's possible. Horst > -----Message d'origine----- > De : ruslan.zakirov at gmail.com [mailto:ruslan.zakirov at gmail.com] De la part > de Ruslan Zakirov > Envoy? : jeudi, 8. d?cembre 2011 09:26 > ? : Kriegers Horst > Cc : ML - rt-users > Objet : Re: [rt-users] Register Bcc as AdminCc user > > On Thu, Dec 8, 2011 at 11:43, Kriegers Horst wrote: > > Hello all, > > > > > > > > After 2 days of searching I don?t find any solution and now I need > > your help. > > > > > > > > I wich to automatically register Bcc user as AdminCc on ticket. > > > > Is there a configuration or a scrip to do this ? > > If you mean one time recipient Bcc input then it's saved in headers. > Grep for OtherRecipients in lib/RT/Action/Notify.pm to see how get > addresses in your custom scrip. > > > > > > > > > > > > > A great thanks for your help. > > > > Horst > > > > > > > > > > > > > > > > > > > > > > ________________________________ > > Note Importante: Le contenu de ce courriel est uniquement r?serv? ? la > > personne ou l'organisme ? qui il est destin?. Si vous n'?tes pas le > > destinataire pr?vu, veuillez nous en informer au plus vite et d?truire > > le pr?sent courriel. Dans ce cas, il ne vous est pas permis de copier > > ce courriel, de le distribuer ou de l'utiliser de quelque mani?re que ce soit. > > > > ________________________________ > > Important Notice: The content of this e-mail is intended only and > > solely for the use of the named recipient or organization. If you are > > not the named recipient, please inform us immediately and delete the > > present e-mail. In this case, you are not allowed to copy, distribute > > or use this e-mail in any way. > > > > ________________________________ > > > > -------- > > RT Training Sessions (http://bestpractical.com/services/training.html) > > * Boston ? March 5 & 6, 2012 > > > > -- > Best regards, Ruslan. ________________________________ Note Importante: Le contenu de ce courriel est uniquement r?serv? ? la personne ou l'organisme ? qui il est destin?. Si vous n'?tes pas le destinataire pr?vu, veuillez nous en informer au plus vite et d?truire le pr?sent courriel. Dans ce cas, il ne vous est pas permis de copier ce courriel, de le distribuer ou de l'utiliser de quelque mani?re que ce soit. ________________________________ Important Notice: The content of this e-mail is intended only and solely for the use of the named recipient or organization. If you are not the named recipient, please inform us immediately and delete the present e-mail. In this case, you are not allowed to copy, distribute or use this e-mail in any way. ________________________________ From ruz at bestpractical.com Thu Dec 8 10:10:56 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 19:10:56 +0400 Subject: [rt-users] Register Bcc as AdminCc user In-Reply-To: <49BFBF371580BE4A921A738E1E1C95C510C1B6F7@PSDAG01.office.loro.swiss> References: <49BFBF371580BE4A921A738E1E1C95C510C1A59D@PSDAG01.office.loro.swiss> <49BFBF371580BE4A921A738E1E1C95C510C1B6F7@PSDAG01.office.loro.swiss> Message-ID: On Thu, Dec 8, 2011 at 18:48, Kriegers Horst wrote: > Russlan, > > Thank you for your reply. > > I have two problems. > First, I do not understand the code in the Notify.pm, I'm not a perl dev. : ( > Second, I'm not sure I was clear in my question, sorry ... > ? ? ? ?My wish is to register as a user AdminCc which was declared as Bcc when creating a new ticket by email. I do not know if it's possible. it's not. Incoming mail has no Bcc field, MTA deleted it during processing. > > > Horst -- Best regards, Ruslan. From huston at astro.princeton.edu Thu Dec 8 10:12:41 2011 From: huston at astro.princeton.edu (Steve Huston) Date: Thu, 08 Dec 2011 10:12:41 -0500 Subject: [rt-users] Auto-reply contains FAQ search results Message-ID: <4EE0D3E9.8080201@astro.princeton.edu> I've looked through the wiki and mailing list and didn't find mention of something like this. My auto-reply has a line to direct users to our FAQ (not RTFM, it predated RTFM and I've found no compelling reason to port it all now). However, as one might guess, people still do not go search for their problem there and will happily wait for the rest of the weekend to pass before getting a quick response which occasionally directs them to one of the entries they would have found searching for the exact subject they used in their email. I've seen some systems where when you send a message to a support address, you get back a list of possible FAQ entries based on a search of some keywords in your email or subject line. I wonder if something like that could be done in a scrip? I realize it might require a bit more than some simple scripting, but something that can pass some keywords to a search function and return some links that might be relevant could be quite useful - at the very least, there's that slim chance that seeing an article that mentions a user's exact problem will prompt them to click the link when they can't be bothered to type it in a search box, being an extra step and all... -- Steve Huston - W2SRH - Unix Sysadmin, Dept. of Astrophysical Sciences Princeton University | ICBM Address: 40.346525 -74.651285 206 Peyton Hall |"On my ship, the Rocinante, wheeling through Princeton, NJ 08544 | the galaxies; headed for the heart of Cygnus, (267) 793-0852 | headlong into mystery." -Rush, 'Cygnus X-1' From bart at pleh.info Thu Dec 8 10:22:02 2011 From: bart at pleh.info (Bart) Date: Thu, 8 Dec 2011 16:22:02 +0100 Subject: [rt-users] RT tool & RecordTransaction => 0 In-Reply-To: References: Message-ID: So this if statement would be more accurate: (to have the ability to have a little more specific error log message) if ($tstatus eq 'new') { my ($status, $msg) = $self->TicketObj->AddCustomFieldValue(Field => 'aantal_minuten_new', Value => $self->TicketObj->FirstCustomFieldValue( 'aantal_minuten_new' ) + 5, RecordTransaction => 0 ); unless ( $status ) { $RT::Logger->error("Coudln't change Custom Field: ". $msg); return 0; } } (test run seems to work this way) -- Bart Op 8 december 2011 15:44 schreef Ruslan Zakirov het volgende: > On Thu, Dec 8, 2011 at 17:00, Bart wrote: > > I think I've finished it, only have some issues with the > $RT::Logger->error > > thing. The scrip won't launch when I have that part enabled, when > disabled > > it runs just fine O_o > > $val is inside if {} block and lexically scoped, so it's not available > outside. > > Use my ($val, $msg); if { ($val, $msg) = ... } > > -- > Best regards, Ruslan. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruz at bestpractical.com Thu Dec 8 10:42:30 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 8 Dec 2011 19:42:30 +0400 Subject: [rt-users] Auto-reply contains FAQ search results In-Reply-To: <4EE0D3E9.8080201@astro.princeton.edu> References: <4EE0D3E9.8080201@astro.princeton.edu> Message-ID: On Thu, Dec 8, 2011 at 19:12, Steve Huston wrote: > I've looked through the wiki and mailing list and didn't find mention of > something like this. ?My auto-reply has a line to direct users to our > FAQ (not RTFM, it predated RTFM and I've found no compelling reason to > port it all now). ?However, as one might guess, people still do not go > search for their problem there and will happily wait for the rest of the > weekend to pass before getting a quick response which occasionally > directs them to one of the entries they would have found searching for > the exact subject they used in their email. > > I've seen some systems where when you send a message to a support > address, you get back a list of possible FAQ entries based on a search > of some keywords in your email or subject line. ?I wonder if something > like that could be done in a scrip? ?I realize it might require a bit > more than some simple scripting, but something that can pass some > keywords to a search function and return some links that might be > relevant could be quite useful - at the very least, there's that slim > chance that seeing an article that mentions a user's exact problem will > prompt them to click the link when they can't be bothered to type it in > a search box, being an extra step and all... Use Web::Scraper [1]. http://search.cpan.org/~miyagawa/Web-Scraper-0.36/lib/Web/Scraper.pm Implementation depends on how FAQ is organized and if it's searchable or not. > -- > Steve Huston - W2SRH - Unix Sysadmin, Dept. of Astrophysical Sciences > ?Princeton University ?| ? ?ICBM Address: 40.346525 ? -74.651285 > ? ?206 Peyton Hall ? ? |"On my ship, the Rocinante, wheeling through > ?Princeton, NJ ? 08544 | the galaxies; headed for the heart of Cygnus, > ? ?(267) 793-0852 ? ? ?| headlong into mystery." ?-Rush, 'Cygnus X-1' > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ?March 5 & 6, 2012 -- Best regards, Ruslan. From bart at pleh.info Thu Dec 8 10:45:40 2011 From: bart at pleh.info (Bart) Date: Thu, 8 Dec 2011 16:45:40 +0100 Subject: [rt-users] The RT Wiki - Restructure (start using categories?) In-Reply-To: References: <4158024.736.1322577674922.JavaMail.root@benjamin.baylink.com> Message-ID: Hi, So far it's been a busy week for me O_o (lots of small things to-do) I'll make a wiki page which will represent [the|a] "new" front page and start creating a structure, or somewhat a structure, on it so that everyone can help work on it + so we have a starting point. The page should be done tomorrow (day off ^_^). -- Bart Op 1 december 2011 15:40 schreef Ruslan Zakirov het volgende: > Hi, > > People already started work on installation guides. > > A few templates: > http://requesttracker.wikia.com/wiki/Special:UncategorizedTemplates > > Every installation guide on the wiki should use: > http://requesttracker.wikia.com/wiki/Template:UnofficialInstallGuide > > All pages that use this template: > > http://requesttracker.wikia.com/index.php?title=Special:WhatLinksHere/Template:UnofficialInstallGuide&limit=500 > > Most are marked with UnofficialInstallGuide: > http://requesttracker.wikia.com/wiki/Category:UnofficialInstallGuide > > > > -- > Best regards, Ruslan. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From theitsmith at gmail.com Thu Dec 8 13:28:40 2011 From: theitsmith at gmail.com (Thomas Smith) Date: Thu, 8 Dec 2011 11:28:40 -0700 Subject: [rt-users] Full text search Message-ID: Hi, In RT 3.x, one could do a full text "simple search" by entering "fulltext:". I tried this in RT 4 but it doesn't work. Is there a way to do a full text search in RT 4? ~ Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From trs at bestpractical.com Thu Dec 8 13:31:14 2011 From: trs at bestpractical.com (Thomas Sibley) Date: Thu, 08 Dec 2011 13:31:14 -0500 Subject: [rt-users] Full text search In-Reply-To: References: Message-ID: <4EE10272.4050900@bestpractical.com> On 12/08/2011 01:28 PM, Thomas Smith wrote: > Hi, > > In RT 3.x, one could do a full text "simple search" by entering > "fulltext:". I tried this in RT 4 but it doesn't work. > > Is there a way to do a full text search in RT 4? That syntax is still supported but by default non-indexed FTS isn't enabled. You can either enable it in your config, or, more usefully, setup RT 4's indexed FTS support. http://blog.bestpractical.com/2011/06/full-text-searching.html Thomas From falcone at bestpractical.com Thu Dec 8 13:48:04 2011 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 8 Dec 2011 13:48:04 -0500 Subject: [rt-users] RTx::Calendar in rt4 In-Reply-To: <20111129161858.GA2887@easter-eggs.com> References: <20111129161858.GA2887@easter-eggs.com> Message-ID: <20111208184804.GD9885@jibsheet.com> On Tue, Nov 29, 2011 at 05:18:59PM +0100, Emmanuel Lacour wrote: > On Tue, Nov 29, 2011 at 11:08:03AM -0500, Joe Harris wrote: > > Has anyone ported the Calendar plugin to rt4? I installed it in the > > new version (4.0.4). It shows on the home screen, but there is not a > > link to the full calendar on the home screen as it was in 3.8.7. I > > did some research and found that the error we get when clicking on: > > could not find component for path '/Ticket/Elements/Tabs' > > is related to the difference between the new interface in rt4 and the > > old one. I found some discussions on the list about other plugins > > relating to Default vs. Privileged in the Tabs directories, but have > > yet to get my head around the exact way to fix it. I am sure it is > > something pretty simple, but need a little direction. > > > > If anyone has already done this and would like to share, it would be > > appreciated, if not, any input will be very helpful. > > > > You can just grab the last one from git which fixes this tabs problem: > > https://github.com/bestpractical/rtx-calendar Release 0.08_01 is also on its way to cpan, so test feedback on that would be helpful so that a stable 0.09 can be released. -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 Thu Dec 8 13:50:09 2011 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 8 Dec 2011 13:50:09 -0500 Subject: [rt-users] CLI Scripting Question In-Reply-To: References: <9900C7068FE87C43AC0718D719CD0CFB0137AF335496@JETMX003.int.cancom.de> Message-ID: <20111208185009.GE9885@jibsheet.com> On Wed, Nov 30, 2011 at 09:28:53AM +0100, Nehmer Torben wrote: > Hi, > > > It wouldn't work. Most times it's easier to use > > $tickets->FromSQL("Queue = 'x' AND (Status ...)") instead of Limit* > > calls. LIKE adding % around arguments is historical thing. Use > > MATCHES. > > Using OPERATOR => 'MATCHES' produces an error: > > [Wed Nov 30 08:15:28 2011] [error]: RestrictionsToClauses: Invalid operator MATCHES for Subject (STRING) at /usr/share/request-tracker4/lib/RT/Tickets.pm line 3363. (/usr/share/request-tracker4/lib/RT/Tickets.pm:3416) > > MATCHES in FromSQL does effectively break the entire query, LIKE in FromSQL has the same bahvoir as LimitSubject. > > Besides, I find it much more error prone to build SQL queries by hand. > > So I am still where I started. > > It can't be that hard to do a query the subject for a string on the beginning without patching the Perl SearchBuilder modules itself, can it? You want OPERATOR => 'STARTSWITH', documented in DBIx::SearchBuilder on the Limit 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 vollmar at nf.mpg.de Thu Dec 8 16:01:14 2011 From: vollmar at nf.mpg.de (Stefan Vollmar) Date: Thu, 08 Dec 2011 22:01:14 +0100 Subject: [rt-users] How to set a language preference when creating a ticket with the rt CLI? Message-ID: <4F9531C0-DBCE-41DB-918B-7AF40CBDE9FD@nf.mpg.de> Hi, we have created a simple web interface for our users - they can now easily create tickets and this works, in general, very well. We have provided some custom templates for our queues (in German) and they are being used by RT. However, we have not yet customized all templates and RT uses the English default templates for the cases where we do not have our own versions. The PHP script that manages the web interface creates tickets in this way: $cmd = "$RTBIN create -t ticket set subject='$subject' set queue='$QUEUE' ... Is there a "set language=..." parameter we could use (sorry, if I have overlooked this in the documentation wiki)? Many help in advance. Warm regards, Stefan -- Dr. Stefan Vollmar, Dipl.-Phys. Head of IT group Max-Planck-Institut f?r neurologische Forschung Gleuelerstr. 50, 50931 K?ln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 Email: vollmar at nf.mpg.de http://www.nf.mpg.de -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4409 bytes Desc: not available URL: From ruz at bestpractical.com Thu Dec 8 16:19:47 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Fri, 9 Dec 2011 01:19:47 +0400 Subject: [rt-users] How to set a language preference when creating a ticket with the rt CLI? In-Reply-To: <4F9531C0-DBCE-41DB-918B-7AF40CBDE9FD@nf.mpg.de> References: <4F9531C0-DBCE-41DB-918B-7AF40CBDE9FD@nf.mpg.de> Message-ID: On Fri, Dec 9, 2011 at 01:01, Stefan Vollmar wrote: > Hi, > > we have created a simple web interface for our users - they can now easily create tickets and this works, in general, very well. We have provided some custom templates for our queues (in German) and they are being used by RT. However, we have not yet customized all templates and RT uses the English default templates for the cases where we do not have our own versions. The PHP script that manages the web interface creates tickets in this way: > > $cmd = "$RTBIN create -t ticket set subject='$subject' set queue='$QUEUE' ... > > Is there a "set language=..." parameter we could use (sorry, if I have overlooked this in the documentation wiki)? There is no such concept. Search for templates translation in archives to understand why. In several words. A scrip may notify multiple people with one mail and these people can talk in different languages. Notification scrips are not capable to split recipients into multiple groups by language and use different templates to notify them. People often use multiple queues to provide support in different languages. > Many help in advance. > Warm regards, > ?Stefan > -- > Dr. Stefan Vollmar, Dipl.-Phys. > Head of IT group > Max-Planck-Institut f?r neurologische Forschung > Gleuelerstr. 50, 50931 K?ln, Germany > Tel.: +49-221-4726-213 ?FAX +49-221-4726-298 > Tel.: +49-221-478-5713 ?Mobile: 0160-93874279 > Email: vollmar at nf.mpg.de ? http://www.nf.mpg.de > > > > > > > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ? March 5 & 6, 2012 -- Best regards, Ruslan. From davekm3t at gmail.com Thu Dec 8 16:36:19 2011 From: davekm3t at gmail.com (Dave Pascoe) Date: Thu, 8 Dec 2011 16:36:19 -0500 Subject: [rt-users] Full text search In-Reply-To: <4EE10272.4050900@bestpractical.com> References: <4EE10272.4050900@bestpractical.com> Message-ID: I have had this configured in my RT 4.0.4 installation as follows: Set(%FullTextSearch, Enable => 1, Indexed => 0, ); but the results when using fulltext: I don't get the expected results. Searching for things that ought to return dozens of hits return maybe 2 or 3. I will try to dig into it more but wonder if anyone else has seen this. Dave On Thu, Dec 8, 2011 at 1:31 PM, Thomas Sibley wrote: > On 12/08/2011 01:28 PM, Thomas Smith wrote: > > Hi, > > > > In RT 3.x, one could do a full text "simple search" by entering > > "fulltext:". I tried this in RT 4 but it doesn't work. > > > > Is there a way to do a full text search in RT 4? > > That syntax is still supported but by default non-indexed FTS isn't > enabled. You can either enable it in your config, or, more usefully, > setup RT 4's indexed FTS support. > > http://blog.bestpractical.com/2011/06/full-text-searching.html > > Thomas > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston March 5 & 6, 2012 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Izz.Abdullah at hibbett.com Thu Dec 8 16:39:32 2011 From: Izz.Abdullah at hibbett.com (Izz Abdullah) Date: Thu, 8 Dec 2011 15:39:32 -0600 Subject: [rt-users] Full text search In-Reply-To: References: <4EE10272.4050900@bestpractical.com> Message-ID: This is the same configuration I have in my 4.0.2 installation. Seems like to get full benefits from it I needed to restart MySQL and of course Apache. Maybe this will help. I've hardcoded the fulltext: directive into the simple search, and it works beautifully for us here. From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Dave Pascoe Sent: Thursday, December 08, 2011 3:36 PM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Full text search I have had this configured in my RT 4.0.4 installation as follows: Set(%FullTextSearch, Enable => 1, Indexed => 0, ); but the results when using fulltext: I don't get the expected results. Searching for things that ought to return dozens of hits return maybe 2 or 3. I will try to dig into it more but wonder if anyone else has seen this. Dave On Thu, Dec 8, 2011 at 1:31 PM, Thomas Sibley > wrote: On 12/08/2011 01:28 PM, Thomas Smith wrote: > Hi, > > In RT 3.x, one could do a full text "simple search" by entering > "fulltext:". I tried this in RT 4 but it doesn't work. > > Is there a way to do a full text search in RT 4? That syntax is still supported but by default non-indexed FTS isn't enabled. You can either enable it in your config, or, more usefully, setup RT 4's indexed FTS support. http://blog.bestpractical.com/2011/06/full-text-searching.html Thomas -------- RT Training Sessions (http://bestpractical.com/services/training.html) * Boston March 5 & 6, 2012 -------------- next part -------------- An HTML attachment was scrubbed... URL: From trs at bestpractical.com Thu Dec 8 16:54:33 2011 From: trs at bestpractical.com (Thomas Sibley) Date: Thu, 08 Dec 2011 16:54:33 -0500 Subject: [rt-users] Full text search In-Reply-To: References: <4EE10272.4050900@bestpractical.com> Message-ID: <4EE13219.9000702@bestpractical.com> On 12/08/2011 04:36 PM, Dave Pascoe wrote: > I have had this configured in my RT 4.0.4 installation as follows: > > Set(%FullTextSearch, > Enable => 1, > Indexed => 0, > ); > > but the results when using fulltext: I don't get the > expected results. Searching for things that ought to return dozens of > hits return maybe 2 or 3. If your search string has spaces in it, are you quoting ? Paste a real example so we can see. Thomas From trs at bestpractical.com Thu Dec 8 16:55:11 2011 From: trs at bestpractical.com (Thomas Sibley) Date: Thu, 08 Dec 2011 16:55:11 -0500 Subject: [rt-users] Full text search In-Reply-To: <4EE13219.9000702@bestpractical.com> References: <4EE10272.4050900@bestpractical.com> <4EE13219.9000702@bestpractical.com> Message-ID: <4EE1323F.1060204@bestpractical.com> On 12/08/2011 04:54 PM, Thomas Sibley wrote: > On 12/08/2011 04:36 PM, Dave Pascoe wrote: >> I have had this configured in my RT 4.0.4 installation as follows: >> >> Set(%FullTextSearch, >> Enable => 1, >> Indexed => 0, >> ); >> >> but the results when using fulltext: I don't get the >> expected results. Searching for things that ought to return dozens of >> hits return maybe 2 or 3. You can also look at the TicketSQL generated by clicking on the Advanced tab after running your simple search. Thomas From rhayward at axispoint.com Thu Dec 8 17:21:39 2011 From: rhayward at axispoint.com (Robert Hayward) Date: Thu, 8 Dec 2011 17:21:39 -0500 Subject: [rt-users] RTFM Message-ID: <0454AF22218B6142A82AE35DF58C521609C4EBED11@ap-exchg-nymb01.axispoint.com> Where do I go to find this path? The content area of a RTFM article cannot be edited. lib/RT/FM/Introduction.pod Regards, Robert Hayward Systems Support Engineer | Axispoint, Inc. 350 Madison Avenue, 4th floor, New York, NY 10017 Office: 212-920-2692 | Mobile: 267-231-5541 Email: rhayward at axispoint.com | Web: http://www.axispoint.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruz at bestpractical.com Thu Dec 8 18:18:38 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Fri, 9 Dec 2011 03:18:38 +0400 Subject: [rt-users] RTFM In-Reply-To: <0454AF22218B6142A82AE35DF58C521609C4EBED11@ap-exchg-nymb01.axispoint.com> References: <0454AF22218B6142A82AE35DF58C521609C4EBED11@ap-exchg-nymb01.axispoint.com> Message-ID: On Fri, Dec 9, 2011 at 02:21, Robert Hayward wrote: > Where do I go to find this path? The content area of a RTFM article cannot > be edited. > > lib/RT/FM/Introduction.pod docs/customizing/articles_introduction.pod > > Regards, > Robert Hayward -- Best regards, Ruslan. From rbackman at georgefox.edu Thu Dec 8 19:41:43 2011 From: rbackman at georgefox.edu (Ryan Backman) Date: Thu, 8 Dec 2011 16:41:43 -0800 Subject: [rt-users] ExternalAuth Installed but not working Message-ID: I'm having a bit of trouble getting ExternalAuth to work. I've scoured the archives and the net and found many suggestions, but none have made any changes. - I've setup logging to go to a seperate file, but all I get is a Login Failure message in this file when I try to login: [Thu Dec 8 23:38:32 2011] [error]: FAILED LOGIN for rbackman from xx.xx.xx.xx (/usr/share/request-tracker3.8/lib/RT/Interface/Web.pm:424) - I'm seeing correct values in the online configuration view inside RT indicating that ExternalAuth is loaded as a Plugin and that ExternalAuthPriority is My_LDAP. - I can use the ldapsearch tool with the same variables on the same box successfully Any help is much appreciated. Below is my configuration: Set( @Plugins, qw(RT::Authen::ExternalAuth) ); Set ( $ExternalAuthPriority, [ 'My_LDAP' ] ); Set ( $ExternalInfoPriority, [ 'My_LDAP' ] ); Set($ExternalServiceUsesSSLorTLS, 0); Set($AutoCreateNonExternalUsers, 0); Set($ExternalSettings, { 'My_LDAP' => { 'type' => 'ldap', 'server' => 'server.domain.edu', 'user' => 'CN=user,OU=admin...', 'pass' => 'pass', 'base' => 'dc=domain,...', 'filter' => '(&(objectClass=user)(memberOf=CN=Staff...)', 'd_filter' => '(userAccountControl=514)', 'tls' => 0, 'ssl_version' => 3, 'net_ldap_args' => [ version => 3 ], 'group' => 'CN=All Users,...', 'group_attr' => 'member', 'attr_match_list' => [ 'Name', 'EmailAddress' ], 'attr_map' => { 'Name' => 'sAMAccountName', 'EmailAddress' => 'mail', 'ExternalAuthId' => 'sAMAccountName', 'Gecos' => 'sAMAccountName' } } } ); 1; =+=+=+=+=+=+=+=+=+ Ryan Backman Programmer / Analyst George Fox University 503.554.2576 =+=+=+=+=+=+=+=+=+ -------------- next part -------------- An HTML attachment was scrubbed... URL: From davekm3t at gmail.com Thu Dec 8 21:09:13 2011 From: davekm3t at gmail.com (Dave Pascoe) Date: Thu, 8 Dec 2011 21:09:13 -0500 Subject: [rt-users] Full text search In-Reply-To: <4EE1323F.1060204@bestpractical.com> References: <4EE10272.4050900@bestpractical.com> <4EE13219.9000702@bestpractical.com> <4EE1323F.1060204@bestpractical.com> Message-ID: My bad. I wasn't expecting that Status=resolved tickets were not going to be searched. Operator error. I also learned that you can pass status into SimpleSearch right from the search box. Solves my needs. Thanks for the responses. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Horst.Kriegers at loro.ch Fri Dec 9 01:04:55 2011 From: Horst.Kriegers at loro.ch (Kriegers Horst) Date: Fri, 9 Dec 2011 06:04:55 +0000 Subject: [rt-users] Register Bcc as AdminCc user In-Reply-To: References: <49BFBF371580BE4A921A738E1E1C95C510C1A59D@PSDAG01.office.loro.swiss> <49BFBF371580BE4A921A738E1E1C95C510C1B6F7@PSDAG01.office.loro.swiss> Message-ID: <49BFBF371580BE4A921A738E1E1C95C510C1B920@PSDAG01.office.loro.swiss> > it's not. Incoming mail has no Bcc field, MTA deleted it during processing. Thanks for your answer. Regards, Horst > -----Message d'origine----- > De : ruslan.zakirov at gmail.com [mailto:ruslan.zakirov at gmail.com] De la part > de Ruslan Zakirov > Envoy? : jeudi, 8. d?cembre 2011 16:11 > ? : Kriegers Horst > Cc : ML - rt-users > Objet : Re: [rt-users] Register Bcc as AdminCc user > > On Thu, Dec 8, 2011 at 18:48, Kriegers Horst wrote: > > Russlan, > > > > Thank you for your reply. > > > > I have two problems. > > First, I do not understand the code in the Notify.pm, I'm not a perl > > dev. : ( Second, I'm not sure I was clear in my question, sorry ... > > My wish is to register as a user AdminCc which was declared as Bcc > when creating a new ticket by email. I do not know if it's possible. > > it's not. Incoming mail has no Bcc field, MTA deleted it during processing. > > > > > > > Horst > > -- > Best regards, Ruslan. ________________________________ Note Importante: Le contenu de ce courriel est uniquement r?serv? ? la personne ou l'organisme ? qui il est destin?. Si vous n'?tes pas le destinataire pr?vu, veuillez nous en informer au plus vite et d?truire le pr?sent courriel. Dans ce cas, il ne vous est pas permis de copier ce courriel, de le distribuer ou de l'utiliser de quelque mani?re que ce soit. ________________________________ Important Notice: The content of this e-mail is intended only and solely for the use of the named recipient or organization. If you are not the named recipient, please inform us immediately and delete the present e-mail. In this case, you are not allowed to copy, distribute or use this e-mail in any way. ________________________________ From vollmar at nf.mpg.de Fri Dec 9 05:02:52 2011 From: vollmar at nf.mpg.de (Stefan Vollmar) Date: Fri, 09 Dec 2011 11:02:52 +0100 Subject: [rt-users] reply by mail re-opens case? Message-ID: Hi, quick question: I replied to a mail which had been sent via an RT queue. The corresponding case was closed but apparently re-opened when my reply arrived. Is this the expected behaviour? (I would not mind at all, we just wanted to make sure) Best regards, Stefan -- Dr. Stefan Vollmar, Dipl.-Phys. Head of IT group Max-Planck-Institut f?r neurologische Forschung Gleuelerstr. 50, 50931 K?ln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 Email: vollmar at nf.mpg.de http://www.nf.mpg.de -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4409 bytes Desc: not available URL: From backus at nlcom.nl Fri Dec 9 05:14:23 2011 From: backus at nlcom.nl (Mayk Backus) Date: Fri, 9 Dec 2011 11:14:23 +0100 Subject: [rt-users] Ipad app , give a ticket In-Reply-To: References: Message-ID: <10AE640E-4D85-4CA6-9A5C-D12295E51D5F@nlcom.nl> Hi, Anyone any clue on this ? Thanx Regards Mayk On Dec 3, 2011, at 10:41 AM, Mayk Backus wrote: > > Hi list, > > Is there an option to give a ticket to someone from inside the ipad app ? It is possible to take a ticket , but i can't seem to find how i can assign (give) a ticket to someone.. Anyone any thoughts . > > Thanx > > Verstuurd vanaf mijn iPad > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston March 5 & 6, 2012 > From elacour at easter-eggs.com Fri Dec 9 05:23:17 2011 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Fri, 9 Dec 2011 11:23:17 +0100 Subject: [rt-users] reply by mail re-opens case? In-Reply-To: References: Message-ID: <20111209102317.GA11412@easter-eggs.com> On Fri, Dec 09, 2011 at 11:02:52AM +0100, Stefan Vollmar wrote: > Hi, > Hi, > quick question: I replied to a mail which had been sent via an RT > queue. The corresponding case was closed but apparently re-opened when > my reply arrived. Is this the expected behaviour? (I would not mind at > all, we just wanted to make sure) > this is the default behaviour that can be easily changed by removing the global "scrip" "On correspond, open ticket with template blank". (Configuration->Global->Scrips) From cdx at kereval.com Fri Dec 9 08:56:39 2011 From: cdx at kereval.com (Constant DAIX) Date: Fri, 09 Dec 2011 14:56:39 +0100 (CET) Subject: [rt-users] Get value of a transaction custom field In-Reply-To: <2f34939c-c903-413e-950f-5465a383946d@ouessant> Message-ID: <69a5551b-97a1-4591-aa1d-e10ee11c5d23@ouessant> Hi everybody, Could someone tell me how to get the value of a transaction custom field ? I tried a lot of functions but I can't get this value. I just can have the name and the description of this custom field, the content, subject, headers of the reply associated to the custom field. Code used : my $Value = 1; my $Transactions = $self->TicketObj->Transactions; my $TCustomFields = $Transactions->First->CustomFields; while (my $TCustomField = $TCustomFields->Next()) { my $nam = $TCustomField->Name; if ($nam eq 'CFName') { $Value = $Transactions->First->FirstCustomFieldValue($nam); } else { $Value = 55; } } $RT::Logger->info( "Value is :" . $Value); --> This always returns ' '. Thanks for your help. Regards, Constant From trs at bestpractical.com Fri Dec 9 09:34:49 2011 From: trs at bestpractical.com (Thomas Sibley) Date: Fri, 09 Dec 2011 09:34:49 -0500 Subject: [rt-users] Full text search In-Reply-To: References: <4EE10272.4050900@bestpractical.com> <4EE13219.9000702@bestpractical.com> <4EE1323F.1060204@bestpractical.com> Message-ID: <4EE21C89.5050207@bestpractical.com> On 12/08/2011 09:09 PM, Dave Pascoe wrote: > My bad. I wasn't expecting that Status=resolved tickets were not going > to be searched. Operator error. I also learned that you can pass > status into SimpleSearch right from the search box. Solves my needs. We just merged some commits to 4.0-trunk that improve the simple search documentation at /Search/Simple.html. You'll see it in the 4.0.5 release. Thomas From ruz at bestpractical.com Fri Dec 9 11:23:36 2011 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Fri, 9 Dec 2011 20:23:36 +0400 Subject: [rt-users] Get value of a transaction custom field In-Reply-To: <69a5551b-97a1-4591-aa1d-e10ee11c5d23@ouessant> References: <2f34939c-c903-413e-950f-5465a383946d@ouessant> <69a5551b-97a1-4591-aa1d-e10ee11c5d23@ouessant> Message-ID: Hi, If you do it in a scrip then sadly custom fields on transactions are set too later for TransactionCreate scrips. Try batch scrips. On Fri, Dec 9, 2011 at 17:56, Constant DAIX wrote: > Hi everybody, > > Could someone tell me how to get the value of a transaction custom field ? > > I tried a lot of functions but I can't get this value. I just can have the name and the description of this custom field, the content, subject, headers of the reply associated to the custom field. > > Code used : > > my $Value = 1; > my $Transactions = $self->TicketObj->Transactions; > my $TCustomFields = $Transactions->First->CustomFields; > while (my $TCustomField = $TCustomFields->Next()) > { > ? ? my $nam = $TCustomField->Name; > ? ? if ($nam eq 'CFName') { > > ? ? ? ? $Value = $Transactions->First->FirstCustomFieldValue($nam); > > ? ? } > ? ? else { > ? ? ? ? $Value = 55; > ? ? } > } > > $RT::Logger->info( "Value is :" . $Value); > > --> This always returns ' '. > > > Thanks for your help. > > Regards, > > Constant > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ?March 5 & 6, 2012 -- Best regards, Ruslan. From lab at pacbell.net Fri Dec 9 12:12:54 2011 From: lab at pacbell.net (20/20 Lab) Date: Fri, 09 Dec 2011 09:12:54 -0800 Subject: [rt-users] Ipad app , give a ticket In-Reply-To: <10AE640E-4D85-4CA6-9A5C-D12295E51D5F@nlcom.nl> References: <10AE640E-4D85-4CA6-9A5C-D12295E51D5F@nlcom.nl> Message-ID: <4EE24196.9020109@pacbell.net> Have you tried emailing the guy about it? The shots I saw of it look almost identical to the mobile rt site, have you checked in the reply section of the tickets? -Matt On 12/09/2011 2:14 AM, Mayk Backus wrote: > Hi, > > Anyone any clue on this ? > > Thanx > > Regards > > Mayk > > > On Dec 3, 2011, at 10:41 AM, Mayk Backus wrote: > >> Hi list, >> >> Is there an option to give a ticket to someone from inside the ipad app ? It is possible to take a ticket , but i can't seem to find how i can assign (give) a ticket to someone.. Anyone any thoughts . >> >> Thanx >> >> Verstuurd vanaf mijn iPad >> -------- >> RT Training Sessions (http://bestpractical.com/services/training.html) >> * Boston March 5& 6, 2012 >> > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston March 5& 6, 2012 > From kenn.crocker at gmail.com Fri Dec 9 14:41:41 2011 From: kenn.crocker at gmail.com (Kenneth Crocker) Date: Fri, 9 Dec 2011 11:41:41 -0800 Subject: [rt-users] ExternalAuth Installed but not working In-Reply-To: References: Message-ID: Ryan, Looks like you're missing a right ) at the end of your filter line. Kenn On Thu, Dec 8, 2011 at 4:41 PM, Ryan Backman wrote: > I'm having a bit of trouble getting ExternalAuth to work. I've scoured > the archives and the net and found many suggestions, but none have made any > changes. > > - I've setup logging to go to a seperate file, but all I get is a Login > Failure message in this file when I try to login: > > [Thu Dec 8 23:38:32 2011] [error]: FAILED LOGIN for rbackman from > xx.xx.xx.xx (/usr/share/request-tracker3.8/lib/RT/Interface/Web.pm:424) > > - I'm seeing correct values in the online configuration view inside RT > indicating that ExternalAuth is loaded as a Plugin and that > ExternalAuthPriority is My_LDAP. > > - I can use the ldapsearch tool with the same variables on the same box > successfully > > Any help is much appreciated. > > Below is my configuration: > > Set( @Plugins, qw(RT::Authen::ExternalAuth) ); > > Set ( $ExternalAuthPriority, [ 'My_LDAP' ] ); > Set ( $ExternalInfoPriority, [ 'My_LDAP' ] ); > > Set($ExternalServiceUsesSSLorTLS, 0); > > Set($AutoCreateNonExternalUsers, 0); > > Set($ExternalSettings, { > 'My_LDAP' => { > 'type' => 'ldap', > 'server' => 'server.domain.edu', > 'user' => 'CN=user,OU=admin...', > 'pass' => 'pass', > 'base' => 'dc=domain,...', > 'filter' => > '(&(objectClass=user)(memberOf=CN=Staff...)', > 'd_filter' => '(userAccountControl=514)', > 'tls' => 0, > 'ssl_version' => 3, > 'net_ldap_args' => [ version => 3 ], > 'group' => 'CN=All Users,...', > 'group_attr' => 'member', > 'attr_match_list' => [ 'Name', > 'EmailAddress' > ], > 'attr_map' => { 'Name' => > 'sAMAccountName', > 'EmailAddress' => > 'mail', > 'ExternalAuthId' > => 'sAMAccountName', > 'Gecos' => > 'sAMAccountName' > } > } > } > ); > > 1; > > > =+=+=+=+=+=+=+=+=+ > Ryan Backman > Programmer / Analyst > George Fox University > 503.554.2576 > =+=+=+=+=+=+=+=+=+ > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Boston ? March 5 & 6, 2012 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.lesinski at gmail.com Fri Dec 9 15:33:17 2011 From: jim.lesinski at gmail.com (Jim Lesinski) Date: Fri, 9 Dec 2011 15:33:17 -0500 Subject: [rt-users] RT 4.0.4 - Single Value Autocomplete and Internet Explorer 8 and 9 In-Reply-To: References: Message-ID: I had determined that the cause of this issue is related to javascript in /opt/rt4/local/html/Elements/EditCustomFieldAutocomplete. There is an additional comma at the end of jQuery.autocomplete call and the browser is expecting another parameter. You could remove the comma but I opted to add a minLength: 1 value to make the autocomplete values pop up faster. (Default is 3 I believe)