Project

General

Profile

Actions

Feature #9715

open

Update issue done ratio from commit message

Added by Colin Mollenhour almost 13 years ago. Updated about 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

70%

Estimated time:
Resolution:

Description

Redmine already supports "fixing" issues which updates done ratio to 100% and closes the ticket, but I'd like to also be able to update the done ratio and status in other cases as well. The status would be set to a configured status (e.g. "In Progress" in my case) and the done ratio updated and the issue journal updated with a note including the full commit message.

Proposed syntax is @X% so it is consistent with time logging but does not conflict. It must come after the issue ref and before the time logging.

The issue note is added regardless of if the issue progress or status was changed. That is, if a done ratio is given the issue gets a note unless the issue was previously closed in which case there is no additional action. This way the person committing knows that unless the issue is closed it will get updated.

I'm working on a patch that adds the feature. Thoughts?

Examples:


Files

redmine-9715.diff (3.13 KB) redmine-9715.diff Initial patch: untested, lacks configurability (against 1.2.1.stable.6453) Colin Mollenhour, 2011-12-02 20:33
Actions #1

Updated by Colin Mollenhour almost 13 years ago

Patch was pretty simple, currently only lacking making the status to update to configurable. I updated the regexes to use non-capturing groups unless a capture was actually needed.

Actions #2

Updated by Mischa The Evil almost 13 years ago

This was once included in the patches provided to integrate the commit message spent-time entry parsing into the core as part of #1518, which was dropped justified in favor of #4155 which only omitted the done ratio update functionality.

Actions #3

Updated by Thimios Dimopulos over 12 years ago

Is there a possibility to implement updating the done ratio through a commit message?

Actions #4

Updated by David Turbert about 11 years ago

please up for this feature

Actions

Also available in: Atom PDF