Modify

Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#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 Alec Thomas)

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 15 years ago.
Patch for better custom worklfow support

Download all attachments as: .zip

Change History (13)

comment:1 Changed 16 years ago by anonymous

Resolution: fixed
Status: newclosed

comment:2 Changed 16 years ago by anonymous

Resolution: fixed
Status: closedreopened

comment:3 Changed 16 years ago by anonymous

Owner: changed from Alec Thomas to fred
Status: reopenednew

comment:4 Changed 16 years ago by anonymous

Owner: changed from fred to Alec Thomas

comment:5 Changed 16 years ago by Steffen Pingel

Description: modified (diff)
Resolution: 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 16 years ago by Daniel Adrian

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 Alec Thomas

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

Any change this will ever get fixed ?

comment:9 Changed 15 years ago by Sven

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

Changed 15 years ago by anonymous

Attachment: workflow-actions.patch added

Patch for better custom worklfow support

comment:10 Changed 15 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 15 years ago by Alec Thomas

Status: newclosed

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

comment:12 Changed 15 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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.