Ticket #3110 (new defect: fixed)

Opened 6 months ago

Last modified 2 weeks ago

Custom Workflow Actions Not Shown

Reported by: anonymous Assigned to: athomas
Priority: high Component: XmlRpcPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (Last modified by athomas)

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

workflow-actions.patch (4.1 kB) - added by anonymous on 11/21/08 16:27:09.
Patch for better custom worklfow support

Change History

06/23/08 13:46:48 changed by anonymous

  • status changed from new to closed.
  • resolution set to fixed.

06/23/08 13:47:00 changed by anonymous

  • status changed from closed to reopened.
  • resolution deleted.

06/23/08 13:47:34 changed by anonymous

  • owner changed from athomas to fred.
  • status changed from reopened to new.

06/23/08 13:47:59 changed by anonymous

  • owner changed from fred to athomas.

06/23/08 22:54:43 changed by stp

  • version changed.
  • resolution set to fixed.
  • description changed.
  • milestone changed.

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

06/28/08 15:07:09 changed by paradoxpixel

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.

06/29/08 08:06:35 changed by athomas

  • description changed.

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.

09/03/08 14:06:18 changed by anonymous

Any change this will ever get fixed ?

11/21/08 16:25:39 changed by sreimers

For Cube°n TracConnector? I have implemented something similiar to the proposed solution. I will attach the patch.

11/21/08 16:27:09 changed by anonymous

  • attachment workflow-actions.patch added.

Patch for better custom worklfow support


Add/Change #3110 (Custom Workflow Actions Not Shown)




Change Properties
Action