Sample insert_action/condition for rt3?

There are several actions from rt2 I need to carry over to rt3. Is there a
sample insert_action script I can copy?

matthew zeier | “Nothing in life is to be feared.
InteleNet Communications, Inc. | It is only to be understood.”
(949) 784-7904 | - Marie Curie

Actually, it should be pretty easy to reformat them to use
rt-setup-database. have a look at etc/initialdata in the RT3
distributionOn Tue, Mar 04, 2003 at 02:28:30PM -0800, matthew zeier wrote:

There are several actions from rt2 I need to carry over to rt3. Is there a
sample insert_action script I can copy?


matthew zeier | “Nothing in life is to be feared.
InteleNet Communications, Inc. | It is only to be understood.”
(949) 784-7904 | - Marie Curie


rt-devel mailing list
rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.

That appears to work.

I’d suggest cleaning up rt-setup-database to make it clearer on what’s being
created. I shouldn’t see “Creating groups…” if @Groups is null.

And then if you’ll let me be really picky, the help() isn’t formatted
nicely. --datafile is tabbed in way too far.

My input file has:

@ScripActions = (

{ Name        => 'Notify OldOwner',                    # loc
  Description => 'Sends a message to the old owner of stollen ticket',

loc

  ExecModule  => 'NotifyOldOwner',
  Argument    => 'OldOwner' },

);

root@cms1 (~mrz/work/rt/scrips/NotifyOldOwner/) 168>
/rt-setup-database --action insert --datafile insert
datafile: insert
Creating groups…done.
Creating users…done.
Creating ACL…done.
Creating queues…done.
Creating custom fields…done.
Creating ScripActions…16.done.
Creating ScripConditions…done.
Creating templates…done.
Creating scrips…done.From: “Jesse Vincent” jesse@bestpractical.com
To: “matthew zeier” mrz@intelenet.net
Cc: rt-devel@lists.fsck.com
Sent: Tuesday, March 04, 2003 2:55 PM
Subject: Re: [rt-devel] sample insert_action/condition for rt3 ?

Actually, it should be pretty easy to reformat them to use
rt-setup-database. have a look at etc/initialdata in the RT3
distribution

There are several actions from rt2 I need to carry over to rt3. Is
there a
sample insert_action script I can copy?


matthew zeier | “Nothing in life is to be feared.
InteleNet Communications, Inc. | It is only to be understood.”
(949) 784-7904 | - Marie Curie


rt-devel mailing list
rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel


Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.