[rt-users] Search old tickets from within scrip

Ruslan Zakirov ruz at bestpractical.com
Wed Aug 8 17:09:55 EDT 2007


$user_obj->Organisation; # returns value
$user_obj->SetOrganisation('new value'); # set new value

`perldoc lib/RT/User.pm` - basic accessors
`perldoc lib/RT/User_Overlay.pm` - more methods

On 8/9/07, Keith Edmunds <kae at midnighthax.com> wrote:
> On Wed, 8 Aug 2007 03:26:21 +0400, ruz at bestpractical.com said:
>
> > I can suggest you another way with two scrips:
> > 1) Update Company field of requestors when an user update customer
> > custom field
>
> That's a smart idea, but how does one access the requestor's company field
> (presumably "Organization") from within a scrip? Sorry, my Perl is not
> very good so a quick pointer would be appreciated.
>
> Thanks,
> Keith
> _______________________________________________
> 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
>


-- 
Best regards, Ruslan.



More information about the rt-users mailing list