Opened 9 years ago
Last modified 9 years ago
#11858 closed enhancement
Add a set_owner_to_component_owner workflow operation — at Initial Version
Reported by: | Ryan J Ollos | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.2 |
Component: | ticket system | Version: | |
Severity: | normal | Keywords: | workflow component |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
As described in comment:53:ticket:2045, it would be good to move out of the model the behavior tags/trac-1.0.2/trac/ticket/model.py@:286-303#L260 of changing the component of a ticket in the new state. The behavior can be moved to the ticket workflow. To preserve the existing behavior we'll need to modify the workflow in an upgrade step to support the following transition:
leave_new = new -> new leave_new.label = leave leave_new.default = 1 leave_new.operations = leave_status, set_owner_to_component_owner
Another way to accomplish this might be to allow the <component_owner>
to be used in the set_owner
attribute.
Either way, we'll need to decide whether the behavior should be described in the workflow action hint, or whether it should be silent. If we decide it should be silently applied, that will drive the need for a workflow configuration attribute to configure the operation as a silent one.