Defect #28502

Support issue[assigned_to_id]=me when prefilling issues

Added by Ceesjan Luiten over 1 year ago. Updated 7 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Issues
Target version:4.1.0
Resolution:Fixed Affected version:

Description

Current situation

This works: This does not work:

Desired situation

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

change_me_to_usable.patch Magnifier (1.24 KB) Mizuki ISHIKAWA, 2018-06-08 08:27

change_me_to_usable_in_edit_and_update.patch Magnifier (1.93 KB) Mizuki ISHIKAWA, 2018-06-25 02:42

change_me_to_usable_in_edit_and_update_v2.patch Magnifier (1.95 KB) Mizuki ISHIKAWA, 2018-06-25 02:43

Associated revisions

Revision 17964
Added by Jean-Philippe Lang 7 months ago

Support issue[assigned_to_id]=me when prefilling issues (#28502).

Patch by Mizuki ISHIKAWA.

History

#1 Updated by Mizuki ISHIKAWA over 1 year ago

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”.

#2 Updated by Go MAEDA over 1 year ago

  • Category set to Issues

#3 Updated by Go MAEDA over 1 year ago

  • Status changed from New to Needs feedback

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 - -

#4 Updated by Go MAEDA over 1 year ago

  • Target version set to Candidate for next major release

#5 Updated by Mizuki ISHIKAWA over 1 year ago

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.

#6 Updated by Mizuki ISHIKAWA over 1 year ago

I changed change_me_to_usable_in_edit_and_update.patch a bit.

#7 Updated by Go MAEDA over 1 year ago

  • Status changed from Needs feedback to New

#8 Updated by Go MAEDA about 1 year ago

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

#9 Updated by Jean-Philippe Lang 7 months ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Committed, thanks!

Also available in: Atom PDF