[rt-users] closing tickets via email
Brett Barnhart
BrettB at hkusa.com
Wed Jul 14 17:30:28 EDT 2004
Or maybe have just like a queue-comment at blah.com to make a comment have
queue-resolve at blah.com to resolve... if the action would work, this would be
very simple.
> -----Original Message-----
> From: Joseph Spenner [mailto:joseph85750 at yahoo.com]
> Sent: Wednesday, July 14, 2004 4:06 PM
> To: rt-users at lists.bestpractical.com
> Subject: [rt-users] closing tickets via email
>
>
> I've seen messages in the past about this, but can't
> locate any info about it in the documentation.
> I use RT 2.0.15 and would like to have the ability to
> close a ticket via email. So, if the body of the
> email contains something like "RESOLVE-RT", it would
> resolve the existing ticket.
> My thinking was that I could simply do this via the
> aliases file. So, instead of what I have now for my
> general queue:
>
> general: "|/opt/rt2/bin/rt-mailgate --queue general
> --action correspond"
>
> I would have something like this:
>
> general: "|/path/to/resolveCheck.pl"
>
> and resolverCheck.pl would look something like:
>
> @message=<STDIN>;
> $messageString=join(" ", @message);
>
> if ($messageString =~ m/RESOLVE-RT/) {
> open (PIPE, "|/opt/rt2/bin/rt-mailgate --queue general
> --action resolve");
> print PIPE @message;
> close PIPE;
> }
>
> else {
> open (PIPE, "|/opt/rt2/bin/rt-mailgate --queue general
> --action correspond");
> print PIPE @message;
> close PIPE;
> }
>
> Unfortunately, "--action resolve" is not valid. Only
> "comment" and "correspond" are valid.
>
> Any other way to accomplish this?
>
> Thanks!
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Read only the mail you want - Yahoo! Mail SpamGuard.
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT wiki at http://wiki.bestpractical.com
>
More information about the rt-users
mailing list