I have two RT systems: one testing and one production. I have a modified
notification Scrip on my test box:
----------------------------------------
Description: On Correspond Reopen Rejected/Resolved Tickets
Condition: On Correspond
Action: User Defined
Template: Blank
Custom cond:
If ($self->TicketObj->Status eq 'rejected') { return 1; }
If ($self->TicketObj->Status eq 'resolved') { return 1; }
Return 0;
Custom action commit code:
$self->TicketObj->SetStatus("open");
----------------------------------------
On my test system it works perfectly. Any tickets resolved or rejected get
re-opened on correspond. On my production box, I get the following in ym log:
[13641] [Fri Aug 12 17:43:44 2016] [debug]: Skipping Scrip #32 because it
didn't Prepare (/opt/rt4/sbin/../lib/RT/Scrips.pm:345)
I've tried writing my own messages to the log but it doesn't look like the
scrip is firing. What is happening?
Stephen Cena
Senior Systems Administrator
Quality Vision International, Inc.
Phone: (585) 544-0450 x300
To notify helpdesk: http://helpdesk.ogp.qvii.com or email:
[email protected]<mailto:[email protected]>
To report email issues: [email protected]
---------
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Los Angeles - September, 2016