Modify

Opened 17 years ago

Last modified 8 years 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

Description

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,

Holger

Attachments (0)

Change History (6)

comment:1 Changed 17 years ago by Peter

Trac Release: 0.100.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 17 years ago by Colin Guthrie

Status: newassigned

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 16 years ago by christian.unger@…

any news here?

comment:4 Changed 16 years ago by Colin Guthrie

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 16 years ago by anonymous

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

Index: worklog/manager.py
===================================================================
--- worklog/manager.py	(revision 5111)
+++ worklog/manager.py	(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 8 years ago by Ryan J Ollos

Owner: Colin Guthrie deleted
Status: assignednew

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.