[rt-users] Getting owner to change when replying
Richie Crews
rcrews at intercall.com
Fri Jun 13 09:16:33 EDT 2003
Does this work if the user is nobody? Im trying to find a method to
assign tickets to someone if they reply or comment in a ticket. Ive
applied everything and even restarted Apache and it seems not to work be
working.
On Thu, 2003-06-12 at 22:16, Jamie Wilkinson wrote:
> This one time, at band camp, jennyw wrote:
> >I've noticed that when a user replies to a new ticket, they do not
> >become the owner -- it remains owned by nobody. Is there a way to change
> >this so that if someone takes an action on a ticket that's owned by
> >nobody, they own it?
>
> I've got a patch that adds an AutoTake.pm action, then all you need to do is
> do a couple of database inserts to enable the new script as a separate
> action/scrip.
>
> Apply the attachment, then perform the following queries on your database:
>
> insert into scripactions (name, description, execmodule, creator, created,
> lastupdatedby, lastupdated) values ('Assign Tickets', 'Assign a ticket on
> first correspondance', 'AutoTake', 1, current_timestamp, 1, current_timestamp);
>
> insert into scrips (description, scripcondition, scripaction, stage, queue,
> template, creator, created, lastupdatedby, lastupdated) values ('AutoTake',
> 3, ID of the above scripaction, 'TransactionCreate', 0, 1, 1,
> current_timestamp, 1, current_timestamp);
>
> Remember to get the ID of the scripaction from the first query for the
> scripaction column in the second query.
--
Richie Crews
Unix Administrator / Internet Integrator
Red Hat Certified Engineer
Email: rcrews at intercall.com
Cell: (706) 773 - 3436
Desk: (706) 634 - 3681
Fax: (706) 634 - 3831
Unix is very user friendly, its just picky on who it likes...
"Providing security for your email needs"
Stop Spam, Support RBL http://www.mail-abuse.org
More information about the rt-users
mailing list