This would actually be a place to use a workflow action  
(ITicketActionController). Unfortunately the workflow system doesn't  
have hooks for creation, so ITicketChangeListener is probably what you  
need right now, specifically the ticket_created callback. In that you  
would look at the ticket object (an instance of  
trac.ticket.model.Ticket, see http://trac.edgewall.org/wiki/TracDev/DataModels) 
  passed to you, and possibly create and save a new ticket object. Be  
careful to not allow for infinite recursion though, as this will do  
Very Bad Things. Hope this helps, in general the best place to ask  
development-oriented questions is the #trac IRC channel, I am known as  
coderanger there.

--Noah

--~--~---------~--~----~------------~-------~--~----~
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