Cannot unlink related merge request from issue
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
Some time when you creates MR you can link it with wrong issue by mistake and after that you cannot unlink this MR from issue and as result "New branch" button unavailable.
Steps to reproduce
- Create issue
"Some issue"(with number10000, for example). - Create merge request with text
"Closes #10000"(with number!mr_number, for example). - Make sure that
"Related merge request"block has apperead in"Some Issue" - Edit merge request: remove text
"Closes #10000". - Open
"Some issue".
Expected behavior
"Related merge request" block must disappear, information message (something like "Username1 removed related merge request #mr_number" ).
Actual behavior
"Related merge request" block still appear in issue.
Relevant logs and/or screenshots
You can look at this issue - https://gitlab.com/rusbik91/testproject/issues/1 and this MR - https://gitlab.com/rusbik91/testproject/merge_requests/1
Output of checks
This bug happens on GitLab.com
Edited by 🤖 GitLab Bot 🤖