Re: [rt-users] Extension to allow queue change on creating child ticket

2012-06-12 Thread Christian Loos
Am 12.06.2012 22:38, schrieb Mike Johnson: > Greetings all, > > I searched for an answer to this, but couldn't come up with anything > relevant. > > Is there an extension out there, or has someone customized their rt > to allow you to pick the queue a child ticket gets created in? So we > don't

Re: [rt-users] Can't add more than one attachment

2012-06-12 Thread Kevin Falcone
On Tue, Jun 12, 2012 at 10:29:13AM -0700, Hossein Rafighi wrote: > I am not certain if this is mis/configuration on my part, but it > seems users can only add one attachment when they are replying to a > ticket using the web interface! Although "Add More Files" button is > there, but when you click

Re: [rt-users] Articles rights

2012-06-12 Thread Kevin Falcone
On Tue, Jun 12, 2012 at 05:59:56PM +0200, Daniel Garcia Mejia wrote: > I have one question about Articles that I have not found searching > by Google. > I want to build a RT system that has different articles (with > differents category) but with different visibility permissions > according to dif

Re: [rt-users] Custom template/scrip with conditional responses

2012-06-12 Thread Kevin Falcone
On Tue, Jun 12, 2012 at 10:43:18AM -0400, Joe Harris wrote: > Is there a way in templates to build one with a conditional response > based on transaction type? (4.0.5) RT's Templates are just Text::Template, you can read more about the syntax at http://search.cpan.org/dist/Text-Template/ You can a

Re: [rt-users] Search Ticket Transaction History in Query Builder?

2012-06-12 Thread Thomas Sibley
> SELECT Tickets.id, Tickets.Created, Tickets.Subject, Tickets.Status, > Queues.Name > FROM Transactions, Tickets, Queues > WHERE > Tickets.Queue=Queues.id > AND Queues.Name="Test Queue 1" > AND Tickets.Status='open' > AND Transactions.ObjectId=Tickets.id > AND Transactions.OldValue REGEXP "stalle

Re: [rt-users] Search Ticket Transaction History in Query Builder?

2012-06-12 Thread Joe Harris
This is not available in the query builder. I asked the same question a while back and basically the query builder works on the tickets taw only and cannot do cross queries. I ended up writing a shell script for my needs which basically was "any update performed by any member of a particular gro

Re: [rt-users] TicketSQL Date parse weird..

2012-06-12 Thread Stuart Browne
> -Original Message- > From: ruslan.zaki...@gmail.com [mailto:ruslan.zaki...@gmail.com] > Sent: Wednesday, 13 June 2012 12:31 AM > Subject: Re: [rt-users] TicketSQL Date parse weird.. > > Hello Stuart, > > I've made a typo in the patch. It should be "ZONE" instead of "GMT". > You can chan

Re: [rt-users] Authentication against LDAP and Authorization against internal db

2012-06-12 Thread Asif Iqbal
On Tue, Jun 12, 2012 at 5:51 PM, Thomas Sibley wrote: > On 06/12/2012 05:33 PM, Asif Iqbal wrote: > > > On Tue, Jun 12, 2012 at 1:57 PM, Ruslan Zakirov wrote: > > > > On Tue, Jun 12, 2012 at 6:35 PM, Asif Iqbal wrote: > > > > > There is no way to control the Authorization part locally? > >

Re: [rt-users] Authentication against LDAP and Authorization against internal db

2012-06-12 Thread Thomas Sibley
On 06/12/2012 05:33 PM, Asif Iqbal wrote: > > On Tue, Jun 12, 2012 at 1:57 PM, Ruslan Zakirov wrote: > > > On Tue, Jun 12, 2012 at 6:35 PM, Asif Iqbal wrote: > > > > There is no way to control the Authorization part locally? > > > > Not out of the box. Patch external auth module and ad

Re: [rt-users] Callback to redirect page in Create.html

