On 10/8/07, Leon Katsnelson <[EMAIL PROTECTED]> wrote:
>
> I was wondering if there is a way for me to use Trac to tickle the
> person to whom a ticket is assigned to for status? Basically, as the
> project manager I need to be able to annoy people once in a while
> about tickets they may have outstanding and get a status update.
>

Not built in, no.  But I have implemented this as a cron job.
Something like:

#!/usr/bin/env python
from trac.env import open_environment

env = open_environment('/path/to/env')
db = env.get_db_cnx()
cursor = db.cursor()
user_tickets = {}
cursor.execute("SELECT id, owner FROM ticket WHERE owner NOTNULL")
for id, owner in cursor:
    if owner not in user_tickets:
        user_tickets[owner] = [id]
    else:
        user_tickets[owner].append(id)

And then use whatever facilities you have to format the e-mails how
you like and mail them.

Erik

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to