Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Users

'bin/rt' CLI, creating ticket with Owner

 

 

Request Tracker users RSS feed   Index | Next | Previous | View Threaded


stuart.browne at ausregistry

Nov 15, 2009, 3:51 PM

Post #1 of 2 (461 views)
Permalink
'bin/rt' CLI, creating ticket with Owner

Hi,

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" 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?

RHEL5.4
RT3.8.1

Stuart J. Browne
Unix/Network Administrator
AusRegistry Pty Ltd
Level 8, 10 Queens Road
Melbourne. Victoria. Australia. 3004.
Ph:  +61 3 9866 3710
Fax: +61 3 9866 1970
Email: stuart.browne [at] ausregistry
Web: www.ausregistry.com.au

The information contained in this communication is intended for the named recipients only. It is subject to copyright and may contain legally privileged and confidential information and if you are not an intended recipient you must not use, copy, distribute or take any action in reliance on it. If you have received this communication in error, please delete all copies from your system and notify us immediately.

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales [at] bestpractical


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


falcone at bestpractical

Nov 25, 2009, 10:47 AM

Post #2 of 2 (367 views)
Permalink
Re: 'bin/rt' CLI, creating ticket with Owner [In reply to]

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" 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

Request Tracker users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.