2012-06-12 Thread Jim Lesinski
And here is what I ended up figuring out... Maybe that will even help you Paul so you don't have to have a local Create.html <%init> my $ARGSRef = $ARGS{'ARGSRef'}; my $QueueObj = new RT::Queue($session{'CurrentUser'}); $QueueObj->Load($ARGSRef->{'Queue'}); if($QueueObj->Name eq 'WhateverQueue'

[rt-users] Search Ticket Transaction History in Query Builder?

2012-06-12 Thread Brian Schrock
All, The issues are: 1) How do I search transaction history using the query builder? 2) How do I convert an SQL statement like the one lower down into something I can use in a custom report? People here in my company have asked me if they can get a report on the number of tickets w

[rt-users] R: Extension to allow queue change on creating child ticket

2012-06-12 Thread Scotto Alberto
If I understand well, then you didn't search very well: this extension is listed in bestpractical's website! http://bestpractical.com/rt/extensions.html http://search.cpan.org/dist/RT-Extension-SpawnLinkedTicketInQueue/lib/RT/Extension/SpawnLinkedTicketInQueue.pm BTW, there is something I don't

[rt-users] Extension to allow queue change on creating child ticket

2012-06-12 Thread Mike Johnson
Greetings all, I searched for an answer to this, but couldn't come up with anything relevant. Is there an extension out there, or has someone customized their rt to allow you to pick the queue a child ticket gets created in? So we don't have to do a multi-step process to have children tickets on

[rt-users] Slightly off-topic

2012-06-12 Thread Paul Tomblin
I have a need to access information in another database simultaneously to the , so I cloned RT::Handle.pm into my own RTx::FooBar::Handle that access the other database. Now I'm testing this on my Linux box and everything is running fine, but I copied it over to my MacBook Pro in order to demo it

[rt-users] R: Autocomplete feature for unprivileged users (AllowUserAutocompleteForUnprivileged?)

2012-06-12 Thread Scotto Alberto
I DID IT Set($SelfServiceRegex, qr!^(?:/+(SelfService|Helpers/Autocomplete)/)!x ); I'm not a perl regex expert at all, but it works! Or so it seems! I'm afraid it's too easy to be correct, so, please, tell me if it's fine. Thank you so much!!! Da: r

[rt-users] RT 3.8.0 DB migrate to 4.0.5 - Errors Please help!

2012-06-12 Thread FrankOh
OK i've searched all over the Internet and I can't seem to fix the problem. Currently in production we have RHEL (kernel 2.6.18-238.9.1.el5) with RT3.8.0 installed on mySQL 5.0.77. We want to move RT off of this physical box and put it on VM. At the same time upgrade to the latest RT 4.0.5. What

Re: [rt-users] Callback to redirect page in Create.html

2012-06-12 Thread Jim Lesinski
I see the line: my $Queue = $ARGS{Queue}; but honestly I can't seem to figure out how to get it to work in the Init file. Could you show a simple example of it's use? On Tue, Jun 12, 2012 at 11:36 AM, Thomas Sibley wrote: > On 06/12/2012 11:27 AM, Jim Lesinski wrote: > > I had thought about doi

Re: [rt-users] Authentication against LDAP and Authorization against internal db

2012-06-12 Thread Ruslan Zakirov
On Tue, Jun 12, 2012 at 6:35 PM, Asif Iqbal wrote: > On Tue, Jun 12, 2012 at 5:51 AM, Ruslan Zakirov > wrote: >> >> On Tue, Jun 12, 2012 at 5:38 AM, Asif Iqbal wrote: >> > I am using external authentication against our corporate AD server >> > successfully, using the  RT::Authen::ExternalAuth. >

Re: [rt-users] Callbacks not working

2012-06-12 Thread Ruslan Zakirov
Have you cleaned the mason cache? On Tue, Jun 12, 2012 at 6:45 PM, Mark Collins wrote: > Ruslan, > > Thanks for the quick response - the file is in the correct path (that was a > cut & paste error) with the correct name: > > loki:/opt/rt/local/html/Callbacks/Westgate/Tickets/Elements/ShowHistory

