[rt-users] Re: Default Time Worked

Andreas Vögele avo at trustsec.de
Tue Jun 26 11:41:52 EDT 2007


Mathew Snyder writes:

> I've clarified with my boss.  He does want the field to be
> pre-populated.  [...]

If the string '&UpdateTimeWorked=5' is added to the update URL,
e.g. https://www.example.com/rt/Ticket/Update.html?Action=Comment&id=50&UpdateTimeWorked=5,
the field will be pre-populated.

I.e. if you copy html/Ticket/Update.html to your local directory and
replace 'value="<% $ARGS{UpdateTimeWorked} %>"' with 'value="5"' the
field will always be pre-populated.

I haven't figured out how to set a default value for UpdateTimeWorked
though.  The field won't be pre-populated if you add
'$UpdateTimeWorked => "5"' to the %ARGS section at the bottom of
Update.html.




More information about the rt-users mailing list