<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>command line bug?</TITLE>
<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=828223219-02122001><FONT face=Arial size=2>As for the priority
problem that is a bug in the CLI. I think Jesse said it will be fixed in
2.0.10. But you can fix it now by modifying the rt script. Find the
section that has this line</FONT></SPAN></DIV>
<DIV><SPAN class=828223219-02122001><FONT face=Arial size=2><EM># {{{ Check if
we're creating, if so, create the ticket and be done</EM></FONT></SPAN></DIV>
<DIV><SPAN class=828223219-02122001><FONT face=Arial size=2>In that section is
the line</FONT></SPAN></DIV>
<DIV><SPAN class=828223219-02122001><FONT face=Arial size=2><EM>Priority =>
$priority, </EM></FONT></SPAN></DIV>
<DIV><SPAN class=828223219-02122001><FONT face=Arial size=2>Change that line
to</FONT></SPAN></DIV>
<DIV><SPAN class=828223219-02122001><FONT face=Arial size=2><EM>InitialPriority
=> $priority,<BR></EM></FONT></SPAN></DIV>
<DIV><SPAN class=828223219-02122001><FONT face=Arial size=2>I have never used
keywords from the CLI so I can't help with that problem.</FONT></DIV></SPAN>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Jeremy Freeman
[mailto:j.freeman@sporg.com]<BR><B>Sent:</B> Friday, November 30, 2001 6:27
PM<BR><B>To:</B> rt-users@lists.fsck.com<BR><B>Subject:</B> [rt-users] command
line bug?<BR><BR></FONT></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>I am trying to import a bunch of tickets from the commandline
program and seem to be having difficulty setting priority and keywords when
creating tickets. I am using the following:</FONT></P>
<P><FONT size=2>/usr/local/rt2/bin/rt --verbose --create --status=open
--owner=13 --queue=7 --subject='Evaluate Additional Payment pig' --priority=25
--keywords+15/20 --noedit</FONT></P>
<P><FONT size=2>The keywords are never set and the priority remains 0.</FONT>
</P>
<P><FONT size=2>i do get the following response:</FONT> </P>
<P><FONT size=2>15/20Ticket 53 created in queue 'dev::changes'.</FONT> </P>
<P><FONT size=2>Seems a little strange...</FONT> </P>
<P><FONT size=2>Any ideas?</FONT> </P>
<P><FONT size=2>--</FONT> <BR><FONT size=2>Jeremy</FONT>
</P></BLOCKQUOTE></BODY></HTML>