Bulk Ticket Update Question

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:

<&|/l&>Make Owner: <& /Elements/SelectOwner, Name => "Owner", Value => $session{'CurrentUser'} &> ( <&|/l&>Force change)

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

Same with the Status:

<&|/l&>Make Status: <& /Elements/SelectStatus, Name => "Status" &>

Any hints to this points?

Thank you…

Torsten

MFG

Torsten Brumm

http://www.torsten-brumm.de

Hi Torsten,

How goes it? Which version of RT are you using? This works differently in
3.4 and 3.6.

Steve
Stephen Turner
Senior Programmer/Analyst - Client Support Services
MIT Information Services and Technology (IS&T)From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Torsten Brumm
Sent: Tuesday, December 12, 2006 5:52 AM
To: RT Users
Subject: [rt-users] Bulk Ticket Update Question

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…

Hi Stephen,

its going worse at this moment ;-). we use RT 3.6.1.

Whats going on at the MIT?

Torsten2006/12/12, Stephen Turner sturner@mit.edu:

Hi Torsten,

How goes it? Which version of RT are you using? This works differently in
3.4 and 3.6.

Steve

Stephen Turner
Senior Programmer/Analyst - Client Support Services
MIT Information Services and Technology (IS&T)


    From: rt-users-bounces@lists.bestpractical.com

[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Torsten
Brumm
Sent: Tuesday, December 12, 2006 5:52 AM
To: RT Users
Subject: [rt-users] Bulk Ticket Update Question

    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…

MFG

Torsten Brumm

http://www.torsten-brumm.de

From: Torsten Brumm [mailto:torsten.brumm@googlemail.com]
Sent: Tuesday, December 12, 2006 9:31 AM
To: sturner@mit.edu
Cc: RT Users
Subject: Re: [rt-users] Bulk Ticket Update Question

Hi Stephen,

Hey Torsten,

its going worse at this moment ;-). we use RT 3.6.1.

Too bad - you need to find youself some Glühwein and Erbsensuppe …

Whats going on at the MIT?

Still plugging away with RT 3.4.2, fully in production since June. I have
copied some 3.6.1 features though, which is why I was looking at the Bulk
check boxes yesterday. The default setting for the ticket list boxes is in
/Elements/RT__Ticket/ColumnMap - there’s an entry

'_CHECKBOX' => {
    attribute => 'checkbox',
    title => loc('Update'),
    align     => 'right',
    value     => sub { return \('<input type="checkbox" class="checkbox"

name=“UpdateTicket’.$_[0]->id.'” value=“1” checked />') }
},

You can change this file or override this particular column definition in a
callback.

Good luck,
Steve

Hi Stephen,

thanks for this hint, its working, i never had a look at this file till now

Torsten2006/12/12, Stephen Turner sturner@mit.edu:

  From: Torsten Brumm [mailto:torsten.brumm@googlemail.com]
  Sent: Tuesday, December 12, 2006 9:31 AM
  To: sturner@mit.edu
  Cc: RT Users
  Subject: Re: [rt-users] Bulk Ticket Update Question

  Hi Stephen,

Hey Torsten,

  its going worse at this moment ;-). we use RT 3.6.1.

Too bad - you need to find youself some Glühwein and Erbsensuppe …

  Whats going on at the MIT?

Still plugging away with RT 3.4.2, fully in production since June. I have
copied some 3.6.1 features though, which is why I was looking at the Bulk
check boxes yesterday. The default setting for the ticket list boxes is in
/Elements/RT__Ticket/ColumnMap - there’s an entry

'_CHECKBOX' => {
    attribute => 'checkbox',
    title => loc('Update'),
    align     => 'right',
    value     => sub { return \('<input type="checkbox"

class=“checkbox”
name=“UpdateTicket’.$_[0]->id.'” value=“1” checked />') }
},

You can change this file or override this particular column definition in
a
callback.

Good luck,
Steve

MFG

Torsten Brumm

http://www.torsten-brumm.de