Is there any way to Create Pull request to bitbucket git repository using intelliJ IDEA

Supun Induwara picture Supun Induwara · Oct 13, 2016 · Viewed 8.1k times · Source

I have a git repository in bitbucket, is there any way to create a pull request using IntelliJ IDEA instead of doing it through web?

I found that this can be done from within IntelliJ for a github repository. But have not found anything similar for Bitbucket.

Answer

Ashutosh Jindal picture Ashutosh Jindal · Oct 13, 2016

Summary: Currently not supported (Details below)

This has just been confirmed. I raised a support ticket to ask about this and received a reply:

enter image description here

If you are interested in this feature, please vote for https://youtrack.jetbrains.com/issue/IDEA-88198


Looking at this blog post, it appears that Bitbucket integration is not a plugin native to Intellij IDEA:

And the Atlassian team just did that! A new Bitbucket plugin is now available in our repository that offers a simple and well-working integration allowing you to:

  • checkout your existing Bitbucket repository and auto-open it as a project, and
  • share a project on Bitbucket instantly, without leaving the IDE.

The Atlassian plugin mentioned above is here, but it has not been updated since 2013 and even if it works for recent versions of Intellij, it does not have the functionality you are looking for.


Looking at other requests to add support to Intellij IDEA for 'Support Bitbucket functionality X', there hasn't been much traction. Examples:

Bitbucket Issue Trackers Integration (Created Aug, 2011)
Bitbucket Snippets support (Create Oct, 2015)

That would imply that the 'Bitbucket pull requests' functionality is unlikely to be supported in Intellij IDEA anytime soon.


There is another Jetbrains product, for code review, called Upsource but that does not have it either. From this jetbrains blog post:

Despite the pros listed above, there are still a few things missing that I am waiting for:

  • Swift and Obj-C support (we are a mobile app development company and iOS app development is a large part of our services).
  • More valuable code review analytics (with over 50 projects configured it is hard to track overall code review performance).
  • Support for Bitbucket pull requests (only GitHub is currently supported).