プロジェクト

全般

プロフィール

Vote #79240

完了

Support issue[assigned_to_id]=me when prefilling issues

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

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

0%

予定工数:
category_id:
2
version_id:
127
issue_org_id:
28502
author_id:
347295
assigned_to_id:
1
comments:
9
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

h2. Current situation

This works:

This does not work:

h2. Desired situation

We can use @issue[assigned_to_id]=me@ as part of the prefilling of issues as well.


journals

I wrote a patch that implements this feature.

This also works in the REST API:
* /issues.xml?assigned_to_id=me

I think that "me" should be available for "issues/new”.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I think it would be even better if PUT supports 'assigned_to_id=me'. After applying the patch, GET and POST API requests support 'assigned_to_id=me' but only PUT does not.

Would you update the patch?

|_. Action |_. 3.4-stable |_. with the patch |
| GET /issues.json |=. OK |=. OK |
| POST /issues.json |=. - |=. OK |
| PUT /issue/1.json |=. - |=. - |
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Thank you for your feedback.
By adding change_me_to_usable_in_edit_and_update.patch in addition to change_me_to_usable.patch, you should be able to support to PUT actions.
--------------------------------------------------------------------------------
I changed change_me_to_usable_in_edit_and_update.patch a bit.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed, thanks!
--------------------------------------------------------------------------------

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

  • カテゴリIssues_2 にセット
  • 対象バージョン4.1.0_127 にセット

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

いいね!0
いいね!0