Vote #72677
未完了Allow to fill out given customfield with specific value via a commit message
0%
説明
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 ...
journals
--------------------------------------------------------------------------------
And I guess the value should be present in the commit message?
--------------------------------------------------------------------------------
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>
--------------------------------------------------------------------------------
FYI I closed #12158 as it is a dupe of old issue #1232 (which has some other dupes).
--------------------------------------------------------------------------------
related_issues
relates,Closed,12158,More possibilities how to close issue via VCS commit