プロジェクト

全般

プロフィール

Vote #64223

完了

Default issue start date should become configurable.

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Issues planning_40
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
40
version_id:
36
issue_org_id:
2269
author_id:
2499
assigned_to_id:
0
comments:
24
status_id:
5
tracker_id:
2
plus1:
3
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Currently, the start date field of new issue is fixed as today.
(in issues_controller.rb, def new, )

My company has a rule project manager or assignee must input a start date and due date when (s)he start a patch or implementation task. Current default function of new issue creation make my fellows confuse.
Also in gantt or calendar, the start date of newly created issues is displayed as default.

But a planning person, project manager want to define a term of each task.

So, I want for administrator to set the value of 'using today as start date on creating issue'.
In simple development org., this feature is not required.
But more tighten development org. might want this feature.


journals

--------------------------------------------------------------------------------
> So, I want for administrator to set the value of 'using today as start date on creating issue'.

How could you set a value for this option? It seems more like a yes/no option.
If set to 'no', no date would be set by default when creating an issue.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Jean-Philippe Lang wrote:
> > So, I want for administrator to set the value of 'using today as start date on creating issue'.
>
> How could you set a value for this option? It seems more like a yes/no option.
> If set to 'no', no date would be set by default when creating an issue.

I've created and uploaded a simple patch (#2277) which adds such a yes/no-option and related the issue to this one.

Please let me know if an implementation like this is, is the way to go or not... :-)

--------------------------------------------------------------------------------
Mischa The Evil wrote:
> Jean-Philippe Lang wrote:
> > > So, I want for administrator to set the value of 'using today as start date on creating issue'.
> >
> > How could you set a value for this option? It seems more like a yes/no option.
> > If set to 'no', no date would be set by default when creating an issue.
>
> I've created and uploaded a simple patch (#2277) which adds such a yes/no-option and related the issue to this one.
>
> Please let me know if an implementation like this is, is the way to go or not... :-)

Yes, I think that a value for this options is a boolean value.
Thanks.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Why change %done to 100 if it's not done?

