On Thu, Dec 8, 2011 at 14:01, Bart <[email protected]> wrote:
> Can the rt-crontool launch an internal RT scrip (e.g. a global scrip or
> something like that) as action instead of the actions that I come across at
> the examples?
It's exactly what it does - replays custom condition, scrip and
template combination on every ticket returned by a custom search.
You need RT::Action::IncreaseCustomField module and there do something like:
my ($status, $msg) = $ticket->AddCustomFieldValue(
Field => "CF",
Value => $ticket->FirstCustomFieldValue("CF") + 5,
);
--
Best regards, Ruslan.
--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston March 5 & 6, 2012