The "Make a Draft" button in GitLab's merge requests is currently not functioning

Using our self-hosted GitLab version 16.7.4,
Currently, the “Edit merge request !1 Mark as draft/ready” option works as expected, but when attempting to click the following icon, it displays “Something went wrong. Please try again.”
截圖 2024-02-29 上午10.10.45

I have a similar issue.
i am on version: gitlab-ee:18.0.2-ee.0 docker, self-hosted.
For me, i can put the MRs in Ready, but i CANNOT put them back in Draft.

No info in Response

I have managed to solve this issue by setting the external URL in GITLAB_OMNIBUS_CONFIG to HTTPS. Everything else was working before this change, except for uploading images (although image uploads worked in the “Add Design” section).

Before applying the fix, a workaround was to go into the MR’s edit view, where I was able to put the MR into Draft mode (just like when creating it initially).

This change fixed the uploading image issues as well.

FYI, don’t forget to change the reverse proxy URL too (if you have one in front of gitlab)