[rt-users] scrip condition on transaction custom field

2016-02-16 Thread Sebastian Juenemann
Hi everyone, I have an issue which i can't get resolved without further help by anyone more experienced RT user/admin. I want to have a special trigger which can be activated during the resolving stage on a ticket in order to decide whether an appropriate message will be sent to the ticket

Re: [rt-users] scrip condition on transaction custom field

2016-02-17 Thread Sebastian Juenemann
s->NewValue eq "resolved"); } elsif ($type eq "Comment") { my $cfvs = $trans->CustomFieldValues("FeedbackOnResolve"); if (my $value = $cfvs->Next()) { $feedback = 1 if ($value->Content() eq "yes"); } } } ret

Re: [rt-users] queue change still triggers old queue's scrips

2017-01-25 Thread Sebastian Juenemann
tion commit code: #convert the spam score to negative priority my $score = $self->TransactionObj->Attachments->First->GetHeader('X-Spam-Score'); unless( $score ){ my $t = $self->TransactionObj->Attachments->First->GetHeader('X-Spam-Status'); $t =~ /score=(-?\d+(|:.\d+)?)/

[rt-users] queue change still triggers old queue's scrips

2017-01-13 Thread Sebastian Juenemann
Hi List, I hope you can help me on this topic since the online documentation won't me bring any further. So in order to deal with our spam I've done the following: 1) added a new spam queue 2) created a new global scrip (according to the spamfilter 1b solution provided here: