[rt-users] Import a text file into RT as a scrip ?
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
We do this all the time so the actual code of the condition can be
easily tracked in source control.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 235 bytes
Desc: not available
More information about the rt-users