Restore the "Create MR" button on the Issue page via a generated link to Gitlab

Created on 24 January 2024, about 1 year ago

Problem/Motivation

Previously we had a "Create MR" button on the Issue page, but now it has disappeared!
So now we have to create MRs manually using the GitLab interface and fill the MR title manually too.
Yes, it's autogenerated by the first commit message, but the commit message title is not always great and matches the whole issue.

Steps to reproduce

1. Create a fork of the project from the Drupal.org issue page.

2. Try to create an MR for this fork from the Drupal.org issue page.

No way to do this now, only handle this manually in GitLab.

Proposed resolution

Will be good to revert the"Create MR" button on the Issue page via a generated link to Gitlab, that has a pre-filled title text, like this:

https://git.drupalcode.org/issue/drupal-12345/-/merge_requests/new?merge_request[source_branch]=12345-cool-feature&merge_request[target_branch]=11.x&merge_request[target_project_id]=111&merge_request[title]=Issue%20#12345:%20Issue%20title

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Closed: works as designed

Version

1.0

Component

User interface

Created by

🇦🇲Armenia murz Yerevan, Armenia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @murz
  • Status changed to Closed: works as designed about 1 year ago
  • 🇦🇺Australia dpi Perth, Australia

    It didnt suddenly disappear.. It was removed. As you know from 📌 Remove “Open merge request” button in favor of using GitLab directly Fixed . Perhaps you can reach out to drumm or continue there.

    So now we have to create MRs manually using the GitLab interface and fill the MR title manually too.

    Dont get too tied down to MR titles, people can change them anyway, and should learn to populate MR title and descriptions since we're migrating to Gitlab anyway.

Production build 0.71.5 2024