[rt-users] Action to delay the Due Date

Kevin Falcone falcone at bestpractical.com
Tue Mar 4 14:40:59 EST 2014


On Mon, Mar 03, 2014 at 09:55:08PM +0000, Fernandez  Pablo wrote:
> > On Mar 3, 2014 8:40 PM, Kevin Falcone <falcone at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140304/f1e02304/attachment.sig>


More information about the rt-users mailing list