Magick
Magick

Reputation: 5112

Gitlab - create branch and merge request from issue

It used to be possible to create a branch from a gitlab issue, however this functionality is no longer there.

Does it need to be explicitly enabled somewhere?

Or is there a new way to create a branch from an issue?

Upvotes: 2

Views: 6147

Answers (2)

Jubilsoft-Scott
Jubilsoft-Scott

Reputation: 312

This one tripped me up as well!

Per the Gitlab user documentation,

https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-new-branch-from-an-issue

The Create merge request button doesn’t display if:

  • A branch with the same name already exists.
  • A merge request already exists for this branch.
  • Your project has an active fork relationship.

To make this button appear, one possible workaround is to remove your project’s fork relationship. After removal, the fork relationship cannot be restored. This project can no longer be able to receive or send merge requests to the source project, or other forks.

Otherwise, the button displays as indicated in the post by @Do_Nhu_Vy.

Upvotes: 5

Vy Do
Vy Do

Reputation: 52488

This feature is still exists. Let's see the sceenshot.

enter image description here

Upvotes: 2

Related Questions