Re: [rt-users] RT customize SendEmail.pm

2015-01-30 Thread Sternberger, Sven
Hi!

- Ursprüngliche Mail -
 Von: k...@rice.edu
 on message details. I do not understand what you mean by:
 
 if the mail is originated
 by the RT, we will reroute the mail to the mailadresses of the queue members.
 This gives you simple way to send mail from queue_a to all members of queue_b
 
 What are members of queue_b? Would you please explain this a little bit
 further.

We have several queues (about 20) and each queue has a set of people which
work in this queue. (which means they have the right to resolve tickets)

What I do is I create for each queue a list of persons and their email
adresses which work in the queue.

A typical workflow is that in one queue a ticket is created and the requestor 
is not a single person but a different queue. 
If there is a reply to the ticket a mail is send to the queue. The procmail 
filter 
now don't start the rt-mailgate but sends the mail to list which I created 
before.

regards!

Sven




Re: [rt-users] RT customize SendEmail.pm

2015-01-30 Thread k...@rice.edu
On Fri, Jan 30, 2015 at 11:01:36AM +0100, Sternberger, Sven wrote:
 Hello!
 
 - Ursprüngliche Mail -
  Von: k...@rice.edu
  That sounds like a really, really bad idea. This is a great way to start
  a mail loop, having a program Email itself. Why are you trying to do this?
 
 all emails to RT will be filtered with procmail, if the mail is originated
 by the RT, we will reroute the mail to the mailadresses of the queue members. 
 This gives you simple way to send mail from queue_a to all members of queue_b
 
 regards!
 
 Sven
 

Hi Sven,

I must have missed your previous Email. I understand your use of procmail on
the inbound path to RT in order to deliver to the appropriate queues based
on message details. I do not understand what you mean by:

 if the mail is originated
 by the RT, we will reroute the mail to the mailadresses of the queue members.
 This gives you simple way to send mail from queue_a to all members of queue_b

What are members of queue_b? Would you please explain this a little bit
further.

Regards,
Ken


Re: [rt-users] RT customize SendEmail.pm

2015-01-30 Thread Sternberger, Sven
Hello!

- Ursprüngliche Mail -
 Von: k...@rice.edu
 That sounds like a really, really bad idea. This is a great way to start
 a mail loop, having a program Email itself. Why are you trying to do this?

all emails to RT will be filtered with procmail, if the mail is originated
by the RT, we will reroute the mail to the mailadresses of the queue members. 
This gives you simple way to send mail from queue_a to all members of queue_b

regards!

Sven


Re: [rt-users] Retrieving information from RT-database

2015-01-30 Thread Sternberger, Sven
Hi!

a simple way is to use the commandline interface

/opt/rt4/bin/rt ls -t user
- gives you a list of all user

/opt/rt4/bin/rt show user/123456
- gives you all information about user with the id 123456

the interface utilize the rest interface, which is much easier
to use than the perl api (IMHO)

regards

sven

- Ursprüngliche Mail -
 Von: Luca Mazzaferro luca.mazzafe...@rzg.mpg.de
 An: rt-users@lists.bestpractical.com
 Gesendet: Donnerstag, 29. Januar 2015 10:14:08
 Betreff: [rt-users] Retrieving information from RT-database

 Dear Users,
 I'm writing a pieces of code in Perl to retrieve information directly
 from the RT internal database.
 I would like to know if there are some API provided by RT to interact
 with the database,
 for example retrieve the list of users and so on.
 I need this informations out of the web interface.
 Thank you.
 Cheers,
 
 Luca M.


Re: [rt-users] Cancel Resolve transaction based on custom fields

2015-01-30 Thread Jasper Olbrich


On 01/29/2015 11:52 PM, Kevin Falcone wrote:
 On Thu, Jan 29, 2015 at 03:04:55PM -0500, Alex Vandiver wrote:
 On Wed, 28 Jan 2015 14:27:22 +0100 Jasper Olbrich
 jasper.olbr...@students.uni-marburg.de wrote:
 Is it possible to suppress the status change from open to resolved
 with a scrip or to include the scrip-induced status change in the
 result box?

 Unfortunately, neither of these is possible in stock RT.  Scrips can
 only run _after_ a chance has happened, and thus have no chance of
 preventing it.  They also cannot currently push their results to the
 user.
 
 If you merely need has a value rather than has a specific value
 you may want
 https://metacpan.org/release/RT-Extension-MandatoryOnTransition

I need has a value iff another CF has a special value. Thanks for the
hint, I'll have a look at this extension.

-- 
Jasper Olbrich


Re: [rt-users] XLS report failure

2015-01-30 Thread Emmanuel Lacour

Le 29/01/2015 22:01, Boris Epstein a écrit :

Thanks for your help Alex!

Do you know if there are any DB changes involved?




no, this extension just format standard RT search results, it doesn't 
change anything on DB side.