[rt-users] Can't add more than one attachment

2012-06-12 Thread Hossein Rafighi
Hi, I am not certain if this is mis/configuration on my part, but it seems users can only add one attachment when they are replying to a ticket using the web interface! Although "Add More Files" button is there, but when you click on it it submits a ticket rather than allowing you to add more

[rt-users] Articles rights

2012-06-12 Thread Daniel Garcia Mejia
Hi I have one question about Articles that I have not found searching by Google. I want to build a RT system that has different articles (with differents category) but with different visibility permissions according to differents user groups. It is possible? I only see one permission 'ShowA

Re: [rt-users] Callback to redirect page in Create.html

2012-06-12 Thread Thomas Sibley
On 06/12/2012 11:27 AM, Jim Lesinski wrote: > I had thought about doing that but it seemed like there would be some > way to access the queue from the ARGSRef. It's good to know that is an > option. Of course you can access the queue via the values in $ARGSRef. Look at how the Ticket/Create.html

Re: [rt-users] Callback to redirect page in Create.html

2012-06-12 Thread Jim Lesinski
I had thought about doing that but it seemed like there would be some way to access the queue from the ARGSRef. It's good to know that is an option. How are you handling custom field layout in your CreateNew.html then? Ideally I would like to modify the layout of some custom fields or maybe put th

Re: [rt-users] SeeGroupDashboard - trying to let group A see group B's dashboards

2012-06-12 Thread Ruslan Zakirov
Hi, Your steps are correct from ACLs point of view and in theory should work. However, I totally believe that it may fail to work. I didn't look into this part of the code for a while and I may be wrong here. Dashboards inherit privacy and ACL concepts from saved searches that were in the system

Re: [rt-users] Callbacks not working

2012-06-12 Thread Mark Collins
Ruslan, Thanks for the quick response - the file is in the correct path (that was a cut & paste error) with the correct name: loki:/opt/rt/local/html/Callbacks/Westgate/Tickets/Elements/ShowHistory # ls SkipTransaction When I look at the ticket history, all the content is still there, even if I

[rt-users] Custom template/scrip with conditional responses

