"New related item" dialog unexpectedly changes "Project" field
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
A couple seconds after I open the "New related item" menu item, the dialog's "Project" field changes from one project to another. This is undesired behavior because (1) it's spooky when the dialog's field values change on their own, and (2) I typically want to create related work items within the same project as the source work item, not some other random project.
Steps to reproduce
- Open an issue, e.g. https://gitlab.com/smokris/test-related-item/-/issues/1
- Click the "More actions" (⋮) menu
- Click "New related item"
Example Project
https://gitlab.com/smokris/test-related-item
What is the current bug behavior?
A couple seconds after I open the dialog, the "Project" field changes to a different project.
The bug occurs the first time I open the "New related item" dialog after loading an issue. If I close and reopen the dialog, the dialog's "Project" field correctly shows the same project as the source work item.
What is the expected correct behavior?
- The dialog's field values should not change on their own
- The "Project" field value should default to the same project as the source work item
Relevant logs and/or screenshots
Here's a screen recording showing the change:
related-item-wrong-project
And a screenshot after the dialog changes on its own:

Output of checks
- This bug happens on GitLab.com
- This bug happens on self-managed