Opened 9 years ago

Last modified 5 days ago

#2107 new task

Integration with Workflow

Reported by: hw@… Owned by:
Priority: normal Component: WorkLogPlugin
Severity: normal Keywords: Workflow, WorkLogPlugin
Cc: Trac Release: 0.11


Hi coling,

Can you explain please your plugin can work with .11 workflows ? i.e. If you start working the ticket status goes to the in_work status if you stop work to the assigned status (in the enterprsie workflow example)

Thanks a lot,


Attachments (0)

Change History (6)

comment:1 Changed 9 years ago by goldman

  • Trac Release changed from 0.10 to 0.11

I would really like to see WPL integrated with 0.11 workflows. We're using Enterprise workflow, and currently one has to click 'Start Work', then change ticket state to 'In Work'. WPL should be configurable to automatically change ticket state to 'In Work' (or any other user-defined workflow state) instead of just 'assigned'

comment:2 Changed 9 years ago by coling

  • Status changed from new to assigned

Wow, sorry I didn't see this ticket.

Yes, I am fully intending to add workflow support to WorkLogPlugin. I've just not had much time recently for any of my plugins. I'll probably get some sort of "spurt" on soon :)

comment:3 Changed 8 years ago by christian.unger@…

any news here?

comment:4 Changed 8 years ago by coling

Hi Christian.

I did make a fair bit of headway here with a patch in my local checkout but I wasn't happy with how things were going and also had some interest from a another developer with a different approach to recording time and wanted to look into it.

So the short answer is there is no news (and sorry for not seeing your post ealier). I do hope to spend a little time tidying up my various plugins soon... but the best laid plans and all that ;)

comment:5 Changed 8 years ago by anonymous

I had to change some code to fix plugin workflow behaviour:

Index: worklog/
--- worklog/	(revision 5111)
+++ worklog/	(working copy)
@@ -129,8 +129,8 @@
             tckt = Ticket(self.env, ticket, db)
-        if 'assigned' != tckt['status']:
-            tckt['status'] = 'assigned'
+        if 'accepted' != tckt['status']:
+            tckt['status'] = 'accepted'
             self.save_ticket(tckt, db, 'Automatically accepting in order to start work.')
         # There is a chance the user may be working on another ticket at the moment

comment:6 Changed 5 days ago by rjollos

  • Owner coling deleted
  • Status changed from assigned to new

Add Comment

Modify Ticket

as new The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.