[rt-users] Custom fields in transaction

2016-06-30 Thread Nilesh
rns empty even though the value is set in form submission. All the stuff I found on Google are about custom fields in tickets, seems nobody uses transaction custom fields? I'm using RT 4.4.0. -- Nilesh - RT 4.4 and RTIR Training Sessions https://bestpractical.com/training * Los Angeles - September, 2016

Re: [rt-users] Custom fields in transaction

2016-07-01 Thread Nilesh
t;transaction batch"); RT::Logger->info("Field Value: " . $self->TransactionObj- >FirstCustomFieldValue('Product')); } -- Nilesh On 01-Jul-2016 10:52 pm, "Jim Brandt" wrote: On 6/30/16 11:41 PM, Nilesh wrote: > Hi, > > I'm trying to

Re: [rt-users] Custom fields in transaction

2016-07-05 Thread Nilesh
The use case is simple, I want to move tickets to different queues based on a custom field and this should happen when the agent is replying. So transaction is the best place to introduce such a field. -- Nilesh On Tue, 2016-07-05 at 20:00 +0530, aniket tripathy wrote: > Hi Nilesh, >

Re: [rt-users] Custom fields in transaction

2016-07-07 Thread Nilesh
Batch and > save the scrip. > > > On 7/1/16 10:29 PM, Nilesh wrote: > >> Can you provide some example? >> On the wiki I saw some scrip which was testing the return value of >> TransactionBatch method, but now after doing that I don't see the log. >> &g

[rt-users] Searching ticket subjects

2016-07-11 Thread Nilesh
Hello, I have installed RT and to quite an extent been able to understand and tune it to my needs. But I have a problem: many times multiple people are involved in a ticket and they come as CC in the mail. I have installed one extension which extracts CC/AdminCC from the mail and adds them to the

Re: [rt-users] Searching ticket subjects

2016-07-12 Thread Nilesh
ets created for the same subject by A and B. On Tue, Jul 12, 2016 at 6:47 PM, Kenneth Marshall wrote: > On Tue, Jul 12, 2016 at 08:58:07AM +0530, Nilesh wrote: > > Hello, > > > > I have installed RT and to quite an extent been able to understand and > tune > > it

Re: [rt-users] Searching ticket subjects

2016-07-12 Thread Nilesh
On Tue, Jul 12, 2016 at 6:58 PM, Kenneth Marshall wrote: > On Tue, Jul 12, 2016 at 06:54:09PM +0530, Nilesh wrote: > > I don't think that's going to help me. > > Let me give you a scenario: > > > > Person A sends a mail to my queue with B and C in CC. RT

Re: [rt-users] Searching ticket subjects

2016-07-12 Thread Nilesh
On Tue, Jul 12, 2016 at 7:02 PM, Nilesh wrote: > On Tue, Jul 12, 2016 at 6:58 PM, Kenneth Marshall wrote: > >> On Tue, Jul 12, 2016 at 06:54:09PM +0530, Nilesh wrote: >> > I don't think that's going to help me. >> > Let me give you a scenario: >> &

Re: [rt-users] Searching ticket subjects

2016-07-12 Thread Nilesh
On Tue, 2016-07-12 at 08:40 -0500, Kenneth Marshall wrote: > On Tue, Jul 12, 2016 at 07:06:41PM +0530, Nilesh wrote: > > > > On Tue, Jul 12, 2016 at 7:02 PM, Nilesh wrote: > > > > > > > > On Tue, Jul 12, 2016 at 6:58 PM, Kenneth Marshall wrote: > >

Re: [rt-users] Searching ticket subjects

2016-07-13 Thread Nilesh
On Wed, Jul 13, 2016 at 12:03 AM, Kenneth Marshall wrote: > On Tue, Jul 12, 2016 at 11:06:44PM +0530, Nilesh wrote: > > ... > > > > > Does the default RT strip that off? Because I'm not seeing in one > recent > > > > > duplicate created in the manne

Re: [rt-users] [rt-announce] RT Wiki Move Complete

2016-07-14 Thread Nilesh
This is great news.  Please enable URL rewriting so that people can access rt- wiki.bestpractical.com/FOO and view the wiki page. Searching isn't not that user friendly especially if you know the topic name. -- Nilesh On Thu, 2016-07-14 at 10:14 -0400, Jim Brandt wrote: > Hello

Re: [rt-users] Please help with RT::Authen::ExternalAuth with nested LDAP/AD groups

