Feature #4911

Multiple issue update rules with different keywords in commit messages

Added by Daniel Maas almost 8 years ago. Updated over 1 year ago.

Status:ClosedStart date:2010-02-23
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:SCM
Target version:2.4.0
Resolution:Fixed

Description

Hello,

it would be nice if there would be the
possibility to add different keywords in a
scm comment for different ticket statuses

like:
keyword => ticket status

closes => Closed
tobetested => Feedback

commit_keywords.png (7.68 KB) Jean-Philippe Lang, 2013-10-05 11:42

Sélection_169.png (38.4 KB) Guillaume LE BIGOT, 2016-06-03 12:30


Related issues

Related to Redmine - Feature #1232: Referencing and fixing issues in commit messages New 2008-05-13
Related to Redmine - Patch #7445: Patch for improved repository commit auto-updates Closed 2011-01-25
Related to Redmine - Feature #4752: Allow changing the status of an issue specifically with a... Closed 2010-02-07
Related to Redmine - Feature #4679: Automatically set a status for 'Referencing keywords' (li... Closed 2010-01-28
Related to Redmine - Feature #11698: Ability to configure additional groups of keywords with e... New
Related to Redmine - Feature #7590: Different commit Keywords for each tracker Closed 2011-02-09

Associated revisions

Revision 12197
Added by Jean-Philippe Lang about 4 years ago

Support for multiple issue update keywords/rules in commit messages (#4911).

Revision 12201
Added by Jean-Philippe Lang about 4 years ago

Rows may not be oredered as expected with ruby1.8 (#4911).

History

#1 Updated by Felix Schäfer almost 8 years ago

Have a look at RedmineReceivingEmails, you can already do this by putting Status: Feedback on a line of its own in the mail. If you don't like the names of the status, you can change it in the admin interface.

#2 Updated by Daniel Maas almost 8 years ago

This also works for SCM-comments?

I will check it out tomorrow.
If that works its very nice.

All in all I really like Redmine.
Even if it is a little buggy in some cases its
the best web based project management tool
in my opinion.

Greetings

#3 Updated by Felix Schäfer almost 8 years ago

No, this works only for mails. SCM comments only respond to the commands configurable in the administration interface to reference or close tickets, see RedmineSettings for more info in SCM comments.

#4 Updated by Daniel Maas almost 8 years ago

Yes, what I mean is that it would be nice to have a dynamic list
of keywords on that setting page.

Fixing keywords: "fixes, closes" Applied status: "Closed"
Fixing keywords: "tobetested, ..." Applied status: "Feedback"

[Add more Keywords and Statuses - Button]

#5 Updated by Felix Schäfer almost 8 years ago

That is not possible yet, but should be possible. Maybe Jean-Philippe or Eric can chime in on this.

#6 Updated by Ivan Grcic over 7 years ago

Hi,

+1 for this, seems pretty useful

Regards,
Ivan

#7 Updated by Grey Grey over 6 years ago

Hi.

+1

It's interesting future for my projects

#8 Updated by Szymon Nowak over 6 years ago

Daniel Maas wrote:

Yes, what I mean is that it would be nice to have a dynamic list
of keywords on that setting page.

Fixing keywords: "fixes, closes" Applied status: "Closed"
Fixing keywords: "tobetested, ..." Applied status: "Feedback"

[Add more Keywords and Statuses - Button]

Great idea, I'd also add something like parameters like:
ref #1 done 80
which sets 80
for issue #1

#9 Updated by Mischa The Evil almost 6 years ago

Related to #1232. Patch provided in #7445.

#10 Updated by Lubos Racansky about 4 years ago

I am looking for the exactly same feature.

#11 Updated by Jean-Philippe Lang about 4 years ago

  • File commit_keywords.png added
  • Subject changed from different keywords for different status of tickets to Multiple issue update rules with different keywords in commit messages
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.4.0
  • Resolution set to Fixed

Feature added in r12197, you can now define as many keywords and update rules as needed:

#12 Updated by Ivan Cenov about 4 years ago

Is "Fixing keywords" (Mots-clés résolution) most suitable after this change? Trigger keywords? Switching keywords? ...

#13 Updated by Jean-Philippe Lang about 4 years ago

Maybe "Update keywords" would be better.

#14 Updated by Florian S. about 4 years ago

Ivan Cenov wrote:

Is "Fixing keywords" (Mots-clés résolution) most suitable after this change? Trigger keywords? Switching keywords? ...

keywords should also be configurable for each queue (to Jean-Philippe Lang's post 2 days ago another row containing a dropdown with available queues would be fine). some status might not be available in some queues and at the moment you can set a status via a commit keyword for a tracker queue that does not have this status in its workflow.

#15 Updated by Mischa The Evil about 4 years ago

  • Related to Feature #11698: Ability to configure additional groups of keywords with extra features in commit messages added

#16 Updated by Mischa The Evil about 4 years ago

Ivan Cenov wrote:

Is "Fixing keywords" (Mots-clés résolution) most suitable after this change? Trigger keywords? Switching keywords? ...

I think it is indeed not the most suitable after this (great!-) change. Jean-Philippe's proposal seems more appropriate here, while "updating keywords" might be even better in contrast to the "referencing keywords".

Florian S. wrote:

[...] some status might not be available in some queues and at the moment you can set a status via a commit keyword for a tracker [...] that does not have this status in its workflow.

Good point, but for sure out of scope of this issue. Please search for existing issues and open a new one if none is filed yet.

#17 Updated by Jean-Philippe Lang about 4 years ago

  • Related to Feature #7590: Different commit Keywords for each tracker added

#18 Updated by Jean-Philippe Lang about 4 years ago

keywords should also be configurable for each queue (to Jean-Philippe Lang's post 2 days ago another row containing a dropdown with available queues would be fine)

Feature added in r12208 (see #7590).

#19 Updated by jerome l almost 4 years ago

hello
i am searching for this feature in the new release, where can i configure and how use that feature please.?
thanks for your answers

#20 Updated by Guillaume LE BIGOT over 1 year ago

Hi,

I can't use the feature.
I have defined keywords such as wip80, wip70 etc... related to its ratio 80, 70... allowing the developer to specify a ratio.
But any of these keywords doesn't affect the ratio of the ticket after the commit and repository updated

Any idea of my problem ?
Tx for all :)

#21 Updated by Guillaume LE BIGOT over 1 year ago

Here is my configuration in attachment.
I have removed any number in the keywords (wip80 => wipHeightyp, p for percent :))
Is something seems wrong for you ?

#22 Updated by Guillaume LE BIGOT over 1 year ago

Guillaume LE BIGOT wrote:

Here is my configuration in attachment.
I have removed any number in the keywords (wip80 => wipHeightyp, p for percent :))
Is something seems wrong for you ?

Ok sorry i have resolved my problem.
I had to put a "*" in the field "Mots-clés de référencement" in order to use my custom keywords :)

Also available in: Atom PDF