Re: Default Value for User Custom Fields

Woody - Wild Thing Safaris <[email protected]> Tue, 7 Mar 2017 12:16:52 +0300
Newsgroups gmane.comp.bug-tracking.request-tracker.user
Message-ID <[email protected]>
I added "Users" to line 2016 in CustomField.pm

     return 0 unless $self->LookupType =~ 
/RT::(?:Ticket|Transaction|User)$/;

and it seems to behave as expected. But RT::Users must have been left 
out for a reason?

w.


On 03/03/17 10:46, Woody - Wild Thing Safaris wrote:
> sorry, 4.4.0
>
>
> On 02/03/17 23:44, Matt Zagrabelny wrote:
>> What version of RT are you using?
>>
>> -m
>>
>> On Thu, Mar 2, 2017 at 1:46 PM, Woody - Wild Thing Safaris
>> <[email protected]> wrote:
>>> Hi RT Folks,
>>>
>>> Am i missing something? I see no option to select a "default value" for
>>> "select one value" type custom fields if they are of lookuptype 
>>> RT::User?
>>>
>>> i tested and if it's RT::Ticket - default appears, but RT::User - 
>>> that input
>>> field has disappeared?
>>>
>>> w.
>>>
>>>
>>> -- 
>>>
>>> -----------------------
>>>
>>> Richard Wood (Woody)
>>> Managing Director
>>> Wild Thing Safaris Ltd.
>>>
>>> UK: 2B Habbo St, Greenwich, London
>>> Dar es Salaam: 5 Ethan St, Mbezi beach
>>> Arusha: 3 Ebeneezer Rd, Njiro
>>> PO BOX 34514 DSM
>>> Office: +255 (0) 222 617 166
>>> Office Mobile: +255 (0) 773 503 502
>>> Direct: +255 742 373 327
>>> Skype: woody1tz
>>> http://wildthingsafaris.com
>>>
>>> ---------
>>> RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
>>> * Paris - April 24-26, 2017
>>
>

-- 

-----------------------

Richard Wood (Woody)
Managing Director
Wild Thing Safaris Ltd.

UK: 2B Habbo St, Greenwich, London
Dar es Salaam: 5 Ethan St, Mbezi beach
Arusha: 3 Ebeneezer Rd, Njiro
PO BOX 34514 DSM
Office: +255 (0) 222 617 166
Office Mobile: +255 (0) 773 503 502
Direct: +255 742 373 327
Skype: woody1tz
http://wildthingsafaris.com

---------
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Paris - April 24-26, 2017