[rt-users] 'bin/rt' CLI, creating ticket with Owner

Kevin Falcone falcone at bestpractical.com
Wed Nov 25 13:47:52 EST 2009


On Mon, Nov 16, 2009 at 10:51:39AM +1100, Stuart Browne wrote:
> I'm trying to get the CLI 'rt' tool to create a ticket with a specified owner.
> 
> I'm trying:
> 
> 	/opt/rt3/bin/rt create -t ticket set status=new owner="stuart.browne at ausregistry.com.au"  subject="`date +'General Tasks %Y%m - %W'`" queue="au Maintenance" text="Auto-created weekly general tasks ticket." priority=1
> 
> Sadly, this is setting everything else other than the owner perfectly correctly.
> 
> I've tried setting the RTUSER with SuperUser as a last-effort, to no avail.
> 
> Is there any way (short of writing the create routine myself using the API) to set the owner at ticket creation time?

Using a username instead of an email address works fine here

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20091125/9526d768/attachment.sig>


More information about the rt-users mailing list