[rt-users] Emailing tickets search result

Todd Chapman todd at chaka.net
Sun Feb 10 22:11:38 EST 2008


Why don't you just email a link to a search so that it runs when clicked?

On 2/7/08, Eynat Nir Mishor <eynatnir2 at hotmail.com> wrote:
> Thanks - it does the job, but it has two drawbacks:
>
> 1. It produces very simple textual output.  I would like to send a richer
> HTML output similar to how search results appear in RT.
>
> 2. It is hard to customize.  I would like to use a template mechanism for
> easy customization that my occur later in time.
>
> Eynat
>
> -----Original Message-----
> From: Toby Darling [mailto:darling at ccdc.cam.ac.uk]
> Sent: Wednesday, 06 February 2008 7:24 PM
> To: Eynat Nir Mishor
> Cc: rt-users at lists.bestpractical.com
> Subject: Re: [rt-users] Emailing tickets search result
>
> Hi
>
> > Example for usage: every night email the manager a list of all tickets
> that
> > were created in the past day and how they divide by current status.
>
> Simple command line:
>
> for s in open new resolved; do
>    echo "=== $s ==="; rt list -s "created = 'today' AND status = '$s'";
> done | mail ...
>
> LEGAL NOTICE
> Unless expressly stated otherwise, information contained in this
> message is confidential. If this message is not intended for you,
> please inform postmaster at ccdc.cam.ac.uk and delete the message.
> The Cambridge Crystallographic Data Centre is a company Limited
> by Guarantee and a Registered Charity.
> Registered in England No. 2155347 Registered Charity No. 800579
> Registered office 12 Union Road, Cambridge CB2 1EZ.
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>



More information about the rt-users mailing list