You can do this with a scrip which fires on ticket creation, accesses the
user's relevant location information, then puts it in the ticket's custom
field.

The location information of the user creating the ticket can be accessed in
scrip code via:

$self->TransactionObj->CreatorObj->Organization
$self->TransactionObj->CreatorObj->Address1
$self->TransactionObj->CreatorObj->Address2
$self->TransactionObj->CreatorObj->City
$self->TransactionObj->CreatorObj->State
$self->TransactionObj->CreatorObj->Zip
$self->TransactionObj->CreatorObj->Country

A ticket's custom field can be modified in scrip code via:

$self->TicketObj->AddCustomFieldValue( Field => 'location', Value => '...'
);


On 17 July 2014 22:51, AdamThomas <[email protected]> wrote:

> When a ticket is emailed in I want the requestors location to be auto
> populated into my custom field "location".
>
> My user profile automatically detects their location in their user profile
>
>
>
> --
> View this message in context:
> http://requesttracker.8502.n7.nabble.com/How-can-you-use-requestor-info-in-custom-field-tp57959.html
> Sent from the Request Tracker - User mailing list archive at Nabble.com.
> --
> RT Training - Boston, September 9-10
> http://bestpractical.com/training
>
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training

Reply via email to