[rt-users] Emailing tickets search result
Eynat Nir Mishor
eynatnir2 at hotmail.com
Thu Feb 7 02:50:41 EST 2008
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.
More information about the rt-users
mailing list