Edgewall Software
Modify

Opened 9 years ago

Closed 9 years ago

#11857 closed enhancement (fixed)

Rename the < default > value for [ticket] default_owner

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.2
Component: ticket system Version:
Severity: normal Keywords: component
Cc: Branch:
Release Notes:
  • The ticket owner is shown in the ticket properties box during preview when the value is < default >.
  • <default> is allowed as an alias for < default > in the [ticket] default_owner setting.
API Changes:

Moved logic that sets ticket owner to component owner from Ticket model to the ConfigurableTicketWorkflow.

Internal Changes:

Description

The value < default > that was added in #1333 has caused a bit of confusion due to the change in behavior (TracUpgrade#Behaviorofticketdefault_ownerchanged) and the use of whitespace in < default >.

The proposed changes will add <default> and <component_owner> as values that cause tickets to be assigned to the Component owner. Use of <default> and < default > will be deprecated and <component_owner> will be used in the documentation.

Besides being more verbose, <component_owner> implies how additional special values provided by Trac and plugins might be named: <project_owner>, <milestone_owner>, etc … We should explore the mechanism by which plugins might extend the supported values.

Attachments (0)

Change History (9)

comment:1 by Ryan J Ollos, 9 years ago

Type: defectenhancement

comment:2 by Ryan J Ollos, 9 years ago

Milestone: next-dev-1.1.x1.1.4

comment:3 by Ryan J Ollos, 9 years ago

Owner: set to Ryan J Ollos
Status: newassigned

comment:4 by Ryan J Ollos, 9 years ago

Milestone: 1.1.41.1.5

Narrowing focus for 1.1.4.

comment:5 by Ryan J Ollos, 9 years ago

Milestone: 1.1.51.2

comment:6 by Ryan J Ollos, 9 years ago

Milestone: 1.21.1.6

Milestone renamed

comment:7 by Ryan J Ollos, 9 years ago

Milestone: 1.1.6next-dev-1.1.x
Owner: Ryan J Ollos removed
Status: assignednew

comment:8 by Ryan J Ollos, 9 years ago

Milestone: next-dev-1.1.x1.2
Owner: set to Ryan J Ollos
Release Notes: modified (diff)
Status: newassigned

I've decided to defer for now the change of adding the <component_owner> alias. The proposed changes in log:rjollos.git:t11857 move the logic that sets the ticket owner to component owner from the Ticket model to the ConfigurableTicketWorkflow. The changes are similar to #11858 in that they can be overridden by changing the ITicketActionController ([ticket] workflow). See comment:8:ticket:11858.

Version 0, edited 9 years ago by Ryan J Ollos (next)

comment:9 by Ryan J Ollos, 9 years ago

API Changes: modified (diff)
Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Committed to trunk in [14233].

An outcome of the changes is that the actual ticket owner is shown in the properties dialog during preview rather than < default >.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ryan J Ollos 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.