[rt-users] Command Line Interface: How To put in newline?????????

Ennis William McCaffrey ennis at mail.twcgb.net
Thu Apr 28 12:48:10 EDT 2005


RT version 3.4.1
OS : Fedora Core 3
DB: MySQ: 4.1.x

I'm using the CLI to create tickets in RT, using the following command:

/usr/local/rt3/bin/rt create -t ticket -i < ./do

but when the ticket is created it shows up as one long line in RT!


What do I need to do to make the "Text:" entries show up as individual lines in 
RT?? I've tried quotes, double quotes, \r and \n and \\r and \\nn and still I 
just get one big jumbled mess as the history of the ticket in RT?????


The file "./do" is as below:

id: ticket/new
Queue: eng-www
Requestor: ennis
Subject: Please make a web form for data center usage
Cc: ennis
AdminCc:
Owner: ennis
Status: open
Priority: 8
InitialPriority: 8
FinalPriority: 0
TimeEstimated: 80
Starts: 
Due: 2005-04-27 21:20:00
Text: Hey did this work?
Text: 
Text: --------------
Text: --------------
Text: --------------
Text: --------------
Text: --------------
Text: --------------
Text: 
Text: This email is CONFIRMATION of an ENGINEERING DATA CENTER OUTAGE    
!!!!!!!!!!!
Text: 
Text: START DATE: 04 27, 2005 at 20:00 Military Time
Text: 
Text: END   DATE: 04 27, 2005 at 21:20 Military Time
Text: 
Text: Affected System(s): SciAtl DNCS
Text: Affected System(s): C-COR HQ server
Text: 
Text: Please read below for further outage information!
Text: 
Text: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Text: 
Text:  The reason for the Planned Outage Statement Of Work is to provide
Text:  a point at which the proposed activity can be viewed by a third party
Text:  and reviewed for required cross team involvement, cross-affiliate
Text:  implications, and change control. This electronic form and a simple
Text:  drawing are required to be submitted before the outage can be scheduled
Text:  and requires prior approval by engineering department management.
 Ya da ya da ya da ....

What do I need to do
Ennis McCaffrey

Time Warner Cable
Digital Network Engineer

1001 West Kennedy Avenue
PO Box 145
Kimberly, WI 54136

(920) 831-9220 Office
(920) 378-0416 Cell

Ennis at Mail.TWCGB.NET




More information about the rt-users mailing list