How to get CustomFields to tickets list?

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{
id/TITLE:#’,
Subject/TITLE:Subject’,
Status,
QueueName,
OwnerName,
Priority,
CustomField{Area},
NEWLINE’,
’’,
Requestors’,
CreatedRelative’,
ToldRelative’,
LastUpdatedRelative’,
TimeLeft’,
’’});

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 :frowning:

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@civ.zcu.cz

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:

It works! :slight_smile:

Thanx,
-indy

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{
id/TITLE:#’,
Subject/TITLE:Subject’,
Status,
QueueName,
OwnerName,
Priority,
CustomField{Area},
NEWLINE’,
‘’,
Requestors’,
CreatedRelative’,
ToldRelative’,
LastUpdatedRelative’,
TimeLeft’,
‘’});

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 :frowning:

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@civ.zcu.cz


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

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

                                          Petr Grolmus

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@civ.zcu.cz

I guess I know more than I though :wink:

Mathew

Petr Grolmus wrote: