Re: [rt-users] RT 4.04 // automatically re-open resolved tickets that are replied to and assign to nobody

2012-11-23 Thread vmos
I tried that thanks, but what's puzzling me is that if I take out the 
$self-TargetObj-SetStatus('open'); it still opens the ticket, as if it's
ignoring the user defined action


Joachim Thuau-4 wrote
 It might just be a typo (targetObj? Replace with ticketObj?)
 
 Jok
 
 On Nov 22, 2012, at 10:57 AM, vmos lt;

 pcbadger@

 gt; wrote:
 
 Good afternoon, as I'm sure you know RT has a feature wherby if somebody
 replies to a ticket that has already been resolved, it gets automatically
 re-opened.
 That's grand, but I want to add a function so that if such a ticket does
 get
 re-opened, it also gets assigned to nobody, so that it goes back in to
 the
 general queue. 
 I've tried modifying the existing auto-open function in global scripts by
 changing the action to user defined, but I've been having some trouble 
 
 I've put this (and similar) in the custom action cleanup code
 
 $self-TicketObj-SetOwner( $RT::Nobody-id );
 $self-TargetObj-SetStatus('open');
  return 1;
 
 but all it ever does is re-open the ticket. I can't even seem to break
 it,
 never mind get it to do what I want.
 
 Cany anyone point me in the right direction?
 
 
 
 
 
 --
 View this message in context:
 http://requesttracker.8502.n7.nabble.com/RT-4-04-automatically-re-open-resolved-tickets-that-are-replied-to-and-assign-to-nobody-tp51967.html
 Sent from the Request Tracker - User mailing list archive at Nabble.com.
 
 We're hiring! http://bestpractical.com/jobs
 
 We're hiring! http://bestpractical.com/jobs





--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/RT-4-04-automatically-re-open-resolved-tickets-that-are-replied-to-and-assign-to-nobody-tp51967p51971.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.

We're hiring! http://bestpractical.com/jobs


[rt-users] Looking for German templates

2012-11-23 Thread Sebastian Flothow

Good afternoon,

I just installed RT 4.0.7, but before we can actually use it I need to 
set up German templates. Unfortunately, I couldn't find any in the RT 
wiki nor in the list archives (somewhat surprising actually, since RT 
seems to have good I18N/L10N otherwise).


Does anyone here have German template texts and is willing to share them?
I'm aware they would probably still need some tweaking to match 
organizational peculiarities, but it would be a very welcome starting 
point nonetheless.


Thanks,
Sebastian

We're hiring! http://bestpractical.com/jobs


[rt-users] RT4 - Reject Action

2012-11-23 Thread Nick Fennell
Hi,

I'm looking to modify the default behaviour of the 'Reject' option displayed at 
the top right of ticket display.

Ideally, I'd like the Reject button to set Status to 'Rejected' and Update Tyoe 
to be 'Comments (Not sent to requesters)'.

Additionally, is it possible to add a Reject Action to the Unowned queue in 
addition to the current 'Take' option?

Thanks.
-- 
Nick Fennell
ApplianSys Support Team Leader

ApplianSys Limited
University of Warwick Science Park
Business Innovation Centre
Harry Weston Road
Coventry CV3 2TX

t: +44 (0) 870 7707 789
s: nick-fennell
www.appliansys.com

Our sales team sells by referral:
Less time looking for customers, more time looking after them

Subscribe: http://eepurl.com/ibKtY


We're hiring! http://bestpractical.com/jobs


Re: [rt-users] Looking for German templates

2012-11-23 Thread Ruslan Zakirov
On Fri, Nov 23, 2012 at 4:44 PM, Sebastian Flothow flot...@gip.com wrote:
 Good afternoon,

 I just installed RT 4.0.7, but before we can actually use it I need to set
 up German templates. Unfortunately, I couldn't find any in the RT wiki nor
 in the list archives (somewhat surprising actually, since RT seems to have
 good I18N/L10N otherwise).

 Does anyone here have German template texts and is willing to share them?
 I'm aware they would probably still need some tweaking to match
 organizational peculiarities, but it would be a very welcome starting point
 nonetheless.

First request like this and I didn't see anybody posting templates translations.

 Thanks,
 Sebastian
 
 We're hiring! http://bestpractical.com/jobs



-- 
Best regards, Ruslan.

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] Hiding Input must match

2012-11-23 Thread Ruslan Zakirov
On Fri, Nov 23, 2012 at 5:39 PM, Jim Tambling
jim.tambl...@datatote.co.uk wrote:
 Hi,



 I have created a mandatory custom field for IP addresses. I use a regex to
 ensure it is a valid IP address. Is there any way of hiding the “Input must
 match” portion? At present my CF looks like this:



 Source IP

 Enter one value

 Input must match
 \b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b



 Which is a bit unsightly. Anyway to hide the regex?


Use a comment in the beginning of the regexp. Take a look at how
mandatory regexp looks.

 Regards, Jim



 P.S. RT 3.8.2


 
 We're hiring! http://bestpractical.com/jobs




-- 
Best regards, Ruslan.

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] Hiding Input must match

2012-11-23 Thread Jim Tambling
Thanks Ruslan, my forms are looking a lot less cluttered.

Regards, Jim

-Original Message-
From: ruslan.zaki...@gmail.com [mailto:ruslan.zaki...@gmail.com] On Behalf Of 
Ruslan Zakirov
Sent: 23 November 2012 14:28
To: Jim Tambling
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Hiding Input must match

On Fri, Nov 23, 2012 at 5:39 PM, Jim Tambling jim.tambl...@datatote.co.uk 
wrote:
 Hi,



 I have created a mandatory custom field for IP addresses. I use a 
 regex to ensure it is a valid IP address. Is there any way of hiding 
 the “Input must match” portion? At present my CF looks like this:



 Source IP

 Enter one value

 Input must match
 \b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0
 -9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-
 9]|[01]?[0-9][0-9]?)\b



 Which is a bit unsightly. Anyway to hide the regex?


Use a comment in the beginning of the regexp. Take a look at how mandatory 
regexp looks.

 Regards, Jim



 P.S. RT 3.8.2


 
 We're hiring! http://bestpractical.com/jobs




--
Best regards, Ruslan.

We're hiring! http://bestpractical.com/jobs


[rt-users] Disable Jumbo updates

2012-11-23 Thread Jim Tambling
Hello,

 

Is there a way to make the Jumbo link a privileged one? So only certain
users or group members have access to it?

 

Regards, Jim


We're hiring! http://bestpractical.com/jobs


Re: [rt-users] Disable Jumbo updates

2012-11-23 Thread Ruslan Zakirov
Hi,

autohandler has plenty callbacks you can use to bail out quickly.
Elements/Tabs has also callbacks to hide a link.

On Fri, Nov 23, 2012 at 7:46 PM, Jim Tambling
jim.tambl...@datatote.co.uk wrote:
 Hello,



 Is there a way to make the Jumbo link a privileged one? So only certain
 users or group members have access to it?



 Regards, Jim


 
 We're hiring! http://bestpractical.com/jobs




-- 
Best regards, Ruslan.

We're hiring! http://bestpractical.com/jobs


[rt-users] Shredder not shredding attachments?

2012-11-23 Thread Arnon Clark

So I'm running validator and getting the following error for a few tickets :

example :

Record #600816 in Attachments references not existent record in Attachments
Parent = '600813' = id
Attachment #600816 - Txn #1567423, Transaction #1567423 - object 
RT::Ticket #187697


I attempted to fix this using shredder for ticket ID 187697 
(succesfully), but am still getting the error. How do I shred the 
attachment itself? I'm afraid I'm not sure what the query would be.


Many thanks for any assistance

Arnon






We're hiring! http://bestpractical.com/jobs