Create merge request from task

I'm looking for a feature to create a branch and merge request from a task, just like I'm used to do with issues (https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html#from-an-issue).

Currently I create branch and merge request from the issue containing the task and then modify the merge request description to close the task instead of the issue. This is not just inconvenient but also error prone because the editing step can be forgotten or the wrong number can be typed.

Since the underlying mechanism of closing the task on a merge does function as it does with issues, it seems there is only the button missing that we are used to have in the issue page.