Greetings all,
I am attempting to use the RT command line tool to create a ticket with
content and fields pre-populated. I am using the '-i' flag to call in a
text file with pre-populated text fields.
I have created a text file that contains the following and I set the
Subject and Requestor from the command line itself:
# Required: id, Queue
id: ticket/new
Queue: Queue Name
Status: new
Priority: 100
InitialPriority: 100
FinalPriority:
TimeEstimated: 0
Text: Some text
This all works great, but if I try and make the "Text:" line have more
than one line, as follows, it errors out with a "Syntax Error" on the
new line. For example:
Textfile contains:
# Required: id, Queue
id: ticket/new
Queue: Queue Name
Status: new
Priority: 100
InitialPriority: 100
FinalPriority:
TimeEstimated: 0
Text: Some text
Some more text
Error thrown will look like:
# Syntax error.
id: ticket/new
Queue: MSS Daily Checklist
Status: new
Priority: 100
InitialPriority: 100
FinalPriority:
TimeEstimated:
Text: Some text
>> Some more text
Anyone have any good ideas how to get extra lines of text in to the text
field?
Thanks,
BenR
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com