Feature #12156

Allow to fill out given customfield with specific value via a commit message

Added by Radek Terber about 5 years ago. Updated almost 5 years ago.

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

0%

Category:SCM
Target version:-
Resolution:

Description

If issue status is changed as result of commit to VCS, it would be useful to be able set up certain custom field to given value.

Use case is thar we use only one status for Close, and in addition to that we have custom field "Resolution" that refines manner of closing: whether the issue is fixed, refused, can't be fixed etc ...


Related issues

Related to Redmine - Feature #12158: More possibilities how to close issue via VCS commit Closed

History

#1 Updated by Toshi MARUYAMA about 5 years ago

  • Category set to SCM

#2 Updated by Jean-Philippe Lang almost 5 years ago

  • Subject changed from During automatic issue close via VCS commit message, to allow fill out given customfield wit specific value to Allow to fill out given customfield with specific value via a commit message

And I guess the value should be present in the commit message?

#3 Updated by Radek Terber almost 5 years ago

I suppose the customfield name and its value for given keyword set would be configured along with new state configuration (as I'm trying to describe in #12158).

Setup Example:
Keyword(s): "closed,done"
New state: "Close"
Customfield name: "Resolution"
Custimfield value: "Fixed"

Keyword(s): "cannot fix,can't fix,impossible"
New state: "Close"
Customfield name: "Resolution"
Custimfield value: "Cannot fix"

Keyword(s): "resoved,finished"
New state: "Close"
Customfield name: <none>
Custimfield value: <none>

#4 Updated by Etienne Massip almost 5 years ago

FYI I closed #12158 as it is a dupe of old issue #1232 (which has some other dupes).

Also available in: Atom PDF