2012-06-12 Thread Joe Harris
Is there a way in templates to build one with a conditional response based on transaction type? (4.0.5) Example: I have a template for owner change which works well. On owner change notify of change adds the new owner in the subject like so: Subject: Owner change: {$Ticket->OwnerObj->Name}: {$Ti

Re: [rt-users] Callbacks not working

2012-06-12 Thread Ruslan Zakirov
On Tue, Jun 12, 2012 at 6:29 PM, Mark Collins wrote: > Hi all, > > I'm trying to get a callback working that hides the system updates in a > tickets history, but nothing is happening. > > I've placed the callback in > /opt/rt/local/html/Callbacks/Westgate/Tickets/Elements (it's call > ShowHisto

[rt-users] R: R: ModifySelf RT-4.0.5

2012-06-12 Thread Gibilisco Davide
>> I wrote the following request a few days ago. >> Does anyone have any suggestions? >> >> *Da:*rt-users-boun...@lists.bestpractical.com >> [mailto:rt-users-boun...@lists.bestpractical.com] *Per conto di >> *Gibilisco Davide >> *Inviato:* lunedì 28 maggio 2012 17:31 >> *A:* rt-users@lists.bestpr

Re: [rt-users] Authentication against LDAP and Authorization against internal db

2012-06-12 Thread Asif Iqbal
On Tue, Jun 12, 2012 at 5:51 AM, Ruslan Zakirov wrote: > On Tue, Jun 12, 2012 at 5:38 AM, Asif Iqbal wrote: > > I am using external authentication against our corporate AD server > > successfully, using the RT::Authen::ExternalAuth. > > > > But I like the authorization done against internal db f

Re: [rt-users] TicketSQL Date parse weird..

2012-06-12 Thread Ruslan Zakirov
Hello Stuart, I've made a typo in the patch. It should be "ZONE" instead of "GMT". You can change code by hands after patching, it's close to line 208 in lib/RT/Date.pm. Also, make sure ParseDate module is the latest from the CPAN. On Fri, Jun 8, 2012 at 11:12 AM, Stuart Browne wrote: >> > >>

[rt-users] Callbacks not working

2012-06-12 Thread Mark Collins
Hi all, I'm trying to get a callback working that hides the system updates in a tickets history, but nothing is happening. I've placed the callback in /opt/rt/local/html/Callbacks/Westgate/Tickets/Elements (it's call ShowHistory), and the callback code just isn't running. The callback itself i

Re: [rt-users] Search results showing a bunch of HTML

2012-06-12 Thread Thomas Sibley
On 06/12/2012 10:21 AM, Jeff Blaine wrote: > On 6/11/2012 5:44 PM, Thomas Sibley wrote: >> On 06/11/2012 05:11 PM, Jeff Blaine wrote: >>> I've not seen this reported. Any ideas? >>> >>> Performing a search is displaying (showing, not rendering) a bunch >>> of HTML *after the search results* in RT 3

Re: [rt-users] [SLA] Custom (and very imperfect) solution for parking stalled tickets

2012-06-12 Thread Ruslan Zakirov
On Mon, Jun 11, 2012 at 10:45 AM, Robert Wysocki wrote: > Dnia 2012-06-09, sob o godzinie 22:50 +0400, Ruslan Zakirov pisze: >> >> >> On Sat, Jun 9, 2012 at 10:17 PM, Scotto Alberto >> wrote: >>         Much better, following KISS rule: we could simply use hidden >>         CFs to store temporary

Re: [rt-users] Search results showing a bunch of HTML

2012-06-12 Thread Jeff Blaine
On 6/11/2012 5:44 PM, Thomas Sibley wrote: On 06/11/2012 05:11 PM, Jeff Blaine wrote: I've not seen this reported. Any ideas? Performing a search is displaying (showing, not rendering) a bunch of HTML *after the search results* in RT 3.8.12 and RT 3.8.13 (those are the two I know of at least).

Re: [rt-users] R: ModifySelf RT-4.0.5

2012-06-12 Thread Thomas Sibley
On 06/12/2012 07:56 AM, Gibilisco Davide wrote: > I wrote the following request a few days ago. > Does anyone have any suggestions? > > *Da:*rt-users-boun...@lists.bestpractical.com > [mailto:rt-users-boun...@lists.bestpractical.com] *Per conto di > *Gibilisco Davide > *Inviato:* lunedì 28 maggio

[rt-users] R: ModifySelf RT-4.0.5

2012-06-12 Thread Gibilisco Davide
I wrote the following request a few days ago. Does anyone have any suggestions? Da: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] Per conto di Gibilisco Davide Inviato: lunedì 28 maggio 2012 17:31 A: rt-users@lists.bestpractical.com Oggetto: [rt-use

Re: [rt-users] Authentication against LDAP and Authorization against internal db

2012-06-12 Thread Ruslan Zakirov
On Tue, Jun 12, 2012 at 5:38 AM, Asif Iqbal wrote: > I am using external authentication against our corporate AD server > successfully, using the  RT::Authen::ExternalAuth. > > But I like the authorization done against internal db for user account. > > Just because a user has a valid AD credential

Re: [rt-users] Callback to redirect page in Create.html

2012-06-12 Thread Renney, Paul
Jim, I did it the following way in RT 4.0.5: Copied share/html/Ticket/Create.html into the local/html/Ticket directory, changed the Init callback line in Create.html to make: $m->callback( CallbackName => "Init", ARGSRef => \%ARGS, QueueObj => QueueObj ); Copied original Create.html into local