Project

General

Profile

Actions

Feature #25035

open

Option to set current date as a default value of date format custom field

Added by Go MAEDA almost 8 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Custom fields
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

It would be very useful if we can set current date to a date format custom field when we create a new issue.

Related forum post: Create a Custom Field that defaults to the Current Date


Files

cf-current-date.png (35.3 KB) cf-current-date.png Go MAEDA, 2017-02-08 14:57
add_current_date.patch (4.26 KB) add_current_date.patch Mizuki ISHIKAWA, 2018-08-30 09:42

Related issues

Related to Redmine - Feature #20382: Date Custom Field Defaut ValueNew

Actions
Actions #1

Updated by Go MAEDA almost 8 years ago

Actions #2

Updated by Mizuki ISHIKAWA over 6 years ago

I wrote a patch to realize this feature.

Implementation for setting the default value to current date may not be the best way.
Feedback is welcome.

Actions #3

Updated by Go MAEDA over 6 years ago

  • Target version set to Candidate for next minor release

Thank you for sharing the patch. The patch looks fine.

Actions #4

Updated by Go MAEDA about 6 years ago

  • Target version changed from Candidate for next minor release to 4.1.0

What do you all think about this patch? Feedbacks welcome.

Actions #5

Updated by Jean-Philippe Lang over 5 years ago

  • Target version changed from 4.1.0 to Candidate for next minor release

Mizuki ISHIKAWA wrote:

I wrote a patch to realize this feature.

Implementation for setting the default value to current date may not be the best way.
Feedback is welcome.

Thanks for your patch. It's a usefull feature but this patch has the side effect that it makes the string "current_date" a valid value for date custom fields. I think we need a different approach.

Actions #6

Updated by sosogh sosogh over 1 year ago

Jean-Philippe Lang wrote in #note-5:

it makes the string "current_date" a valid value for date custom fields.

Is it a serious problem ? Under what conditon , will it happen ?
I am considering using this patch

Actions

Also available in: Atom PDF