--
Easter-eggs  Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37-   Fax: +33 (0) 1 43 35 00 76
mailto:elac...@easter-eggs.com  -   http://www.easter-eggs.com



[rt-users] Change queue only

2015-01-30 Thread Bartosz Maciejewski
Is there a way to only change queue but not see it in summary? Example:
User have rights only to this queues that was assigned to, lets say A,
B, C. Sometimes ticket arrives that should be in queue D or E, but is
registered in A or B or C. To not confuse user ideal solution will be
that user in QuickSearch and 10 tickets without owner still can see
only queue A,B or C, but in tickets details in thise queues can choose
from dropdown menu also queue D or E as well as A,B or C. Is this
achivable? RT is 4.0.10.




[rt-users] custom Template on Create Autoreply to Requestor for spicified queue

2015-01-30 Thread Eierschmalz, Bernhard
Hello,

by default there is a global scrip called on create autoreply to requestor 
which uses one defined template.
I would like to use a different template for one special queue. How can I do 
this?


Mit freundlichen Grüßen,
Best regards,

Bernhard Eierschmalz
IT

Tel. +49 8223 4002-39
Fax +49 8223 4002-1239
Mobil: +49 151 22308260
bernhard.eierschm...@scheppach.commailto:bernhard.eierschm...@scheppach.com
b...@scheppach.com

[Logo]http://www.scheppach.comscheppach Fabrikation von 
Holzbearbeitungmaschinen GmbH
Günzburger Str. 69 | D-89335 Ichenhausen
Tel.: +49 8223 4002-0 | Fax: +49 8223 4002-20
E-Mail: i...@scheppach.com | www.scheppach.com

[facebook]https://www.facebook.com/scheppach.group[xing] 
https://www.xing.com/companies/scheppachgroup  [LinkedIn] 
http://www.linkedin.com/company/scheppach-group[twitter] 
https://twitter.com/ScheppachGroup
Geschäftsführer / Managing Director: Ernst Pfaff, Stephan W. Müller
Registergericht Memmingen HRB 11800

Diese Nachricht enthält vertrauliche und ggf. rechtlich geschützte 
Informationen. Falls Sie nicht der beabsichtigte Empfänger sind, 
benachrichtigen Sie bitte den Absender und löschen Sie diese Nachricht umgehend 
aus Ihrem System. Das unerlaubte Kopieren, die Offenlegung sowie die Weitergabe 
dieser E-Mail sind nicht gestattet.
This email may contain trade secrets or otherwise confidential information. If 
you have received this email in error, please inform the sender immediately and 
destroy the original transmittal. Any unauthorized copying, disclosure or 
distribution is not permitted.



[Scheppach Aktion]http://aktion.scheppach.com




Re: [rt-users] custom Template on Create Autoreply to Requestor for spicified queue

2015-01-30 Thread Alex Peters
Create a queue-specific template with the same name as referenced by the
scrip.  The scrip will then use the queue's template when dealing with that
queue.
On 30 Jan 2015 9:57 pm, Eierschmalz, Bernhard 
bernhard.eierschm...@scheppach.com wrote:

  Hello,



 by default there is a global scrip called „on create autoreply to
 requestor” which uses one defined template.

 I would like to use a different template for one special queue. How can I
 do this?





 Mit freundlichen Grüßen,

 Best regards,



   *Bernhard Eierschmalz*
 IT

 Tel. +49 8223 4002-39
 Fax +49 8223 4002-1239
 Mobil: +49 151 22308260
 bernhard.eierschm...@scheppach.com
 b...@scheppach.com
 --
   [image: Logo] http://www.scheppach.com scheppach Fabrikation von
 Holzbearbeitungmaschinen GmbH
 Günzburger Str. 69 | D-89335 Ichenhausen
 Tel.: +49 8223 4002-0 | Fax: +49 8223 4002-20
 E-Mail: i...@scheppach.com | www.scheppach.com [image: facebook]
 https://www.facebook.com/scheppach.group [image: xing]
 https://www.xing.com/companies/scheppachgroup [image: LinkedIn]
 http://www.linkedin.com/company/scheppach-group [image: twitter]
 https://twitter.com/ScheppachGroup   Geschäftsführer / Managing
 Director: Ernst Pfaff, Stephan W. Müller
 Registergericht Memmingen HRB 11800
   Diese Nachricht enthält vertrauliche und ggf. rechtlich geschützte
 Informationen. Falls Sie nicht der beabsichtigte Empfänger sind,
 benachrichtigen Sie bitte den Absender und löschen Sie diese Nachricht
 umgehend aus Ihrem System. Das unerlaubte Kopieren, die Offenlegung sowie
 die Weitergabe dieser E-Mail sind nicht gestattet.
 This email may contain trade secrets or otherwise confidential
 information. If you have received this email in error, please inform the
 sender immediately and destroy the original transmittal. Any unauthorized
 copying, disclosure or distribution is not permitted.



 [image: Scheppach Aktion] http://aktion.scheppach.com