[rt-users] Bulk Ticket Update Question

Torsten Brumm torsten.brumm at googlemail.com
Tue Dec 12 05:51:42 EST 2006


Hi RT Users,

i'm stepping in the dark at this moment. My Users like to have the Bulk
Update Page modified for easier life..

They need the checked Checkboxes per ticket unchecked as default and also
set as default the owner to the current user and the Status to resolved by
default....

At the Bulk.html i can find for the first point a function to check and
uncheck the Checkboxes, but no way to set this as default for each request:

<& /Elements/Submit, Label => loc('Update'), CheckAll => 1, ClearAll => 1 &>

Infront of this Element, the Ticketlist is created by:

<& /Elements/TicketList, Query => $Query,
    DisplayFormat => $Format,
    Format => $ARGS{'Format'},
    Verbatim => 1,
    AllowSorting => 1,
    OrderBy => $OrderBy,
    Order => $Order,
    Rows => $Rows,
    Page => $Page,
    BaseURL => $RT::WebPath."/Search/Bulk.html?"
   &>

I'm not sure how to change this to a default for the Ticketlist.

The second problem, the defaults for owner and status:

For the Owner i think, the following lines are important:

<tr><td class="label"> <&|/l&>Make Owner</&>: </td>
<td class="value"> <& /Elements/SelectOwner, Name => "Owner", Value =>
$session{'CurrentUser'} &> (<input type="checkbox" class="checkbox"
name="ForceOwnerChange" checked /> <&|/l&>Force change</&>) </td></tr>

But my try with Value => $session{CurrentUser} wont work :-( Any hints for
this???

Same with the Status:

<tr><td class="label"> <&|/l&>Make Status</&>: </td>
<td class="value"> <& /Elements/SelectStatus, Name => "Status" &> </td></tr>

Any hints to this points?

Thank you...

Torsten


-- 
MFG

Torsten Brumm

http://www.torsten-brumm.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20061212/3eea3ce7/attachment.htm>


More information about the rt-users mailing list