Override the MR title for the cherry-pick workflow

Summary

In the cherry-pick workflow, the message used as the heading uses the wrong name for the target branch.

Steps to reproduce

  1. Developer had an MR using branch name "feature-abc" that was approved and then merged into master. Now it needs to be cherry-picked into a "release-xyz" branch.
  2. When the cherry pick button is clicked, gitlab, creates a new MR with a title like:
    "Merge branch 'feature-abc' into 'master'"
  3. It should be:
    "Merge branch 'feature-abc' into 'release-xyz'"

Example Project

This is on a private project on gitlab.com

What is the current bug behavior?

When the cherry pick button is clicked, gitlab, creates a new MR with a title like:
Merge branch 'feature-abc' into 'master'

What is the expected correct behavior?

It should be:
Merge branch 'feature-abc' into 'release-xyz'

Relevant logs and/or screenshots

NA

Output of checks

This bug happens on GitLab.com

Edited Nov 08, 2019 by Michelle Gill
Assignee Loading
Time tracking Loading