Unable to create new issue with Asignee prefilled via URL
Summary
Unable to link to the New Issue
page with specified issue[assignee_id]
. Because the URL includes a querystring for it, my assumption is that this worked at one point, but has broken at some point during development.
This also appears to affect the other values on the form, including Labels
.
Steps to reproduce
-
Click on the
New Issue
button from/<ORG>/<PROJECT>/issues/new
. -
In the URL, there's a querystring included for
issue[assignee_id]
.
- Regardless of what is entered as that value, the assignee is not set on the page.
Example Project
This appears to affect all projects.
What is the current bug behavior?
The page loads with no Assignee selected.
What is the expected correct behavior?
The assignee should be selected when the page is loaded. Should work the same as using the "issuable_template" string.
Docs for New Issue via URL with Prefilled Fields
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Possible fixes
My educated guess is that this that this originates in the typeahead widgets being used on the form not correctly lazy-loading the values as the promise is fulfilled.