[rt-users] Rt-crontool configure to set/move queue of ticket

2015-03-19 Thread a . smith
Hi list, I'm interested in using rt-crontool to manage tickets, specifically I'd like to have unowned tickets automatically moved to another queue after X minutes. The issue I have is that there isn't a default perl module for this in "Actions", can anyone suggest how I can achieve this? If

Re: [rt-users] Improper display of ticket transaction's HTML

2015-03-19 Thread Jeff Blaine
On 3/11/2015 3:56 AM, Christian Loos wrote: > Hi, > > upgrading to a more recent version of RT and installing HTML::Gumbo > gives you tables in transactions (RT supports this since 4.2.6) [1]. > > If you can't upgrade, you can use RT::Extension::PermissiveHTMLMail [2]. > > Chris > > [1] https:/

Re: [rt-users] Rt-crontool configure to set/move queue of ticket

2015-03-19 Thread a . smith
Ok, so I've cobbled together a custom actions module like this: use strict; use warnings; use RT::Queue; use base qw(RT::Action); package RT::Action::Test; my $self; sub Prepare { my $self = shift; return 1; } sub Commit { my $self = shift; my ($status, $msg) = $self->TicketObj->Se

Re: [rt-users] Rt-crontool configure to set/move queue of ticket

2015-03-19 Thread a . smith
Ok, I've robbed the code: my $argument = $self->Argument; unless ( $argument ) { $RT::Logger->error("Argument is mandatory for Test action"); return 0; } So now I can read in --action-arg. For the email on queue change I tried creating a Scrip to do this via the GUI, t

[rt-users] Search Query Builder Issues (Space Encoding?)

2015-03-19 Thread Richard Stevens
Hello, We recently upgrades to RT 4.2.10 / RT-IR-3.2.0 and I'm seeing intermittent issues on search commands involving custom fields with spaces: RTIR/Search/Results.html?Format=%27%3Cb%3E%3Ca+href%3D%22__WebPath__%2FTicket%2FDisplay.html%3Fid%3D__id__%22%3E__id__%3C%2Fa%3E%3C%2Fb%3E%2FTITLE%3A%2

[rt-users] How to get Assets working within in RTIR

2015-03-19 Thread Lisa Tawfall
Has anyone gotten the Assets extension to work within the RTIR interface? i.e. I'm trying to get the 'Add Asset' widget to show up on the ticket display under RTIR. They work fine independently of each other, but I want to be able to do the same sort of asset tagging within RTIR as regular RT. Li

Re: [rt-users] HTML emails from CLI

2015-03-19 Thread Alex Vandiver
On Wed, 18 Mar 2015 10:44:43 + "Eierschmalz, Bernhard" wrote: > Is there any way to create Tickets with HTML email from CLI? rt create -t ticket -ct text/html - Alex

Re: [rt-users] Search Query Builder Issues (Space Encoding?)

2015-03-19 Thread Alex Vandiver
On Thu, 19 Mar 2015 11:20:51 -0400 Richard Stevens wrote: > Hello, > > We recently upgrades to RT 4.2.10 / RT-IR-3.2.0 and I'm seeing intermittent > issues on search commands involving custom fields with spaces: > [snip] The spaces are a red herring. The actual difference is that the working on

Re: [rt-users] Search Query Builder Issues (Space Encoding?)

2015-03-19 Thread Richard Stevens
Thanks Alex, I had thought it was intermittent, but after some more troubleshooting it appears that the "intermittent" is the switch in context between the RT (works) and RTIR (does not) search pages (if searches are started from Search-->Tickets-->New Search) when it identifies the search against

Re: [rt-users] Search Query Builder Issues (Space Encoding?)

2015-03-19 Thread Landon Stewart
On Mar 19, 2015, at 8:20 AM, Richard Stevens wrote: > ... > The end result is: > > [25773] [Thu Mar 19 14:56:10 2015] [error]: Wrong query, expecting a OPERATOR > in 'Queue = 'Incident Reports' AND CF.{Affected >Users}<--here LIKE 'frog'' > at /opt/rt4/sbin/../lib/RT/SQL.pm line 130. > > Has a