Create GitLab branch from Jira issue

Kamil Borkowski October 22, 2021

Recently, in our company we moved from Bitbucket to GitLab. In Jira Development Panel we can see commits, branches and pull requests, but we cannot create branch directly from Jira issue to GitLab. When we were using Bitbucket, this option was available. 

So, I've just installed Jira Data Center and GitLab testing versions to see if it is possible to create branch directly from Jira to GitLab, and I have a problem. Jira <--> GitLab integration was done correctly, because the repositories were synchronized, and I can check commits in Jira issue, but still can't create a new branch.

Jira/Bitbucket integration:

image.png

Jira/GitLab integration: 

image.png

I have used DVCS Connector to integrate Jira and GitLab.

Both Jira and GitLab on production are self-managed.

1 answer

1 vote
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 29, 2021

Hello @Kamil Borkowski 

Welcome to the community.

I think that creating branches from Jira in Gitlab is not actually supported. I traced through several documents to find confirmation.

As per this document

https://docs.gitlab.com/ee/integration/jira/

... if you are using the DVCS connector then it seems like you should have the Create Branch option in Jira.

But according to this document

https://confluence.atlassian.com/adminjiraserver0814/linking-a-gitlab-or-gitlab-self-managed-repository-with-jira-1043893414.html

... it seems like Jira will only display information from Gitlab, and not support creating Branches.

And then I found this issue

https://jira.atlassian.com/browse/JSWSERVER-14412

... which says "full" support for Gitlab integration was introduced with Jira Server v8.14. What version are you using?

Tracing through additional documents I found this one

https://confluence.atlassian.com/adminjiraserver/integrating-with-development-tools-938846890.html

... which says that for Github and Gitlab, development information can be "viewed". For Bitbucket it specifically also calls out being able to create branches, but not for Github/Gitlab.

Suggest an answer

Log in or Sign up to answer