#3110 closed defect (fixed)
Custom Workflow Actions Not Shown
Reported by: | anonymous | Owned by: | Alec Thomas |
---|---|---|---|
Priority: | high | Component: | XmlRpcPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description (last modified by )
We're using Eclipse/Mylyn to interface with Trac and have a custom workflow. The Actions in the workflow are not being reflected. For instance, a new ticket based on our workflow should have these available actions:
Leave as new
Ready for peer review
Request info
Assign to
Accept
In Mylyn though only these actions are available:
Leave as new
Accept
Resolve as
Reassign to
Attachments (1)
Change History (13)
comment:1 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 16 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:3 Changed 16 years ago by
Owner: | changed from Alec Thomas to fred |
---|---|
Status: | reopened → new |
comment:4 Changed 16 years ago by
Owner: | changed from fred to Alec Thomas |
---|
comment:5 Changed 16 years ago by
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
comment:6 Changed 16 years ago by
I have recently taken it upon myself to add support for this in mylyn : https://bugs.eclipse.org/bugs/show_bug.cgi?id=175211#c25
I think to better support this, the xmlrpc plugin should publish a couple new functions:
- A function that returns all the available actions as a struc with the following fields
- The action (like test, resolve, set_resolution (Like in the enterprise workflow))
- The action name (to Prints it in a nice form for the user)
- The action operation (if any) (For example if the operation is set_owner we can show a text box for the user to input the owner);
- The next status
- a supplement attribute list for cases like set_resolution which can set a limited selectable values.
- A function to execute the action on the trac side, as if a user executed it from the web interface, this for better support in custom made operations like: http://trac-hacks.org/wiki/AdvancedTicketWorkflowPlugin. The function will be like the "ticket.update" function but will also expect the action to be performed, the attribute list will be for any extra information needed to perform the action such as set_owner or set_resolution.
comment:7 Changed 16 years ago by
Description: | modified (diff) |
---|
Patches are welcome.
I no longer use the XML-RPC plugin myself, so I don't get much opportunity to work on it. The Mylyn community seem to be very heavy users, so if anybody wants to step up and take over maintenance I'd consider it.
comment:9 Changed 16 years ago by
For Cube°n TracConnector I have implemented something similiar to the proposed solution. I will attach the patch.
Changed 16 years ago by
Attachment: | workflow-actions.patch added |
---|
Patch for better custom worklfow support
comment:10 Changed 16 years ago by
At the top of this ticket, it says:
Ticket #3110 (new defect: fixed)
Is this ticket fixed, even though its status is "new" and not accepted? If so, why is it not closed? This is confusing and makes Trac, as a general purpose ticket tracker, look unprofessional.
comment:12 Changed 15 years ago by
FYI. This issue is clearly not yet fixed, but I'm leaving it closed anyway - it will be fixed soon as part of ongoing patch on #1075.
Please refer to this bug:
223173: Action list not correct when using custom workflow with trac 0.11 https://bugs.eclipse.org/bugs/show_bug.cgi?id=223173