Re: [rt-users] new RT 4.2.x install on Ubuntu 14.04 with nginx
Hi guys I`m about to install RT 4.2.x on Ubuntu 14.04. This will be a fresh install which will accommodate our current DB. Currently I have some issues with getting nginx running with pearl cri. Most of the walkthrough I could find describe the installation with apache. I was wondering if you have any pointers on how to get this up and running and import the production RT. Thank you __ Regards, Andrei Gronski Far Edge Technology Level 9, 121 Walker Street, North Sydney p. 02 84251400 m. 0458 602 417 e. andrei.gron...@faredge.com.au w. http://www.faredge.com.au
Re: [rt-users] RT canned responses
Hello, It can be done with articles. https://bestpractical.com/docs/rt/4.2/customizing/articles_introduction.html Murillo Azambuja Gonçalves On 07/08/2015 09:05 AM, Ashish Patil wrote: Hello, I wish to have canned responses that I can use to reply/comment on a Ticket. Is there any way that can be done?
[rt-users] RT canned responses
Hello, I wish to have canned responses that I can use to reply/comment on a Ticket. Is there any way that can be done?
Re: [rt-users] How to access X-RT-Interface header from On Create scrip?
Hello, I don't know if an elegant solution using X-RT-Interface is possible, but I can give a workaround. This is the custom condition we use to separate ticket creation from web and mail: pre # Custom condition to notify when a ticket is created from e-mail # Based on OnCreateFromEmail # http://requesttracker.wikia.com/wiki/OnCreateFromEmail my $trans = $self-TransactionObj; return 0 unless $trans-Type eq Create; my $msgattr = $trans-Message-First; return 0 unless $msgattr; return 0 unless $msgattr-GetHeader('Received'); return 1; /pre I hope it helps. 2015-07-07 3:16 GMT+02:00 Russell Jones russ...@jonesmail.me: I am trying to access the new X-RT-Interface header in order to determine within a Scrip if a ticket was created via Email or Web. However whenever I try to create a new ticket and use an On Create scrip to read this header, I get errors saying Can't call method GetHeader on an undefined value. Can anyone please provide an example of how to properly access this header? Thank you!
Re: [rt-users] [rt-devel] alternative to edit comments
Thanks for the answer ! I can update the ticket time obviously but, for me, it is less important than the transaction time which allow me to see the time per person for a ticket. Oh it's great ! But where your module and your EditBilling.html are located ? In a path like /usr/share/request-tracker4/html ? *Christophe ARBEZ | Stagiaire développement* Syloé 803 rue de Pinville - 34000 Montpellier Tél: +33983014518 Email: christophe.ar...@syloe.fr www.syloe.fr http://www.syloe.com/ | Blog.syloe.com http://blog.syloe.com/ | Twitter https://twitter.com/Syloe_SARL | Facebook https://www.facebook.com/pages/Sylo%C3%A9/188258434526095?ref=hl 2015-07-07 22:22 GMT+02:00 Matt Zagrabelny mzagr...@d.umn.edu: On Tue, Jul 7, 2015 at 8:01 AM, ARBEZ Christophe christophe.ar...@gmail.com wrote: Hi all, I know it is not possible to edit some message in RT. So, I would like how you do for a comment if you make a mistake in the content or the time worked ? You can update the ticket time after creating your txn. Perhaps that will help? For example, in a project or intern tickets in your company. Is there an alternative to edit transactions like comments? You could create an Edit Content link and add it to the txn links and from there create a custom form. You'll need something like: # {{{ # paper-trail auditor backdoor :) # Needed to change the txn's time taken via EditBilling.html package RT::Transaction; use strict; no warnings qw(redefine); sub _Set { my $self = shift; $self-SUPER::_Set(@_); } # }}} added to a loaded modules source. We do this for our billing stuff. We have a module named RT-Site-UMN-Duluth-EFS which the above code snippet lives in and a form named EditBilling.html which does the front-end work. Cheers, -m
[rt-users] Including latest transactions in RSS-Feed
Hi guys! I'm looking for a possibility to include the latest transactions (comments, correspondance) in the RSS feed of a saved search. At the moment, only the content of the FIRST transaction is included into the feed. What I'm looking for is a possibility to have every transaction (of types Create, Correspond, Comment, Resolve) for a ticket in the feed. How could I achieve this? BR, Markus
[rt-users] Possible to manually initiate templates (emails) from within a scip action?
Is it possible for a scrip to trigger/send a template (email) from within the scrip action itself, with only a blank scrip assigned to the general scrip configuration? I'd like to loop through multiple requestors and cc's on a ticket to send each of them a unique, customized specially to each user, in response to a ticket transaction. I want to use this functionality to ensure that any user on a ticket without a password is sent a welcome email setting their password so they can use the self-service website.
Re: [rt-users] AD integration for external auth
On 7/7/15 4:50 PM, Yan Seiner wrote: But the way ExternalAuth is set up, I have to provide the ldap userid and password, which in our system would be a real user. 'user' = 'rt_ldap_username', 'pass' = 'rt_ldap_password', Is there any way to get ExternalAuth to use the credentials entered in the login to bind to the ldap server? At user login ExternalAuth first finds the user with the credentials you mention above, and then attempts to bind with the login provided credentials. A successful bind is how it knows that the user is authenticated. From the code: my $ldap_entry = $ldap_msg-first_entry; my $ldap_dn= $ldap_entry-dn; # THIS bind determines success or failure on the password. $ldap_msg = $ldap-bind($ldap_dn, password = $password); But notice that I need to use either 'HPM\yans' for the user or the older 'y...@hpm.net' for the system to allow me to bind to the ldap server. The way we're set up, any user can bind to the server with valid credentials, but anonymous binds are not allowed. For the former, you'd have to modify the extension to prefix the username it attempts to bind with. The subroutine is RT::Authen::ExternalAuth::LDAP::GetAuth. You could make a command line script to call this and debug it until you get it to return 1. Like jdg117 mentioned, you have to get Net::LDAP connecting to your LDAP and then figure out how to configure or modify the extension to get it to connect in the same way. For the latter I think you can update the configuration to store the email address as the name so that its used when the bind is attempted. You'd have to use the email address to log in to RT. Perhaps make attr_match_list just 'EmailAddress' and then have in the attr_map: 'Name' = 'mail', # instead of sAMAccountName 'EmailAddress' = 'mail',
Re: [rt-users] new RT 4.2.x install on Ubuntu 14.04 with nginx
On 7/8/15 6:41 AM, Andrei Gronski wrote: Currently I have some issues with getting nginx running with pearl cri. Most of the walkthrough I could find describe the installation with apache. The deployment guide covers nginx: https://www.bestpractical.com/docs/rt/latest/web_deployment.html#nginx
Re: [rt-users] Possible to manually initiate templates (emails) from within a scip action?
What I would probably do for this is in the scrip action create a ticket in a different queue for each user with that condition. This will send them an autoreply. To make sure you don't send out duplicates you could check for a ticket in that queue with that requestor before creating the ticket. As for what the code would look like, I'd call $ticket-Create similar to how RT::Test::create_ticket does it. On 7/8/15 11:57 AM, Subjected wrote: Is it possible for a scrip to trigger/send a template (email) from within the scrip action itself, with only a blank scrip assigned to the general scrip configuration? I'd like to loop through multiple requestors and cc's on a ticket to send each of them a unique, customized specially to each user, in response to a ticket transaction. I want to use this functionality to ensure that any user on a ticket without a password is sent a welcome email setting their password so they can use the self-service website.