Defect #28502

Support issue[assigned_to_id]=me when prefilling issues

Added by Ceesjan Luiten 8 months ago. Updated 4 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:4.1.0
Resolution: 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

History

#1 Updated by Mizuki ISHIKAWA 6 months 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 6 months ago

  • Category set to Issues

#3 Updated by Go MAEDA 6 months 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 6 months ago

  • Target version set to Candidate for next major release

#5 Updated by Mizuki ISHIKAWA 6 months 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 6 months ago

I changed change_me_to_usable_in_edit_and_update.patch a bit.

#7 Updated by Go MAEDA 5 months ago

  • Status changed from Needs feedback to New

#8 Updated by Go MAEDA 4 months ago

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

Also available in: Atom PDF