Edgewall Software
Modify

Opened 11 years ago

Last modified 9 years ago

#7300 new enhancement

[PATCH] Support for ticket reassignment in trac-post-commit-hook

Reported by: ian@… Owned by:
Priority: normal Milestone: unscheduled
Component: ticket system Version:
Severity: normal Keywords: patch
Cc: Branch:
Release Notes:
API Changes:

Description

I extended trac-post-commit-hook to support reassignment in the form of:

reassign #1 to user assign #1 user

Attachments (2)

reassignment.patch (4.2 KB ) - added by ian@… 11 years ago.
Patch to support reassignment in trac-post-commit-hook
reassignment-compat.patch (1.3 KB ) - added by ian@… 11 years ago.
Compatibilty patch

Download all attachments as: .zip

Change History (8)

by ian@…, 11 years ago

Attachment: reassignment.patch added

Patch to support reassignment in trac-post-commit-hook

by ian@…, 11 years ago

Attachment: reassignment-compat.patch added

Compatibilty patch

comment:1 by ian@…, 11 years ago

reassignment-compat.patch restores compatibility with Trac 0.10.x installs. Apply after reassignment.patch.

comment:2 by Piotr Kuczynski <piotr.kuczynski@…>, 11 years ago

Component: generalticket system

comment:3 by Remy Blank, 11 years ago

Milestone: 2.0
Owner: Jonas Borgström removed

comment:4 by Remy Blank, 11 years ago

Keywords: patch added

comment:5 by Christian Boos, 9 years ago

Milestone: 2.0unscheduled

Milestone 2.0 deleted

comment:6 by Remy Blank, 9 years ago

Milestone: triagingunscheduled

This should be adapted to the new CommitTicketUpdater. I wonder if it would be possible to design a syntax that would allow arbitrary arguments to commands, while remaining language-neutral (reassignment.patch uses "to"). Something like:

Refs #123 !owner:joe,priority=low!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned. Next status will be 'new'.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


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