Even filling blank in the start date doesn't work anymore, please fix it. The start date should not be the creation date by default, the gantt chart is completely wrong that way.
--------------------------------------------------------------------------------
Would love to see #2277 in Redmine core or at least get an idea why #2277 isn't an adequate solution. (from this ticket history it looks like the solution was alright)
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
I've modified the subject and category according to the actual subject and the related issues to be better recognizable.
I've targetted it to the 'Unplanned' version since it's definitely a feature a lot of users (including myself, so I'm a bit biased) want to get in.

I'd suggest to discuss the implementation of this further on issue #2277 to keep it clear (plus the TODO's I've mentioned on issue #2277"note-10":http://www.redmine.org/issues/2277#note-10 are still present AFAIK).
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Fixed with r7733.

Default setting is to set start date to issue's creation date for backward compatibility.

--------------------------------------------------------------------------------
Thanks for committing this Etienne. Glad to see this finally made it into the core tested and well.
--------------------------------------------------------------------------------
I've just had a second look at the implementation and noticed two things I'd like to discuss before finally closing this issue:

* the used English i18n is plain wrong; both grammatical as well as in style:
 
As far as I was able to find out (English is not my native language):
<pre>Set new issue's start date with today's date value</pre> should be
<pre>Set new issues start date with todays date value</pre> to be correct English (see e.g. http://www.cgl.uwaterloo.ca/~csk/its.html). This new string does not look like it is nicely styled English to me.
Considering the above I suggest we use a new i18n-string (inspired by the "implementation in ChiliProject":https://www.chiliproject.org/projects/chiliproject/repository/revisions/aac42afdaa4a69e6678fe04668b5512c28f0b679).
&nbsp;
That would replace the currently used i18n-string:
<pre>Set new issue's start date with today's date value</pre> with:
<pre>Use current date as start date for new issues</pre>
I'll attach a patch for this change which changes the English strings and re-inserts the new string for the already translation languages (fr and bg).

* this one is regarding the chosen name for the new setting; it might be confusing for some users:
&nbsp;
Now it looks like the issue creation date is set to the default issue start date, which is wrong. (To keep the Hungarian notation in tact :) I propose to change it from:
<pre>default_issue_start_date_to_creation_date</pre> to
<pre>default_issue_start_date_is_creation_date</pre> or
<pre>creation_date_is_default_issue_start_date</pre>
I can attach a patch for this also, but would like some feedback first before making decisions upfront.
--------------------------------------------------------------------------------
Mischa The Evil wrote:
> the used English i18n is plain wrong; both grammatical as well as in style:

I can conceive that easily, I was not very sure of the correctness of my translation
(BTW, ??today's date?? is "correct":http://todaysdate.org) :p

Use current date as start date for new issues

seems fine to me; no need to make a patch, though, this is a quick F&R fix.

> this one is regarding the chosen name for the new setting; it might be confusing for some users:

I actually don't use any Hungarian notation here, "??Default X to Y?? is used as a verb in its infinitive form":http://wiki.answers.com/Q/What_does_it_mean_to_default_to_something_less_than.

The actual name seems fine to me, could some native English speaker tell us?

--------------------------------------------------------------------------------
I've already translated it to pt_BR, and didn't see it on r7733. Could you please integrate?
<pre>
setting_issue_startdate_is_adddate: Usar data corrente como data inicial para novas tarefas
</pre>

PS.: Use @default_issue_start_date_to_creation_date@ seems ok to me as default is acting as a verb.
--------------------------------------------------------------------------------
_Etienne Massip_ wrote:
> Mischa The Evil wrote:
> > the used English i18n is plain wrong; both grammatical as well as in style:
>
> I can conceive that easily, I was not very sure of the correctness of my translation
> (BTW, ??today's date?? is "correct":http://todaysdate.org) :p

Woot... :-S This is sometimes rather difficult for me as a non-native speaker of the English language. I've even heard that native English speakers sometimes have difficulties doing this grammatically right...

_Etienne Massip_ wrote:
> @Use current date as start date for new issues@
>
> seems fine to me; no need to make a patch, though, this is a quick F&R fix.

Thanks for already committing this change into trunk.

_Etienne Massip_ wrote:
> Mischa The Evil wrote:
> > this one is regarding the chosen name for the new setting; it might be confusing for some users:
>
> I actually don't use any Hungarian notation here, "??Default X to Y?? is used as a verb in its infinitive form":http://wiki.answers.com/Q/What_does_it_mean_to_default_to_something_less_than.
>
> The actual name seems fine to me

Forget about my nitpicking, figurative speech and, personal language barriers here ;) It's fine for me as it is now. I think most others will agree here too, so consider this done.

Again, thanks for your efforts on this issue...
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Bruno Medeiros wrote:
> I've already translated it to pt_BR, and didn't see it on r7733. Could you please integrate?
> [...]
>
> PS.: Use @default_issue_start_date_to_creation_date@ seems ok to me as default is acting as a verb.

I didn't because the English string was changed so I thought that the translation was no more accurate.
--------------------------------------------------------------------------------
We run a large amount of development projects on Redmine and use this feature. Thanks for implementing.
--------------------------------------------------------------------------------
Etienne Massip wrote:
> Bruno Medeiros wrote:
> > I've already translated it to pt_BR, and didn't see it on r7733. Could you please integrate?
> I didn't because the English string was changed so I thought that the translation was no more accurate.

Ok, makes sense. :)
Thanks for integrating anyway!
--------------------------------------------------------------------------------
I think the better option is configure this option in every project
--------------------------------------------------------------------------------


related_issues

relates,Closed,2277,Patch for #2269 (Issue startdate == adddate can be turned on/off)
relates,Closed,716,Remove default start date
duplicates,Closed,7662,Remove Default Date Stamp at Start Date

Admin Redmine さんが3年以上前に更新

  • カテゴリIssues planning_40 にセット
  • 対象バージョン1.3.0_36 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0