Re: [rt-users] RT at a Glance only shows tickets from last 18 hours?

2009-06-10 Thread Graham Ballantyne
On 10-Jun-09, at 00:43 , Emmanuel Lacour wrote: > On Tue, Jun 09, 2009 at 10:57:06AM -0700, Graham Ballantyne wrote: >> Hi all, >> >> I have the global setting for RT at a Glance set to show the All >> New & >> Open tickets saved search. One of my users pointed out that the home >> page is only

[rt-users] Searching for tickets created between hours

2009-06-10 Thread Ben Robson
Hello all... What is the best method of creating a search to show tickets created between 6pm (18:00 hrs) and 9am (09:00 hrs)? Thanks for your help with this. BenR The information contained in this communication is intended solely for the use of the individual

Re: [rt-users] Scrip Help

2009-06-10 Thread Aaron Guise
Thanks Jerrad, I couldn't remember where I had seen this before. I since had a good search and found it on the Wiki. *Regards,* *Aaron Guise 027 212 6638 aa...@guise.net.nz * On Thu, Jun 11, 2009 at 12:59 PM, Jerrad Pierce < jpie...@cambridgeenergyalliance.org> wrote: > This info exists s

Re: [rt-users] Scrip Help

2009-06-10 Thread Jerrad Pierce
This info exists somewhere on the wiki as a user-contributed enhancement. -- Cambridge Energy Alliance: Save money. Save the planet. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Comm

Re: [rt-users] Scrip Help

2009-06-10 Thread Kimberly McKinnis
What if you put in something to pull info from the headers? I have a line in a scrip that determines which support account an email was sent to. It's empty if the ticket was sent through the GUI. my $to = $self->TransactionObj->Attachments->First->GetHeader('To'); $RT::Logger->debug("To email w

[rt-users] Scrip Help

2009-06-10 Thread Aaron Guise
Hi, Is it possible to differentiate via Scrip whether a ticket is created via the RT Gui or an email being sent? I cannot seem to come up with something concrete that works just yet. *Regards,* *Aaron Guise 027 212 6638 aa...@guise.net.nz * ___ http:

Re: [rt-users] Mail and incoming ticket issue

2009-06-10 Thread Kimberly McKinnis
I ran into this when I went behind a VIP too. The easiest fix was to leave the settings alone and put the internal IP in /etc/hosts with the external hostname so it can connect internally. From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@l

[rt-users] Mail and incoming ticket issue

2009-06-10 Thread Greg Evans
Hello, We just moved our RT machine from being on a public interface to being behind a firewall with a public interface. So previously the RT server was located at public IP: xx.xx.xxx.xx and now the RT server is at 172.17.1.2 and the firewall has a public IP of xx.xx.xxx.xx that goes to th

Re: [rt-users] RT could not load a valid user, and RT's configuration does not allow for the creation of a new user for your email

2009-06-10 Thread Kimberly McKinnis
I turned on the permission for everyone to create tickets, so I'm getting an autoresponse and account creation now. However... the auto response template is ignoring the code that is supposed to send them a password. { *RT::User::GenerateRandomNextChar = \&RT::User::_GenerateRandomNextChar; if

[rt-users] Remote Control of Lime Survey

2009-06-10 Thread Ryan Hardester
I added a page with the code I managed to put together to get RT to add a token to a closed survey that runs on an instance of LimeSurvey. I'm sure it is far from the best/most elegant way to handle it, but it got me into the deep end of the kiddie pool ... Hope it can help someone ... h

[rt-users] RT could not load a valid user, and RT's configuration does not allow for the creation of a new user for your email

2009-06-10 Thread Kimberly McKinnis
I had RT 3.4.5 running smoothly until the machine died a horrible disk death. I recovered most everything, but I think I lost a scrip or config somewhere. I have a scrip that auto adds new users to their appropriate group based on the domain in their email. However, RT is no longer auto creating

[rt-users] [Rt-announce] RT 3.8.4 Released

2009-06-10 Thread Kevin Falcone
We are happy to announce that RT 3.8.4 is now available. You can download it from: http://download.bestpractical.com/pub/rt/release/rt-3.8.4.tar.gz http://download.bestpractical.com/pub/rt/release/rt-3.8.4.tar.gz.sig SHA1 sums c786eb78dd6c8374da3bc0dd10414e040d69864f rt-3.8.4.tar.gz 7af1be26513

[rt-users] [Rt-announce] RT 3.6.8 Released

2009-06-10 Thread Kevin Falcone
We are happy to announce that RT 3.6.8 is now available. You can download it from: http://download.bestpractical.com/pub/rt/release/rt-3.6.8.tar.gz http://download.bestpractical.com/pub/rt/release/rt-3.6.8.tar.gz.sig SHA1 sums c7b4fac30b5b91a1c7f64bc05ecf63f40aaec50d rt-3.6.8.tar.gz cb80cca5025

Re: [rt-users] Scrip Question

2009-06-10 Thread Aaron Guise
Found it, $TicketObj->FirstCustomFieldValue('The CF Name'); On Thu, Jun 11, 2009 at 9:59 AM, Aaron Guise wrote: > Hi, > > I want to check if a Custom Field Value is Set to a particular value and if > so don't send autoreply on TicketCreate. > > My Question is how do I select a Custom field Valu

[rt-users] Scrip Question

2009-06-10 Thread Aaron Guise
Hi, I want to check if a Custom Field Value is Set to a particular value and if so don't send autoreply on TicketCreate. My Question is how do I select a Custom field Value within a scrip? *Regards,* *Aaron Guise 027 212 6638 aa...@guise.net.nz * ___

Re: [rt-users] help in creating Scrips

