Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#9100 closed enhancement (worksforme)

Please add a possibility to close ticket from outside web interface.

Reported by: Artur R. Czechowski <arturcz@…> Owned by:
Priority: normal Milestone:
Component: ticket system Version:
Severity: normal Keywords: automatic ticket closing
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Please add a possibility to close ticket by means other than web interface. Perhaps via trac-admin.

Reason: I'd like to have an option for putting in commit message sth like:

  • fixing the nasty bug (Trac: #345)

and set up a hook for my repository to run sth like this: trac-admin /path/to/instance close fixed 345 and set a status of ticket 345 to close with resolution fixed.

Other satisfying (for me) solution is to add a possibility of parsing changelog by trac itself (or by repository plugin - I do not care about the implementation details) and closing the ticked when given pattern is detected in commit message.

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 15 years ago

Resolution: worksforme
Status: newclosed

I suppose you haven't seen the source:/branches/0.11-stable/contrib/trac-post-commit-hook, which does exactly this, for Trac 0.10 and 0.11.

For Trac 0.12, you need to activate the tracopt.ticket.commit_updater.* components, and install a generic hook (see 0.12/TracRepositoryAdmin).

That being said, a TracAdmin command ticket close [resolution] id is not necessarily a bad idea, so if someone feels the need for it for another use case and happens to have a patch, the ticket can be reopened.

comment:2 by Artur R. Czechowski <arturcz@…>, 15 years ago

Keywords: automatic ticket closing → automatic ticket closing automatic

Thanks, it's good enough for me. Blame myself for not searching the wiki for phrase "automatically update" instead of "automatic closing". At least now other people could find it here on ticket system.

comment:3 by Artur R. Czechowski <arturcz@…>, 15 years ago

Keywords: automatic ticket closing automatic → automatic ticket closing

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.