Modify ↓
#5426 closed enhancement (wontfix)
Add a operation to simple_workflow.py - del_owner
Reported by: | 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 , 17 years ago
Summary: | del_owner operation → Add a operation to simple_workflow.py - del_owner |
---|
comment:2 by , 17 years ago
Owner: | changed from | to
---|
comment:3 by , 17 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:4 by , 17 years ago
Milestone: | 0.11.1 |
---|
Note:
See TracTickets
for help on using tickets.
The
set_owner_to_component_owner
operation is provided by wiki:AdvancedTicketWorkflowPlugin.