Showing custom fields with command line RT -Email found in subject - Email found in subject

Kevin,

Thanks - that works fine for me.

Ben, have you tried escaping the space on the command line?

eg

rt show ticket/1 -f id,queue,CF-Custom\ Field

regards

Stef
Stefan Morrell | Operations Director
Tel: 0845 3452820 | Alpha Omega Computers Ltd
Fax: 0845 3452830 | Incorporating Level 5 Internet
stef@aoc-uk.com | stef@l5net.net

Alpha Omega Computers Ltd, Unit 57, BBTC, Grange Road, Batley, WF17 6ER.
Registered in England No. 3867142. VAT No. GB734421454

[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Ben
RobsonSent: 14 March 2008 00:34
To: Kevin Falcone; RT Users
Subject: Re: [rt-users] Showing custom fields with command line
RT -[Pork]Email found in subject - [Pork] Email found in subject

Kevin,

 

Bingo!  (Actually I'm somewhat miffed I didn't think of this

before). I don’t supposed you know how to reference (using the CF-*
syntax) custom fields with spaces in their names?

BenR

 

From: rt-users-bounces@lists.bestpractical.com

[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Kevin
Falcone
Sent: Friday, 14 March 2008 3:20 AM
To: RT Users
Subject: Re: [rt-users] Showing custom fields with command line
RT - [Pork]Email found in subject - [Pork] Email found in subject