Edgewall Software
Modify

Ticket #905 (closed enhancement: fixed)

Opened 7 years ago

Last modified 5 years ago

[PATCH] Add resolution 'moved' to the list of possible ticket resolutions

Reported by: pkou <pkou at ua.fm> Owned by: cboos
Priority: normal Milestone: 0.11
Component: ticket system Version: devel
Severity: normal Keywords: workflow
Cc: dombly@…
Release Notes:
API Changes:

Description

One more resolution type is possible when a ticket is resolved: moved.
The description of the new resolution type is available at Bugzilla help:

The problem was specific to a related product whose bugs are tracked in another
bug database. The bug has been moved to that database.

Patch attached.

Attachments

patch-resmoved-r1040.diff (1.1 KB) - added by pkou <pkou at ua.fm> 7 years ago.
Patch for the changes

Download all attachments as: .zip

Change History

Changed 7 years ago by pkou <pkou at ua.fm>

Patch for the changes

comment:1 Changed 7 years ago by Gunnar Wagenknecht <gunnar@…>

  • Cc gunnar@… added

comment:2 Changed 6 years ago by cboos

  • Keywords workflow added

comment:3 Changed 6 years ago by cboos

  • Owner changed from jonas to cboos

I added trac-admin commands for resolution, in r2846.

However, I don't know if the moved resolution should be added as a default.

Also, it should be possible to specify the target for the move,
and in this respect, this ticket is related to #1395 (ability
to explicitely specify the duplicated ticket).

comment:4 Changed 6 years ago by cboos

  • Milestone set to 0.11
  • Status changed from new to assigned

comment:5 Changed 6 years ago by athomas

  • Owner changed from cboos to athomas
  • Status changed from assigned to new

In the WorkFlow sandbox, additional resolutions can be added programatically through the ITicketEnumContributor interface.

Duplicate ticket logic can also be added quite easily.

I'll assign this to myself for the 0.11 merge unless you have any objections Christian?

comment:6 Changed 6 years ago by athomas

  • Status changed from new to assigned

comment:7 Changed 6 years ago by cboos

IIUC, the various resolutions shouldn't be stored in the db anymore, right?
If so, you should revert r2846.

comment:8 Changed 6 years ago by INOUE Hiroyuki <dombly@…>

  • Cc dombly@… added

Is there any way out there to safely localize resolution names?
If none, IMHO r2846 could hack it out (on post-install stage).

comment:9 Changed 6 years ago by anonymous

  • Cc gunnar@… removed

comment:10 Changed 5 years ago by ilias@…

related: #4260

comment:11 Changed 5 years ago by cboos

  • Owner changed from athomas to cboos
  • Status changed from assigned to new

For the time being, the resolution is still and enum, and I think it's convenient enough that way.

comment:12 Changed 5 years ago by cboos

  • Resolution set to fixed
  • Status changed from new to closed

Fixed by r5384 (admin panel for resolutions) and r5391 (trac-admin $TRAC_ENV resolution command).

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from cboos. Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.