[rt-users] create tickets with multiline text field using the cli!
Jay R. Ashworth
jra at baylink.com
Fri Apr 1 11:53:21 EST 2005
On Fri, Apr 01, 2005 at 05:51:13PM +0200, Sven Sternberger wrote:
> I try to write an script to make an ticket, utilizing the rt
> command line client:
>
> The cli call is:
>
> /usr/bin/rt create -t ticket set subject='test test test'
> Requestor="you.know.me at site.org" queue=testq Text="line1
> line2
> line3"
>
> so the problem is how can i specify a multiline textfield
> I think I tried everything (quoting,htmltags,singlequote)
> but bad look nothing works!
Well, you neglect to say how it *fails*, but I would ask two questions:
1) did you try backslashes?
2) what happens if you pipe the text into rt as it's stdin?
Cheers,
-- jra
--
Jay R. Ashworth jra at baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA http://baylink.pitas.com +1 727 647 1274
If you can read this... thank a system administrator. Or two. --me
More information about the rt-users
mailing list