GitBlit server & JIRA server integration

Hi all,

How to integrate a JIRA server v6.4.11 to a GitBlit server?

Thanks a lot,

F.

4 answers

This widget could not be displayed.

Typically, a software is created to integrate JIRA with any other software. A quick search in the Atlassian Marketplace (https://marketplace.atlassian.com/search?q=gitblit) says nothing about a Gitblit related add-on. So your best bet here is to create one yourself.

It's not that hard to integrate with JIRA. You can create an external software or an internal one (install it in JIRA itself and install it in Gitblit if it supports it). I will do the external one, a piece of program that does not need to be installed. All it does is send/receive information from JIRA and Gitblit(that is, if Gitblit have an External API to talk to).

This widget could not be displayed.

GitBlit can be packed as JIRA add-on. In fact, it is something that I did a year ago...

 

Hi Pablo, What do you mean by "can be packed as JIRA add-on"? Thanks

This widget could not be displayed.

I mean you may take the GitBlit sources and use them to build a JIRA plugin and therefore run GitBlit right inside JIRA. It's not a straightforward task but it is feasible. I've found a old screenshot of GitBlit running on JIRA as plugin, please see the attached picture showing the GitBlit's New Repository page. 

gitblit-jira.png

Well the GitBlit server is already running, with quite a lot of code already committed an several branches. Therefore, the need is only to be able to declare to which JIRA issue/task is a code commit related to, by indicating the issue id in the commit comment... Is there any simple way to do this?

This widget could not be displayed.

The Git Integration plugin and the FishEye/Bitbucket plugins are able to list the issues related to Git commits.

Pablo, Do you think the Git integration plugin or Fisheye/Bitbucket are compatible with GitBlit? Thanks, Fred

Yes, you have to configure your GitBlit (Git) repositories in the plugin and they will be scanned periodically in order to find commits linked to issues. The Git integration might be simpler as it does not require a 3rd party product installed. If your current commits on GitBlit have not embedded a JIRA issue key in their comments then is not possible to see them, of course, but you can link issues to commits from now. IMPRTANT: I've just remembered that GitBlit can also parse commit messages in order to be integrated with 3rd party trackers, so perhaps you might want to ask in the GitBlit forum (which is very active too) for an integration with JIRA on GitBlit itself and if it does not meet your needs then try a JIRA plugin.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

200 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you