{ Name => 'Extract Subject Tag', # loc
Description => 'Extract tags from a Transaction\'s subject and add them to the Ticket\'s subject.', # loc
ExecModule => 'ExtractSubjectTag' },
+
+ #freeside
+ { Name => 'Set Priority',
+ Description => 'Set ticket priority',
+ ExecModule => 'SetPriority',
+ Argument => '',
+ },
);
@ScripConditions = (
ExecModule => 'ReopenTicket',
},
+ #freeside
+ { Name => 'On Custom Field Transaction',
+ Description => 'When a custom field is changed',
+ ExecModule => 'CustomFieldTransaction',
+ ApplicableTransTypes => 'Any',
+ },
+ { Name => 'On Custom Field Change',
+ Description => 'When a custom field is changed to some value',
+ ExecModule => 'CustomFieldChange',
+ ApplicableTransTypes => 'Any',
+ },
+
);
@Templates = (
Name => 'Admin Comment', # loc
Description => 'Default admin comment template', # loc
Content =>
-'Subject: [Comment] {my $s=($Transaction->Subject||$Ticket->Subject); $s =~ s/\\[Comment\\]//g; $s =~ s/^Re//i; $s;}
+'Subject: [Comment] {my $s=($Transaction->Subject||$Ticket->Subject); $s =~ s/\\[Comment\\]\\s*//g; $s =~ s/^Re:\\s*//i; $s;}
RT-Attach-Message: yes
Greetings,
-Your ticket has been approved by { eval { $Approval->OwnerObj->Name } }.
+Your ticket has been approved by { eval { $Approver->Name } }.
Other approvals may be pending.
Approver\'s notes: { $Notes }
Greetings,
-Your ticket has been approved by { eval { $Approval->OwnerObj->Name } }.
+Your ticket has been approved by { eval { $Approver->Name } }.
Its Owner may now start to act on it.
Approver\'s notes: { $Notes }
Greetings,
-Your ticket has been rejected by { eval { $Approval->OwnerObj->Name } }.
+Your ticket has been rejected by { eval { $Approver->Name } }.
Approver\'s notes: { $Notes }
'
}
}
},
+ { Queue => 0,
+ Name => 'Custom Field Transaction',
+ Description => 'Custom field value changed',
+ Content => q[Subject: {$Transaction->BriefDescription()}
+
+{RT->Config->Get('WebURL')}Ticket/Display.html?id={$Ticket->id}
+
+{$Transaction->Content()}
+],
+ },
+
);
# }}}