Re: [rt-users] Don't close tickets (or re-open) if a specific custom field is not a specific value

2012-10-25 Thread Christian Loos
Am 24.10.2012 16:15, schrieb Holger Haase: > Hi all, > > I searched (Google/wiki/nabble/...) and tried for several hours now. Nothing > worked. > I have to make sure tha a ticket can only be closed if a custom field (or > maybe transaction custom field) has a specific value. > I have more than o

Re: [rt-users] Don't close tickets (or re-open) if a specific custom field is not a specific value

2012-10-25 Thread Jack Zabolotnyi
Or you can use html callbacks to dismiss changes before sending them to scrips - just after user click "Submit" - you can check CF value and in case of error trigger Abort("Error message"). This will show notification to client that his changes were discarded. On Wed, Oct 24, 2012 at 4:15 PM, Holg

Re: [rt-users] Don't close tickets (or re-open) if a specific custom field is not a specific value

2012-10-25 Thread Loos, Christian
Hi Holger, your Custom action preparation code must look like this: my @queue_list = qw(second_level); my $ticket = $self->TicketObj; my $queue = $ticket->QueueObj; my $queue_name = $queue->Name; return 0 unless grep /$queue_name/, @queue_list ; return 0 if $ticket->FirstCustomFieldValue('AssetTa

Re: [rt-users] Don't close tickets (or re-open) if a specific custom field is not a specific value

2012-10-25 Thread Holger Haase
Great, this did the trick! Many thanks to Christian Loos! Best regards, Holger -Ursprüngliche Nachricht- Von: Loos, Christian [mailto:cl...@netcologne.de] Gesendet: Donnerstag, 25. Oktober 2012 12:01 An: Holger Haase Cc: rt-users@lists.bestpractical.com Betreff: AW: Don't close tickets

[rt-users] RES: Strange CLI Date Output

2012-10-25 Thread Diaulas Castro
Folow: root@rt:~# locale LANG=pt_BR.ISO-88591 LANGUAGE= LC_CTYPE="pt_BR.ISO-88591" LC_NUMERIC="pt_BR.ISO-88591" LC_TIME="pt_BR.ISO-88591" LC_COLLATE="pt_BR.ISO-88591" LC_MONETARY="pt_BR.ISO-88591" LC_MESSAGES="pt_BR.ISO-88591" LC_PAPER="pt_BR.ISO-88591" LC_NAME="pt_BR.ISO-88591" LC_ADDRESS="pt_BR.

Re: [rt-users] Error When Upgrade-Database from 3.8.1 to 3.8.2

2012-10-25 Thread Rutgers Marine
Hi I ran the upgrade the first time as you indicated just let it run from 3.2.2 to 4.0.7, and that failed as well. So I went back through the docs and the was a step that stated to stop after 3.8.7. Cynthia Roe CRoe Photography (732) 882-6079 http://croephotography.com On Oct 24, 2012, at

Re: [rt-users] Error When Upgrade-Database from 3.8.1 to 3.8.2

2012-10-25 Thread Kevin Falcone
On Thu, Oct 25, 2012 at 10:03:51AM -0400, Rutgers Marine wrote: > I ran the upgrade the first time as you indicated just let it run from > 3.2.2 to 4.0.7, and that failed as well. So I went back through the > docs and the was a step that stated to stop after 3.8.7. How did it fail? 3.8.2 isn't aft

[rt-users] Delete articles via CLI?

2012-10-25 Thread Roy McMorran
Hi all, Is there a way to delete articles (i.e. RTFM) via the command line? I couldn't find a way to do it with rt-shredder. I'm at 4.0.7 (just upgraded from 3.8.8 + RTFM). Thanks. -- Roy McMorran Systems Administrator MDI Biological Laboratory mcmor...@mdibl.org Final RT trainin

[rt-users] RES: Strange CLI Date Output

2012-10-25 Thread Diaulas Castro
Another item i checked, Made sql search on database and the fields are equal, justo on CLI I got parsedate error, on web interface all tickets display ok. -Mensagem original- De: Diaulas Castro Enviada em: quinta-feira, 25 de outubro de 2012 12:01 Para: rt-users@lists.bestpractic

[rt-users] /bin/mail instead of sendmail?

2012-10-25 Thread Edsall, William (WJ)
Hello list, Is it possible to use /bin/mail instead of sendmail? I already have a working authentication going with our exchange server using mail.rc, would prefer to just use /bin/mail for outgoing mail. Not having luck getting sendmail to route through the exchange server - everything bounces

Re: [rt-users] RES: Strange CLI Date Output

2012-10-25 Thread Kevin Falcone
On Thu, Oct 25, 2012 at 04:12:27PM +, Diaulas Castro wrote: > Another item i checked, > Made sql search on database and the fields are equal, justo on CLI I got > parsedate error, on web interface all tickets display ok. There's unlikely to be anything wrong in the database. > root@rt:~#

Re: [rt-users] Spreadsheet-esq Web Input

2012-10-25 Thread Lake, Seth M (Vangent)
I just realized that there is a "table" button in the WYSIWYG. was thinking I could set a default ticket description as a table and do it that way. but it looks like the format isn't maintained (the email is plain text with each table cell as it's own line or mashed all on one line for history

[rt-users] [rt-announce] Security vulnerabilities in RT

2012-10-25 Thread Alex Vandiver
We have determined a number of security vulnerabilities which affect both RT 3.8.x and RT 4.0.x. We are releasing RT versions 3.8.15 and 4.0.8, and RTFM version 2.4.5, to resolve these vulnerabilities, as well as patches which apply atop all released versions of 3.8 and 4.0. The vulnerabilities

[rt-users] [rt-announce] RT 4.0.8 Released

2012-10-25 Thread Alex Vandiver
RT 4.0.8 contains important security fixes, in addition to bugfixes. http://download.bestpractical.com/pub/rt/release/rt-4.0.8.tar.gz http://download.bestpractical.com/pub/rt/release/rt-4.0.8.tar.gz.sig SHA1 sums 7be074e86929c69b4f17d10503646ff070f7fa3b rt-4.0.8.tar.gz 7ee1ecf25a99472d0d75665ed

[rt-users] [rt-announce] RT 3.8.15 Released

2012-10-25 Thread Alex Vandiver
This release of RT contains important security updates. You can download it from: http://download.bestpractical.com/pub/rt/release/rt-3.8.15.tar.gz http://download.bestpractical.com/pub/rt/release/rt-3.8.15.tar.gz.sig SHA1 sums abb7b0d52cb9843e3154aeff2490211ddcdc59b8 rt-3.8.15.tar.gz 9401cdd42

[rt-users] [rt-announce] RTFM 2.4.5 Released

2012-10-25 Thread Alex Vandiver
RTFM 2.4.5 contains important security fixes. http://download.bestpractical.com/pub/rt/release/rtfm-2.4.5.tar.gz http://download.bestpractical.com/pub/rt/release/rtfm-2.4.5.tar.gz.sig SHA1 sums 96c9800bf1eee94a5dd9978400a7cba8d9594b29 RTFM-2.4.5.tar.gz 1f136d9f047164d72c1cf3e0bd64839804fc49ae

Re: [rt-users] Comparing field values in ticket sql

2012-10-25 Thread Chris Herrmann
>TicketSQL does not support this. >You'll need to use the perl API to further limit. Thanks Kevin, are there any examples you can point me at? I'm not a perl programmer, but have successfully hacked together bits & pieces in the past by working with other related examples & doco. Also when you sa

Re: [rt-users] Apache taking up too much CPU

2012-10-25 Thread Bhowmik Shah
Hi Kevin, >> On Thu, Oct 04, 2012 at 07:33:44PM +1000, Bhowmik Shah wrote: >> Yep, debugging for both RT and Apache is enabled, the logs don't throw * up* anything out of the >> ordinary. I've got Perl 5.14.2 installed. >> I'm currently playing with strace and the Apache process to see if i can sp