[rt-users] How to get CustomFields to tickets list?
Mathew
theillien at yahoo.com
Thu Apr 19 09:39:51 EDT 2007
I don't really *know* the answer but every time I see a custom field
being addressed it looks like CF.{FieldName}
Mathew
Petr Grolmus wrote:
> Hello,
>
> does anyone know how to get values from CustomField to the tickets list?
> I found that I need to modify the $DefaultSearchResultFormat in
> RT_SiteConfig, but I cannot figure how to force RT print values of custom
> field named "Area". I tried something like this:
>
> Set ($DefaultSearchResultFormat, qq{
> '<B><A
> HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#',
> '<B><A
> HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__Subject__</a></B>/TITLE:Subject',
> Status,
> QueueName,
> OwnerName,
> Priority,
> CustomField{Area},
> '__NEWLINE__',
> '',
> '<small>__Requestors__</small>',
> '<small>__CreatedRelative__</small>',
> '<small>__ToldRelative__</small>',
> '<small>__LastUpdatedRelative__</small>',
> '<small>__TimeLeft__</small>',
> ''});
>
> Even several next possible modification such as:
> CustomField{\"Area\"}
> '__CustomField{Area}__'
> '__CustomField{"Area"}__'
>
> I've tried to change CustomField to CF - in regular expression should work
> both ways - but nothing helped :(
>
> I'm using RT 3.6.1 from Debian Linux.
>
> Thanx,
> -indy
>
> --------------------------------------------------------------------------
> Petr Grolmus
>
> Laboratory for Computer Science
> University of West Bohemia
> Univerzitni 20, 306 14 Pilsen Tel.: +420 377 632 851
> Czech Republic E-mail: indy at civ.zcu.cz
> --------------------------------------------------------------------------
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
More information about the rt-users
mailing list