Re: [rt-users] Scrip/template "Notify parent ticket owner on resolve"?

2012-06-05 Thread Kenneth Crocker
Jeff, OK. Here's what you do: Create a Template called "Notify Parents on Resolve". The Template should have code similar to this (loop thru all parents and add the Emailaddress of the ticket owner to the "To:" line in the Template) at the top (test the code to correct my mistakes): To: {my $pa

Re: [rt-users] Scrip/template "Notify parent ticket owner on resolve"?

2012-06-05 Thread Jeff Blaine
On 6/5/2012 5:29 PM, Thomas Sibley wrote: Thanks Thomas Think about it this way. Make your Condition custom "On Resolve + Has Parents" Right. Then use a standard Notify* action and set the Template on the scrip. The goal is: On resolve of a child ticket, notify *each parent tickets' owne

Re: [rt-users] Scrip/template "Notify parent ticket owner on resolve"?

2012-06-05 Thread Thomas Sibley
On 06/05/2012 05:20 PM, Jeff Blaine wrote: > That's a good start to work with. > > Any leads on the proper way to go about sending mail via a template > from inside a scrip would be welcome. This is what scrips are meant to do at their core. ;) > Do I just subclass Action::SendEmail, build my me

Re: [rt-users] Scrip/template "Notify parent ticket owner on resolve"?

2012-06-05 Thread Jeff Blaine
That's a good start to work with. Any leads on the proper way to go about sending mail via a template from inside a scrip would be welcome. Do I just subclass Action::SendEmail, build my message, and commit() it? I don't see a way to reference/use a template for that. Condition: On Resolve

Re: [rt-users] emails on ticket updates not being sent in 4.0.6

2012-06-05 Thread Fisher, Michael
On Jun 4, 2012, at 15:46 , Thomas Sibley wrote: On 06/01/2012 07:02 PM, Fisher, Michael wrote: I believe that this affected me too. I performed the upgrade from RT 4.0.5 to 4.0.6 yesterday and email stopped. The workaround I found was overriding the mail command in my RT_SiteConfig.pm, as mention

[rt-users] Populate custom fields.

2012-06-05 Thread mgiammarco
Hello, I do not understand howto populate custom fields with "enter multiple value" type. Infact I need to populate them with the result of a web service call if it is possible. Can you help me? Thanks in advance for any reply, Mario -- View this message in context: http://old.nabble.com/Pop

[rt-users] Resetting due date when moving tickets between queues

2012-06-05 Thread Joel Dahl
Hi, I have setup 3 queues in RT 4.0.6, each queue with different default values for automatically setting a due date when a new ticket is created: Queue "High" - requests should be due in 1 day Queue "Normal" - requests should be due in 7 days Queue "Low" - requests should be due in 14 days So f

[rt-users] TicketSQL Date parse weird..

2012-06-05 Thread Stuart Browne
Hi, Using RHEL5, RT 3.8.8, Time::DateParse 2006.0814. When doing a TicketSQL search similar to the following: Status = 'open' AND Due <= '10am tomorrow' The time portion of the string isn't taken into account. On the command line, a quick test of Time::DateParse shows it works: ]# per