[rt-users] Setting user CustomField through Perl Script

Ruslan Zakirov ruslan.zakirov at gmail.com
Thu Mar 30 14:40:50 EST 2006


perldoc lib/RT/Record.pm

On 3/30/06, Jason Fenner <jfenner at vitamix.com> wrote:
> Does anyone know what method to use in a perl script in order to print
> out Values are set for a certain customfield of a certain user?
>
> Thank You in advance,
> Jason Fenner
>
> Jason Fenner wrote:
>
> > Hi:
> >
> > I have a global CustomField called "Department" defined as type User
> > in my RT 3.4
> >
> > Through an external Perl script I query my Active Directory server for
> > a particular username and find a key called: Department.  Once I find
> > that key, I want to set the above CustomField for that user in RT to
> > that same value.
> > However, I am stumped as to what object method, etc you use with RT in
> > order to set a CustomField value for a user?
> > Can anyone toss me any clues?
> > Thanks in advance,
> > Jason Fenner
> >
> > _______________________________________________
> > 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
> >
> >
> > We're hiring! Come hack Perl for Best Practical:
> > http://bestpractical.com/about/jobs.html
> >
>
>
> _______________________________________________
> 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
>
>
> We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html
>


--
Best regards, Ruslan.


More information about the rt-users mailing list