2016-07-15 Thread Nilesh
ExternalAuth/lib/RT/Authen/ExternalAuth.pm:696) > [28280] [Thu Jul 14 19:14:15 2016] [debug]: Password Validation Check > Result:  0 (/opt/rt4/local/plugins/RT-Authen- > ExternalAuth/lib/RT/Authen/ExternalAuth.pm:521) > [28280] [Thu Jul 14 19:14:15 2016] [debug]: Autohandler called E

[rt-users] SLA confusion

2016-07-15 Thread Nilesh
{ Start => '13:30', End => '14:00' }, { Start => '17:00', End => '17:15' } ] } }) ); - Now, there is a ticket which was created on 8th July with no SLA. Now I set it's SLA on 16th July. The system assigns it a due date of 27th July. Which is definitely not 5 working days starting 8th neither it is 5 working days starting 16th. Am I doing something wrong??? -- Nilesh - RT 4.4 and RTIR Training Sessions https://bestpractical.com/training * Los Angeles - September, 2016

Re: [rt-users] SLA confusion

2016-07-15 Thread Nilesh
On Sat, 2016-07-16 at 09:17 +0530, Nilesh wrote: > Hello all, > > I have some confusion regarding SLA configuration. My SLA config is like this: > > -- > -- > Set(%ServiceAgreements, ( >

Re: [rt-users] SLA confusion

2016-07-15 Thread Nilesh
On Sat, 2016-07-16 at 06:59 +0200, René Seindal wrote: > You have the misspelling  > SerivceBusinessHours > in there. Fixed that & restarted the processes. Still same behaviour observed. Ticket with SLA of 3 days gets assigned a due date of 5th August! :-S - RT 4.4 and RTIR Training Sessio

Re: [rt-users] SLA confusion

2016-07-16 Thread Nilesh
On Sat, 2016-07-16 at 10:35 +0530, Nilesh wrote: > On Sat, 2016-07-16 at 06:59 +0200, René Seindal wrote: > > > > You have the misspelling  > > SerivceBusinessHours > > in there. > Fixed that & restarted the processes. Still same behaviour observed. Ticket >

Re: [rt-users] SLA confusion

2016-07-17 Thread Nilesh
On Sat, Jul 16, 2016 at 11:12 PM, Nilesh wrote: > On Sat, 2016-07-16 at 10:35 +0530, Nilesh wrote: > > On Sat, 2016-07-16 at 06:59 +0200, René Seindal wrote: > > > > > > You have the misspelling > > > SerivceBusinessHours > > > in there. > &g

Re: [rt-users] FastCGI: comm with server "/opt/rt4/sbin/rt-server.fcgi" aborted: idle timeout (300 sec)

2016-09-08 Thread Nilesh
using the revised perlbrew directory,  > and a 'make install' (Backed up the original directory.  Copied over  > the old RT_SiteConfig.pm over to the new install directory.  Checked  > permissions: root:www-data. > 9.  Problem is that I am still get the same errors

Re: [rt-users] FastCGI: comm with server "/opt/rt4/sbin/rt-server.fcgi" aborted: idle timeout (300 sec)

2016-09-08 Thread Nilesh
I was asking about the Perl errors. What do you see on the console or in RT's logs (enable debug logging in RT_SiteConfig) when you run rt-server.fcgi directly? -- Nilesh On Thu, 2016-09-08 at 13:57 -0400, Pavneet Arora wrote: > Observed behaviour is that the browser request times out. &

Re: [rt-users] FastCGI: comm with server "/opt/rt4/sbin/rt-server.fcgi" aborted: idle timeout (300 sec)

2016-09-08 Thread Nilesh
to a separate file. Turn on the stack trace logging too so you can see where it's breaking. -- Nilesh On 08-Sep-2016 11:58 PM, "Pavneet Arora" wrote: > Simple question. I have tried modifying RT_SiteConfig with the > following options individually, but don't see anyt

Re: [rt-users] FastCGI: comm with server "/opt/rt4/sbin/rt-server.fcgi" aborted: idle timeout (300 sec)

2016-09-08 Thread Nilesh
It seems the configuration you've done is being ignored? This shouldn't happen. Are you sure Apache has access to the directory of rt installation completely since you seem to run it from /home? -- Nilesh On 09-Sep-2016 1:15 AM, "Pavneet Arora" wrote: > Actually logging

Re: [rt-users] Postgresql 4.4.1 slow queries?

2016-09-27 Thread Nilesh
ut this, and I’m not an expert on > postgresql, but guess that this could have something to do with RT:s > “($UseSQLForACLChecks, 1);” or modperl via Apache or simply some index in > postgres? >   > Appreciate any feedback :-) > > Regards, Joel >   > - > RT 4.4 and R

Re: [rt-users] Postgresql 4.4.1 slow queries?

2016-09-28 Thread Nilesh
FROM Users main CROSS JOIN AC... > > I have looked for more queries that takes time and its always this query > that generates the slow behavior, but seemingly the query itself seems fine > "users" exists in db, but then again obviously postgres has issues with > something here

[rt-users] Customizing with Overlays

2016-10-02 Thread Nilesh
Hello, I came across this page: https://rt-wiki.bestpractical.com/wiki/CustomizingWithOverlays Can I put my Overlay files in local/lib? Do I have to maintain the same directory structure? Let's say I have to customize RT::Action::SendEmail, so my Overlay should be in local/lib/RT/Action/SendEmail

Re: [rt-users] Customizing with Overlays

2016-10-02 Thread Nilesh
On 03-Oct-2016 9:17 AM, "Alex Vandiver" wrote: > > On Mon, 3 Oct 2016 08:58:25 +0530 > Nilesh wrote: > > Can I put my Overlay files in local/lib? > > Yup; that's what's generally suggested. > > > Do I have to maintain the same directory structur

Re: [rt-users] "On Reply" set ticket status to "resolved"

2016-10-04 Thread Nilesh
You can write a simple scrip with a pre commit action to change the TicketObj status. See the api docs. -- Nilesh On 04-Oct-2016 5:22 PM, "David Schmidt" wrote: > Hello list, > > I would like to set a tickets status to "resolved" on reply. The wiki > mentions a

Re: [rt-users] "On Reply" set ticket status to "resolved"

2016-10-05 Thread Nilesh
you need to get into the code to see what's going on. -- Nilesh On 05-Oct-2016 6:28 PM, "David Schmidt" wrote: > Hello Nilesh and thank you for your reply. > > Your advice would have been helpful if I hadnt looked for documentation > before. Which I did. > I am

Re: [rt-users] What does attaching a message do?

2016-10-31 Thread Nilesh
RTIR training sessions, and a new workshop day! https://bestpractical.com/training > * Los Angeles - Q1 2017 Message attachment means the content of the transaction is attached in the mail you get. -- Nilesh - RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Los Angeles - Q1 2017

Re: [rt-users] Gmail website replies to tickets, Outlook creates new ones

2016-10-31 Thread Nilesh
27;t parsed by RT, so a custom code is needed for that. I got it from someone on this list and have implemented as a local customization. -- Nilesh - RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training * Los Angeles - Q1 2017

Re: [rt-users] Gmail website replies to tickets, Outlook creates new ones

2016-10-31 Thread Nilesh
I don't think Re matters. As long as subject tag is intact it should get parsed correctly. -- Nilesh On 31-Oct-2016 7:35 PM, "Alex Hall" wrote: > I looked more closely at the difference. Outlook is stripping off the "Re: > " part of the message subject in the re

Re: [rt-users] Gmail website replies to tickets, Outlook creates new ones

2016-10-31 Thread Nilesh
. https://gist.github.com/nileshgr/637cdacd1aa7710343aed e20cabb66a6 Just save that file in local/lib/RT/Interface/Email_Local.pm and restart RT. -- Nilesh On Mon, 2016-10-31 at 19:36 +0530, Nilesh wrote: > I don't think Re matters. As long as subject tag is intact it should get

Re: [rt-users] Gmail website replies to tickets, Outlook creates new ones

2016-10-31 Thread Nilesh
Looks like I typed something wrong and that link leads to a 404. The correct link is: https://gist.github.com/nileshgr/637cdacd1aa7710343aede20cabb66a6 On Mon, Oct 31, 2016 at 7:46 PM, Nilesh wrote: > You should inspect the headers in both cases. If they contain in-reply-to, > you

Re: [rt-users] Overriding files in lib/RT?

2016-10-31 Thread Nilesh
ality. -- Nilesh On 31-Oct-2016 9:45 PM, "Matt Zagrabelny" wrote: > Hi Alex, > > On Mon, Oct 31, 2016 at 11:09 AM, Alex Hall wrote: > > Hey list, > > How would I override /opt/rt4/lib/RT/Interface/Email.pm? > > Overlays. > > https://docs.bestpractical

Re: [rt-users] Gmail website replies to tickets, Outlook creates new ones

2016-11-01 Thread Nilesh
Please share the code? I think you may be missing a chomp after fetching your subject header in your variable. This took a good amount of my time debugging why my thing wasn't working. -- Nilesh On 01-Nov-2016 10:20 PM, "Alex Hall" wrote: > Hey list, > I've been messi