[rt-users] Populating custom field with e-mail address of logged in user
Ruslan Zakirov
ruslan.zakirov at gmail.com
Thu Nov 24 08:08:28 EST 2005
You can hide this field from users who create ticket and use
http://wiki.bestpractical.com/index.cgi?DefaultCustomFieldValue to
populate value automaticaly.
Would this solve your task?
Next code (untested) could be used to get properties of the user who
created ticket in the scrip:
$TicketObj->CreatorObj->EmailAddress;
Use it to set default value.
On 11/24/05, Stewart Tranter <S.G.Tranter at lboro.ac.uk> wrote:
> Hello Everyone,
>
> I have a free form text custom field which I want to populate
> automatically with the logged in user's e-mail address before ticket
> creation, i.e. when "New ticket in" is clicked. Similar to the way
> that the requester field is populated by the logged in user's e-mail
> address at this stage. In our organisation, the person who enters a
> ticket is most often not the requester, thereby we need this extra field
> to know who entered the case.
>
> I don't think this is possible via a scrip. Does anyone have any neat
> way of doing this?
>
> Stewart
> ------------------------------------------------
> Stewart Tranter
> Computing Services
> Loughborough University
>
> E: s.g.tranter at lboro.ac.uk
> W: http://www.lboro.ac.uk/computing/
> T: +44 (0) 1509 223719
> F: +44 (0) 1509 223989
> ------------------------------------------------
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
> Download a free sample chapter of RT Essentials from O'Reilly Media at http://rtbook.bestpractical.com
>
> WE'RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
> San Francisco - Find out more at http://bestpractical.com/services/training.html
>
--
Best regards, Ruslan.
More information about the rt-users
mailing list