Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to interact with Bitbucket GIT SCM API?

I'm looking to start developing a plugin that checks for merge conflicts between all branches (meaning every branch is checked against every other branch in a repo) and displays the results on a tab that is at the repository level. I have the UI elements all figured out, the web-items and etc. But I need to start developing the meat and potatoes of the application.

I am having a hard time finding any examples on building GIT commands with Bitbucket's API. I know that they have an API, it is documented here -

https://legacy-developer.atlassian.com/static/javadoc/bitbucket-server/4.14.4/git-api/reference/com/atlassian/bitbucket/scm/git/GitScm.html

Anyone who has worked with this API/found some examples please help me out. 

Thanks!

 

 

1 answer

0 votes
jredmond Atlassian Team Oct 03, 2019

Are you trying to make this work specifically with that version of Bitbucket Server (4.14.4)? Or are you attempting to work with Bitbucket Cloud (hosted at bitbucket.org)?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,912 views 0 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you