Have a look at the contrib/trac-post-commit-hook script, which does something similar:
ticket = Ticket(self.env, tkt_id) ticket['status'] = 'closed' ticket['resolution'] = 'fixed' ticket.save_changes(self.author, self.msg, self.now) tn = TicketNotifyEmail(self.env) tn.notify(ticket, newticket=0, modtime=self.now) Do you call the 'notify' method once you've committed the change to the ticket ? Is there any debug info in the log file? HTH, Manu On 2/1/07, Allen Bierbaum <[EMAIL PROTECTED]> wrote: > > I have been writing a GUI to connect to trac using XMLRPC. It is all up > and running now but I seem to have problems with notification. > > When I use the XMLRPC interface to make a change to a ticket, it changes > the ticket correctly, but it does not trigger the associated > notification code to be called. > > Can anyone point me in the right direction to fix this? > > I am using the head of the 0.10-stable branch right now. > > -Allen > > > > -- Manu --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
