[rt-users] Return Requestor Organization information from Dashboard "Rt at a glance" page
Shawn O'Connor
oconshaw at yahoo.com
Thu Sep 16 15:25:45 EDT 2010
I want to change the listing in RT at a glance to include "requestors", but rather than return an email address, I want it to return the requestor's Organization. I've found the following: /opt/rt3/share/html/Elements/RT__Ticket/ColumnMap.
Requestors => {
title => 'Requestors', # loc
attribute => 'Requestor.EmailAddress',
value => sub { return $_[0]->Requestors->MemberEmailAddressesAsString }
I change value to:
value => sub { return $_[0]->CreatorObj->Organization }
And this kinda works as long as the requestor created the ticket. But really it is returning the creator of the ticket. The unintended consequence is if I create a ticket on behalf of a client and then change the requestor from me to a client it still returns my organization name and not theirs.
Some guidance on getting this to work would be much appreciated.
Thanks in advance.
More information about the rt-users
mailing list