On Mon, Mar 03, 2014 at 09:55:08PM +0000, Fernandez  Pablo wrote:
> > On Mar 3, 2014 8:40 PM, Kevin Falcone <falc...@bestpractical.com> wrote:
> > On Fri, Feb 28, 2014 at 11:58:27AM +0100, Pablo Fernandez wrote:
> > > I was wondering... is there a way I can delay (a fixed amount of time)
> > > the Due Date on all tickets that match some criteria (like being in
> > > stalled state)?
> > > I was thinking of using rt-crontool for that task as a sort of way to
> > > "park" tickets (a cron job that runs every hour and delays 1 hour all
> > > stalled tickets).
> > 
> > Sounds like you want rt-crontool?
> > http://bestpractical.com/docs/rt/latest/rt-crontool.html
> > http://bestpractical.com/docs/rt/latest/automating_rt.html
> > 
> But among the actions, I did not find any to change the due date (and neither 
> in the two links )
> Any hints on how to do that?

You'll have to provide your own action in
local/lib/RT/Action/CustomDueMunging.pm

Likely you want a Prepare of { return 1}; and then you'll have your
real logic in Commit.

-kevin

Attachment: pgp2d6QspROOT.pgp
Description: PGP signature

-- 
RT Training London, March 19-20 and Dallas May 20-21
http://bestpractical.com/training

Reply via email to