[rt-users] Create ticket with CLI

Alfonso Focareta a.focareta at pro-netics.com
Thu Oct 16 13:19:46 EDT 2003


I have rt 3.0.6 version but when i try to crate a ticket with that sintax
rt create -t ticket set subject='The subject' priority=50 owner='afocareta'
queue='Ez'
the response is


# Unknown object type: edit

priority: 50
owner: afocareta
subject: The subject
id: ticket/new
queue: Ez

where mistake?
tnx!!
----- Original Message -----
From: "Dan Fulbright" <lists.fsck.com at okra.org>
To: "Alfonso Focareta" <a.focareta at pro-netics.com>
Sent: Friday, October 10, 2003 6:10 PM
Subject: Re: [rt-users] Create ticket with CLI


> > How I can create a ticket with CLI?
>
> You didn't tell us which version of RT you are using. I believe the CLI
> was pretty much broken until 3.0.6.
>
> RT2:
> rt --create --subject='The subject' --priority=50 --owner=ownername
>                                  --queue=queuename --comment --source
> /path/to/a/text/file
> --noedit --requestor='requestor at domain.com'
>
> RT3:
> rt create -t ticket set subject='The subject' priority=50
> owner=ownername queue=queuename
> requestors='requestor at domain.com'
>
> I haven't yet figured out a way to put a comment in a ticket on creation
> with the CLI.
>
>




More information about the rt-users mailing list