2009-06-10 Thread rmp dmd
Thank you very much Drew. Your link definitely is a big help. The syntax are quite different with the programming applications that I am familiar (very few though). It's very hard modifying it for our specific use. Is there a guide about this? For starters, someone kindly teach me the meaning of

Re: [rt-users] Question on use of Category in a scrip

2009-06-10 Thread Rémi
Hi Ken, here is the code I use to do what you want (quite painful like Jesse says ...) my $CustomFieldObj = RT::CustomField->new($_[0]->CurrentUser); $CustomFieldObj->LoadById($field); my $CFVs = $CustomFieldObj->Values; while ($CFVs and my $value = $CFVs->Next ) { if ($value->Name eq $_[0

Re: [rt-users] Making RT and Altiris play nice

2009-06-10 Thread Jeremy Winder
Thanks, I also found this threat http://www.mail-archive.com/rt-users@lists.bestpractical.com/msg08144.html so I changed my script to use $transaction->Subject(); then I also discovered by reading the log more closely it was the approval ticket that was being matched not the original. So I moved

[rt-users] R: Question on use of Category in a scrip

2009-06-10 Thread Guadagnino Cristiano
Hi Ken, what do you mean by category? Here is part of a scrip I use on our system (RT 3.8.3) that will print (in the log) the CF name, type and validation pattern. See if that helps. my $ticket = $self->TicketObj; my $CustomFields = $ticket->QueueObj->TicketCustomFields(); while (my $CustomFiel

Re: [rt-users] Question on use of Category in a scrip

2009-06-10 Thread Ken Crocker
Remi, HA! you're right. That's a bit convoluted but, what the hey. I "gotta do what I gotta do". This will be helpful in validating CF entries for certain Queues. Thanks. Kenn LBNL On 6/10/2009 8:12 AM, Rémi wrote: Hi Ken, here is the code I use to do what you want (quite painful like J

Re: [rt-users] Making RT and Altiris play nice

2009-06-10 Thread Emmanuel Lacour
On Wed, Jun 10, 2009 at 10:56:08AM -0400, Jeremy Winder wrote: > my $transaction = $self->TransactionObj; add: return unless ( $transaction->Attachments->First ); here > my $subject = $transaction->Attachments->First->GetHeader('Subject'); > if ($subject =~ /Incident \#(\d+) has/) { > # Th

Re: [rt-users] Making RT and Altiris play nice

2009-06-10 Thread Jeremy Winder
I'm attempting to write a scrip to merge incoming tickets based off the Altiris Incident number. I started by following the example here http://wiki.bestpractical.com/view/AutoCloseOnNagiosRecoveryMessages But I'm getting the following error in my logs: [error]: Scrip 16 Commit failed: Can't call

[rt-users] "Can't load a principal" in initial database setup (was RE: How do you "reset" an RT database to "freshly installed"status?)

2009-06-10 Thread Beachey, Kendric
To answer my own question about "resetting" the database...the course of action we settled on was to drop the database and re-run the script called rt-setup-database-3.6. At first this had some timeouts trying to hit LDAP while setting up users, so I removed the settings in RT_SiteConfig.pm that t

[rt-users] Absolute URL in parent/child ticket links

2009-06-10 Thread Woody - Wild Things
Hi all, I have an issue with the links to parent/child tickets in the links section of the ticket view. (RT-3.8.1 gentoo) They are absolute, and not relative. http://rt.mydomain.com:81/Ticket/Display.html?id=7690";> I have users logging on to the same RT from different domains, but all parent

Re: [rt-users] help in creating Scrips

2009-06-10 Thread Drew Barnes
Emmanuel Lacour wrote: > On Tue, Jun 09, 2009 at 10:23:47PM -0400, rmp dmd wrote: > >> Hi, >> >> I would like to create a scrip which reject tickets with "Resolve" on the >> subject of the email request. >> >> We have set-up nagios alerts that send email to RT for creation of tickets. >> We do

[rt-users] Resolv ticket: default Reply or Comment

2009-06-10 Thread James Bromberger
Hello all, I have had a bunch of people working my Queues hitting "resolve" on a ticket, typing stuff thinking they are replying to the requestor, and not noticing that the default is a comment, and I'd like to change the default to "reply to requestor" rather than "comment". I see in html/Tick

Re: [rt-users] [rt-user] Backup scrips?

2009-06-10 Thread Emmanuel Lacour
On Tue, Jun 09, 2009 at 03:03:37PM -0400, GravyFace wrote: > I'm sure I can poke around in the db and find out for myself, but > would like to backup the default config before I start deleting global > scrips -- easier/better way? RT config is first in config files etc/RT_Config.pm and etc/RT_Site

Re: [rt-users] RT at a Glance only shows tickets from last 18 hours?

2009-06-10 Thread Emmanuel Lacour
On Tue, Jun 09, 2009 at 10:57:06AM -0700, Graham Ballantyne wrote: > Hi all, > > I have the global setting for RT at a Glance set to show the All New & > Open tickets saved search. One of my users pointed out that the home > page is only showing tickets updated in the last 18 hours - they have

Re: [rt-users] help in creating Scrips

2009-06-10 Thread Emmanuel Lacour
On Tue, Jun 09, 2009 at 10:23:47PM -0400, rmp dmd wrote: > Hi, > > I would like to create a scrip which reject tickets with "Resolve" on the > subject of the email request. > > We have set-up nagios alerts that send email to RT for creation of tickets. > We do not want tickets to be created when

[rt-users] R: R: R: a couple bugs in RT 3.8.3

2009-06-10 Thread Guadagnino Cristiano
Hi all, I just wanted to let you all know that I resolved my problem (HomePageRefreshInterval not working) by clearing the mason cache! Stupid me for not thinking about this before!! Thank you all for the help offered. Bye Cris -Messaggio originale- Da: Jo Rhett [mailto:jrh...@netconso