[rt-users] Set a ticket custom field based on a User Custom field scrip action

Emmanuel Lacour elacour at easter-eggs.com
Tue Feb 17 03:23:35 EST 2009


On Mon, Feb 16, 2009 at 06:11:30PM -0600, Joel Schuweiler wrote:
> Here's the scenario:
> 
> 1)       A User has a custom field called Billable with two choices, yes, and no.
> 2)       User creates ticket
> 3)       Scrip checks Billable and sets ticket billable if user is billable
> 
> 
> I'm having a bit of trouble figuring out how I can access the custom
> field belonging to the user however, anyone have thoughts on this?
> 

Something like this I think:

my $billable = $self->TransactionObj->Creator->FirstCustomFieldValue ( 'Billable' );




More information about the rt-users mailing list