[rt-users] Import a text file into RT as a scrip ?
Kevin Falcone
falcone at bestpractical.com
Tue Jan 21 14:31:47 EST 2014
On Fri, Jan 17, 2014 at 07:35:43PM +0000, Ethier, Michael wrote:
> I have a text file (exact RT scrip syntax) that sits on our RT server that I would like to
> import into RT and update(overwrite) a
>
> particular scrip's custom condition with it.... on a regular basis. Is this possible ? And if
> yes, how ?
Why not write a scrip condition that lives on disk instead?
Look at /opt/rt4/lib/RT/Condition/*.pm for ideas and then read the
initialdata docs for how to insert a database record for the
condition.
http://bestpractical.com/docs/rt/latest/initialdata.html
We do this all the time so the actual code of the condition can be
easily tracked in source control.
-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/20140121/7fbe8bb7/attachment.sig>
More information about the rt-users
mailing list