CLI 2.0.9 --create with --keywords broken?

CLI 2.0.9, --create does not seem to work with --keywords. Keywords are
ignored on ticket creation (not added.)

I have tried both:
echo “body” | /local/rt2/bin/rt --create --status=new --subject=‘test
subject’ --queue=‘Network’ --priority=3 --noedit --comment --source - --key
words=Location/DFW

and:
echo “body” | /local/rt2/bin/rt --create --status=new --subject=‘test
subject’ --queue=‘Network’ --priority=3 --noedit --comment --source - --key
words=+Location/DFW

Of course, the following adds the location properly:
/local/rt2/bin/rt --id=2700 --keywords=+Location/DFW

Broken, not meant to do this (contrary to rt --help), or forgot to be added?
:slight_smile:

It would be very helpful to be able to create a ticket in this manner, using
a single command line…

thanks!
bill

Create with keywords and search by keywords aren’t currently available in the CLI.
Patches or consulting dollars to get this fixed are greatly appreciated.On Tue, Dec 18, 2001 at 07:02:43PM -0700, Bill Petrisko wrote:

CLI 2.0.9, --create does not seem to work with --keywords. Keywords are
ignored on ticket creation (not added.)

I have tried both:
echo “body” | /local/rt2/bin/rt --create --status=new --subject=‘test
subject’ --queue=‘Network’ --priority=3 --noedit --comment --source - --key
words=Location/DFW

and:
echo “body” | /local/rt2/bin/rt --create --status=new --subject=‘test
subject’ --queue=‘Network’ --priority=3 --noedit --comment --source - --key
words=+Location/DFW

Of course, the following adds the location properly:
/local/rt2/bin/rt --id=2700 --keywords=+Location/DFW

Broken, not meant to do this (contrary to rt --help), or forgot to be added?
:slight_smile:

It would be very helpful to be able to create a ticket in this manner, using
a single command line…

thanks!
bill


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.