Feature #9715

Update issue done ratio from commit message

Added by Colin Mollenhour over 10 years ago. Updated almost 9 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


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?


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


#1 Updated by Colin Mollenhour over 10 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.

#2 Updated by Mischa The Evil over 10 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.

#3 Updated by Thimios Dimopulos over 10 years ago

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

#4 Updated by David Turbert almost 9 years ago

please up for this feature

Also available in: Atom PDF