[rt-users] Showing custom fields with command line RT -[Pork]Email found in subject - [Pork] Email found in subject
Stef Morrell
stef at aoc-uk.com
Fri Mar 14 06:54:18 EDT 2008
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 at aoc-uk.com | stef at l5net.net
Alpha Omega Computers Ltd, Unit 57, BBTC, Grange Road, Batley, WF17 6ER.
Registered in England No. 3867142. VAT No. GB734421454
________________________________
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Ben
Robson
Sent: 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 at lists.bestpractical.com
[mailto:rt-users-bounces at 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
On Mar 13, 2008, at 11:06 AM, Ben Robson wrote:
Stef,
I have been trying to work out this exact same thing for the
past week now, in fact I put a similar post to this maillist
approximately 3 days ago, with little assistance.
Thus far I have found the documentation that implies custom
fields can be referenced by 'CF-CustomFieldName'. However my testing of
this results in nothing (at best I get a ':' where asking for Status
might give 'Status: open').
One thing I did find was that, in a documented example, if you
asked for a verbose show of a ticket it would show custom field values
along with the standard field values, however in my testing I only get
the standard fields being shown.
I am now wondering if something has been changed in command-line
rt that means the CF-CustomFieldName is still the correct syntax, but
that the command-line rt can't see custom-fields for display any more
(it can still search, but can't display them).
That syntax works here
rt-3.6.6$ ./bin/rt show ticket/1 -f id,queue,CF-Testing
id: ticket/1
Queue: General
CF-Testing: testing value
Perhaps the user bin/rt is logging in as lacks permissions?
-kevin
The information contained in this communication is
intended solely for the use of the individual or entity to whom it is
addressed and others authorised to receive it. It may contain
confidential or legally privileged information. If you are not the
intended recipient you are hereby notified that any disclosure, copying,
distribution or taking any action in reliance on the contents of this
information is strictly prohibited and may be unlawful. If you have
received this communication in error, please notify us immediately by
responding to this email and then delete it, and any associated
attachments, from your system. Thank you.
<http://www.tlcit.biz>
--
This email has been scanned by the AOC Internet MailCrusader for
viruses, spam and dangerous content.
For more information please visit AOC Internet Ltd
<http://www.l5net.net/> .
More information about the rt-users
mailing list