Edgewall Software
Modify

Opened 18 years ago

Closed 17 years ago

Last modified 17 years ago

#5426 closed enhancement (wontfix)

Add a operation to simple_workflow.py - del_owner

Reported by: jim@… Owned by: Eli Carter
Priority: normal Milestone:
Component: ticket system Version: devel
Severity: normal Keywords: workflow
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

The del_owner operation could default back to component owner (if applicable).

Or define a new operation that does assign the ticket to the component owner.

Here is a suggestion for the simple_workflow.py:234 (r5500) (just a suggestion and this is lacking code for the rendering operation).

            elif operation == 'set_owner_to_component_owner': 
                # Set the owner to the component owner 
                components = model.Component.select(self.env); 
                options = [ticket['component'] for val in 
model.Component.select(self.env)] 
                if val.owner: 
                    updated['owner'] = val.owner 
                else: 
                    raise TracError('Failed to find owner for 
component.' % (ticket['component']), 'Invalid Operation')

Attachments (0)

Change History (4)

comment:1 by Jim Arnell <jim@…>, 18 years ago

Summary: del_owner operationAdd a operation to simple_workflow.py - del_owner

comment:2 by Eli Carter, 17 years ago

Owner: changed from Jonas Borgström to Eli Carter

comment:3 by Eli Carter, 17 years ago

Resolution: wontfix
Status: newclosed

The set_owner_to_component_owner operation is provided by wiki:AdvancedTicketWorkflowPlugin.

comment:4 by Christian Boos, 17 years ago

Milestone: 0.11.1

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Eli Carter.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Eli Carter to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.