Hi Thomas,
Glad to hear your system is working the way you want.
Here are 2 ways to avoid the "your ticket has been resolved"
notification. Each affects a different group of tickets.
1. This will turn it off for every resolved ticket in that queue: Create a
new "On Resolve" scrip in the qu
Hi all,
ok so far, i got this scrip to work! Thanks everybody who helped.
The last question is, how can i change the scrip to avoid sending a "your
ticket has been closed" email?
Best regards Thomas
Am 12.07.2007 19:50 Uhr schrieb "Gene LeDuc" unter <[EMAIL PROTECTED]>:
> Hi Forrest,
>
> At
Hi Forrest,
At 05:50 AM 7/12/2007, Forrest Blount wrote:
I think you're going wrong in your custom condition. The Transactions
table doesn't have a subject field...
I think what you want is more like:
return($self->TransactionObj->Field eq "Subject" &&
$self->TransactionObj->NewValue eq
Ok, I tested the scrip. Here it is pasted from RT:
Custom condition:
{ ### Testing Subject trigger
my $Transaction = $self->TransactionObj;
my $MyName = "Scrip General:52:Condition (Test)";
my $val = $Transaction->Type eq "Correspond";
$RT::Logger->debug("$MyName: (" . $Transaction->Id . "
You can start by breaking down your scrip to test it in different
working parts.
Only use your User Defined condition and see if one of the already built
scrip actions will fire. Then set that back to a basic scrip condition
and test it with your custom action code.
I think you're going wro
Hi,
thanks for your support so far.
I did a lot of tests, but it still dont work. I added a screenshot of my
script as a created it in the web gui. You can see it here:
http://www.asymmetry.de/scrip.jpg
But it still does not work. Here is what i did:
Custom condition:
my $Transaction = $self->T
Hi Thomas,
You create scrips like this using the RT web GUI. Go into Configuration,
select Queues, then the queue that you want this scrip to apply to, then
Scrips, then New Scrip. I don't think you really want to do this with perl
modules.
For condition, select "User Defined"
For action,
Hi,
well i changed the scrip this way:
my $problem_desc = undef;
my $Transaction = $self->TransactionObj;
my $subject = $Transaction->Attachments->First->GetHeader('Subject');
if ( $subject =~ /^HMPF (\w+) - (\S*) (\S*)/ ) {
# Auto-close/resolve this whole thing
$self->TicketObj->SetStat
I would look at modifying this to suit your needs.
http://wiki.bestpractical.com/view/AutoCloseOnNagiosRecoveryMessages
Thomas Hecker wrote:
> Hi all,
>
> i use RT 3.6.1 and look for a scrip that automatically closes new ticktes
> that have subjects that contain special words.
>
> an example:
>
>
Hi all,
i use RT 3.6.1 and look for a scrip that automatically closes new ticktes
that have subjects that contain special words.
an example:
i have some UPS from APC wich send emails after performing selftesting. The
subject is somehing like "HOMER passes internal self test" where HOMER is
the n
10 matches
Mail list logo