Modify

Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#3110 closed defect (fixed)

Custom Workflow Actions Not Shown

Reported by: anonymous Owned by: 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 (1)

workflow-actions.patch (4.1 KB) - added by anonymous 6 years ago.
Patch for better custom worklfow support

Download all attachments as: .zip

Change History (13)

comment:1 Changed 6 years ago by anonymous

  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 6 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:3 Changed 6 years ago by anonymous

  • Owner changed from athomas to fred
  • Status changed from reopened to new

comment:4 Changed 6 years ago by anonymous

  • Owner changed from fred to athomas

comment:5 Changed 6 years ago by stp

  • Description modified (diff)
  • Resolution set to fixed

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

comment:6 Changed 6 years ago 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.

comment:7 Changed 6 years ago by athomas

  • 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:8 Changed 6 years ago by anonymous

Any change this will ever get fixed ?

comment:9 Changed 6 years ago by sreimers

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

Changed 6 years ago by anonymous

Patch for better custom worklfow support

comment:10 Changed 6 years ago by anonymous

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:11 Changed 6 years ago by athomas

  • Status changed from new to closed

Look at the history. It's clearly a bug.

comment:12 Changed 6 years ago by osimons

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.

Add Comment

Modify Ticket

Action
as closed The owner will remain athomas.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.