Re: [rt-users] rt-users Digest, Vol 128, Issue 4
> From: Christian Loos > To: Duncan Napier , rt-users@lists.bestpractical.com > Subject: Re: [rt-users] Any way to turn subscription email into a > .html document? > Message-ID: <5459d37d.5070...@netcologne.de> > Content-Type: text/plain; charset=windows-1252 > > Am 04.11.2014 um 22:49 schrieb Duncan Napier: > > > > - Original Message - > >> I have created some RT Subscriptions, but I was wondering if there is an > >> easy > >> way to convert the subscription content into a HTML document? > >> : : > > Just in case anyone is interested, I managed to do this. Here is how it was > > done: > > > What do you exactly mean by "subscription email"? > Reading all above I would assume that you don't use RT Dashboards, but > thats exactly what you want: > * you can display them within the RT Webinterface > * you can send them as e-mail > > Here is the documentation: > http://www.bestpractical.com/docs/rt/4.2/dashboards.html > While the documentation is for RT 4.2, dashboards are also available in > RT 4.0 without the DashboardInMenu function. > > Chris > > Hi - my terminology was vague/incorrect. What I should have said that I wanted to post various Dashboard subscriptions to a website that was widely accessible. We use a setup where all our non-RTadmin users are non-privileged. These users create new tickets via the RT SelfServe interface. Once the ticket is created, they can correspond either rt-mailgate and/or the SelfServe interface. I wanted non-technical group managers and some other (RT non-privileged) staff to be able to access dashboards showing open/resolved tickets for their groups/queues. I played around with all manner of Group Rights and User Rights and was unable to grant non-privileged, SelfServe users the rights to access custom dashboards. So I ended up creating a script to take the Dashboard subscription and post it as a webpage for these users to access if they needed to.
Re: [rt-users] Supress owner change emails?
On 11/6/2014 5:43 AM, Johan Sundström wrote: > Hi! > > We have set up a script that changes the owner of a ticket upon first > email-reply to the ticket. When the owner is changed, RT sends out a > mail about this(see below). We would like to disable this notice from > beeing sent, any ides on how to do this? Admin -> Scrips -> Select -> On Owner Change Notify Owner Uncheck "enabled", click Save Changes -- Jeff Blaine kickflop.net PGP/GnuPG Key ID: 0x0C8EDD02
Re: [rt-users] rt & asterisk
ok thanks. in perl: comment in ticket in create but Without attach... What to Do? #!/usr/bin/perl # # comment_on_ticket.pl -- add comment to an RT ticket. use strict; use warnings; use RT::Client::REST::Ticket; use Error qw(:try); use RT::Client::REST; use RT::Client::REST::Ticket; use MIME::Entity; use MIME::Lite; unless (@ARGV >= 4) { die "Usage: $0 username password ticket_id comment\n"; } my $rt = RT::Client::REST->new( server => ($ENV{RTSERVER} || 'http://192.168.1.201/rt'), ); $rt->login( username=> shift(@ARGV), password=> shift(@ARGV), ); my $attachments_1 = MIME::Lite->new(Type =>'application/octet-stream'); $attachments_1->attach(Type => 'application/octet-stream', Path => '/pasokh.gsm', Filename => 'pasokh.gsm', Disposition => 'attachment' ); my $ticket = RT::Client::REST::Ticket->new( rt => $rt, id => shift(@ARGV), ); try { $ticket->comment( message => shift(@ARGV), cc => [qw(info [at] pionfirm)], attachments_1 => $attachments_1 ); } catch Exception::Class::Base with { my $e = shift; die ref($e), ": ", $e->message || $e->description, "\n"; }; use Data::Dumper; print Dumper($ticket); On Wednesday, November 5, 2014 10:01 PM, Shahab Sharifzadeh wrote: very thank... nobody help me?
[rt-users] Supress owner change emails?
Hi! We have set up a script that changes the owner of a ticket upon first email-reply to the ticket. When the owner is changed, RT sends out a mail about this(see below). We would like to disable this notice from beeing sent, any ides on how to do this? mail looks like this: Thu Nov 06 09:29:00 2014: Request 370 was acted upon. Transaction: Given to johan.sundstrom by RT_System Queue: it-support Subject: Iphone Owner: johan.sundstrom Requestors: jans.heine...@xx.se Status: open Ticket http://helpdesk.xx.se/rt/Ticket/Display.html?id=370 > This transaction appears to have no content / Johan Sundström
Re: [rt-users] rt & asterisk
On 11/05/2014 07:31 PM, Shahab Sharifzadeh wrote: > very thank... > > nobody help me? > > I suggest to use the Perl module RT::Rest::Client and not trying to hack the content by your own. Even PHP should have some support for stuff like that. Regards Racke -- Modern Perl, Dancer and eCommerce consulting.