I want to implement the Workflow mechanism in email2trac, eg when i
ticket is closed and the reporter sends another email. it will reopen
the ticket and clears the resolution. For some sites this is not
appropriate and we they asked me if i could implement the Workflow
mechanism.  So i looked at the api and tried to implement it, but am
failing because i have not a valid 'req' variable. I have looked at
the sources but i think  it is set by the fcgi or mod_python.

{{{
  controller = ConfigurableTicketWorkflow(self.envv)
  print controller.actions['reopen']
  b = controller.get_ticket_changes(req, tkt, 'reopen')
}}}

It is failing in get_ticket_changes beacause it checks if we have the
right permisiions.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to