Defect #28502
closed
Support issue[assigned_to_id]=me when prefilling issues
Added by Ceesjan Luiten almost 8 years ago.
Updated almost 7 years ago.
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.
Files
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”.
- 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 |
- |
- |
- Target version set to Candidate for next major release
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.
- Status changed from Needs feedback to New
- Target version changed from Candidate for next major release to 4.1.0
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Resolution set to Fixed
Also available in: Atom
PDF