Re: [rt-users] Remove requestor's e-mail only from 1 queue

2010-04-26 Thread Christian Loos
If you don't want to touch the code you can also do that with an scrip
for this queue.

Condition: On Create
Action: User defined
Template: Global template: Blank
Stage: TransactionCreate

Custom action preparation code:
return 1;

Custom action cleanup code:
$self->TicketObj->DeleteWatcher(
  Type => 'Requestor',
  Email => $self->CurrentUser->EmailAddress,
  Silent => 1);
return 1;


-- 
Chris

Am 22.04.2010 15:54, schrieb Max McGrath:
> That worked perfectly!
> 
> Thank you so much!!
> --
> Max McGrath
> Asst. Network Admin/Systems Specialist
> Carthage College
> 262-552-5512
> mmcgr...@carthage.edu 
> 
> 
> On Thu, Apr 22, 2010 at 8:47 AM, Raed El-Hames  > wrote:
> 
> Max:
> *
> *
> Edit Create.html change
> 
> 
> <& /Elements/EmailInput, Name => 'Requestors', Size => '40', Default
> => $ARGS{Requestors} || $session{CurrentUser}->EmailAddress &>
> 
> 
> to
> 
> 
> % if ($QueueObj->Name eq 'Quick Ticket') {
>   <& /Elements/EmailInput, Name => 'Requestors', Size => '40',
> Default => $ARGS{Requestors} &>
> % } else {
>   <& /Elements/EmailInput, Name => 'Requestors', Size => '40',
> Default => $ARGS{Requestors} || $session{CurrentUser}->EmailAddress &>
> %}
> 
> 
> 
> 
> Roy
> 
> 
> Max McGrath wrote:
> 
> Hi all -
> 
> Running RT 3.8.7 on Ubuntu 9.04.
> 
> We have a "Quick Ticket" queue.  This queue is only used when
> patrons walk up or call the information desk.  So, what's
> happening is if I get a call and have to create a ticket for
> someone else while I'm logged in, the requestor e-mail is set to
> mine.  For this queue, it'd be best if that field was just left
> blank.
> 
> I've gone into the file system and found the Create.html page
> and where this info would come from, but this is universal for
> all queues.  I DO NOT want to get rid of this for any other
> queue just the Quick Ticket queue.
> 
> Am I SOL?  --
> Max McGrath
> Asst. Network Admin/Systems Specialist
> Carthage College
> 262-552-5512
> mmcgr...@carthage.edu 
> >
> 
> 
> 
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Remove requestor's e-mail only from 1 queue

2010-04-22 Thread Max McGrath
That worked perfectly!

Thank you so much!!
--
Max McGrath
Asst. Network Admin/Systems Specialist
Carthage College
262-552-5512
mmcgr...@carthage.edu


On Thu, Apr 22, 2010 at 8:47 AM, Raed El-Hames  wrote:

> Max:
> *
> *
> Edit Create.html change
>
> 
> <& /Elements/EmailInput, Name => 'Requestors', Size => '40', Default =>
> $ARGS{Requestors} || $session{CurrentUser}->EmailAddress &>
> 
>
> to
>
> 
> % if ($QueueObj->Name eq 'Quick Ticket') {
>   <& /Elements/EmailInput, Name => 'Requestors', Size => '40', Default =>
> $ARGS{Requestors} &>
> % } else {
>   <& /Elements/EmailInput, Name => 'Requestors', Size => '40', Default =>
> $ARGS{Requestors} || $session{CurrentUser}->EmailAddress &>
> %}
> 
>
>
>
> Roy
>
>
> Max McGrath wrote:
>
>> Hi all -
>>
>> Running RT 3.8.7 on Ubuntu 9.04.
>>
>> We have a "Quick Ticket" queue.  This queue is only used when patrons walk
>> up or call the information desk.  So, what's happening is if I get a call
>> and have to create a ticket for someone else while I'm logged in, the
>> requestor e-mail is set to mine.  For this queue, it'd be best if that field
>> was just left blank.
>>
>> I've gone into the file system and found the Create.html page and where
>> this info would come from, but this is universal for all queues.  I DO NOT
>> want to get rid of this for any other queue just the Quick Ticket queue.
>>
>> Am I SOL?  --
>> Max McGrath
>> Asst. Network Admin/Systems Specialist
>> Carthage College
>> 262-552-5512
>> mmcgr...@carthage.edu 
>>
>

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Remove requestor's e-mail only from 1 queue

2010-04-22 Thread Raed El-Hames

Max:
*
*
Edit Create.html change


<& /Elements/EmailInput, Name => 'Requestors', Size => '40', Default => 
$ARGS{Requestors} || $session{CurrentUser}->EmailAddress &>



to


% if ($QueueObj->Name eq 'Quick Ticket') {
   <& /Elements/EmailInput, Name => 'Requestors', Size => '40', Default 
=> $ARGS{Requestors} &>

% } else {
   <& /Elements/EmailInput, Name => 'Requestors', Size => '40', Default 
=> $ARGS{Requestors} || $session{CurrentUser}->EmailAddress &>

%}




Roy


Max McGrath wrote:

Hi all -

Running RT 3.8.7 on Ubuntu 9.04.

We have a "Quick Ticket" queue.  This queue is only used when patrons 
walk up or call the information desk.  So, what's happening is if I 
get a call and have to create a ticket for someone else while I'm 
logged in, the requestor e-mail is set to mine.  For this queue, it'd 
be best if that field was just left blank.


I've gone into the file system and found the Create.html page and 
where this info would come from, but this is universal for all queues. 
 I DO NOT want to get rid of this for any other queue just the Quick 
Ticket queue.


Am I SOL?  
--

Max McGrath
Asst. Network Admin/Systems Specialist
Carthage College
262-552-5512
mmcgr...@carthage.edu 


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Remove requestor's e-mail only from 1 queue

2010-04-22 Thread Max McGrath
Hi all -

Running RT 3.8.7 on Ubuntu 9.04.

We have a "Quick Ticket" queue.  This queue is only used when patrons walk
up or call the information desk.  So, what's happening is if I get a call
and have to create a ticket for someone else while I'm logged in, the
requestor e-mail is set to mine.  For this queue, it'd be best if that field
was just left blank.

I've gone into the file system and found the Create.html page and where this
info would come from, but this is universal for all queues.  I DO NOT want
to get rid of this for any other queue just the Quick Ticket queue.

Am I SOL?
--
Max McGrath
Asst. Network Admin/Systems Specialist
Carthage College
262-552-5512
mmcgr...@carthage.edu

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com