プロジェクト

全般

プロフィール

Vote #75596

完了

/time_entries/new can't derive project from issue

Admin Redmine さんがほぼ4年前に追加. ほぼ4年前に更新.

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

0%

予定工数:
category_id:
13
version_id:
81
issue_org_id:
17954
author_id:
1397
assigned_to_id:
1
comments:
1
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
82
ステータス-->[Closed]

説明

If you use the /time_entries/new link to log a new time entry from outside the context of a project the form displays with both a Project field and an Issue field.

The Project field defaults to the first Project in the database, regardless of whether the current user is a member of that Project.

If the use enters an Issue Number belonging to a different Project and press Create they get an "Issue is invalid" error message. The user needs to change the Project to the correct value for the Issue in order for the time entry to be saved successfully.

It would be better if:

  • the Project select list didn't have a default value
  • if a valid Issue is chosed (and if the previous item has been implemented then the Project is blank) the Project is derived from the Issue automatically
  • ideally, the Project select list shouldn't show Projects the user isn't a member of

journals

Roger Hunwicks wrote:

> * the Project select list didn't have a default value
> * if a valid Issue is chosed (and if the previous item has been implemented then the Project is blank) the Project is derived from the Issue automatically

Fixed in r13422.

> * ideally, the Project select list shouldn't show Projects the user isn't a member of

The list shows projects for which the user is allowed to log time. Please open a new ticket if there's a problem about that.

--------------------------------------------------------------------------------

Admin Redmine さんがほぼ4年前に更新

  • カテゴリTime tracking_13 にセット
  • 対象バージョン2.6.0_81 にセット

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

いいね!0
いいね!0