Questions tagged [bitbucket-server]

Bitbucket Server (formerly known as Atlassian Stash) is a tool for "Git Repository Management for Enterprise Teams"

Bitbucket Server (formerly known as Atlassian Stash) is a tool for "Git Repository Management for Enterprise Teams". It provides many features comparable to GitHub and Bitbucket.

Including:

  • Creating git repos
  • Managing access by individuals and groups
  • Linking JIRA issues to commits
  • Creating and managing pull requests
819 questions
1
vote
1 answer

SSH key errors when connecting a bitbucket git repository to a bamboo plan

I am trying to connect a bitbucket repository to a bamboo plan. The repository host is set to git, and the authentication method is SSH private key. The public key is uploaded to the bitbucket repository and the private is uploaded to bamboo.…
Cassie H.
  • 373
  • 2
  • 7
  • 24
1
vote
0 answers

Integrating Jenkins with BitBucket Server

I have an Bitbucket Server that is running currently quite well. I also have an Bamboo Server which crashed on me today so badly that I would need to reinstall the complete bamboo stuff again. (Plugins, Server etc.) This was not the first time. The…
Chris West
  • 741
  • 13
  • 36
1
vote
2 answers

Maven Unable to Find Dependencies For Stash Plugin

I'm trying to make a Stash (Bitbucket Server) hook following this tutorial. I installed the Atlassian SDK and ran both atlas-create-stash-plugin and atlas-create-stash-plugin-module. However, Maven is unable to find any dependencies, despite them…
Kenny Worden
  • 4,335
  • 11
  • 35
  • 62
1
vote
1 answer

How can I retrieve all commits from Bitbucket without merge commits?

I found this API for retrieve all commits: https://bitbucket.es.ad.adp.com/rest/api/1.0/projects/XXXXX/repos/wwwwww/commits/1afdd692dc99eae74c7280306ca97bcb237bbe5f but the response includes merge commits. I want only original commits. Is there any…
1
vote
0 answers

How to get commit details for a given repository and user using Bitbucket Java API

I am developing a bitbucket plugin and for that I need to get the last committed date for a given repository by a given user. Is there anyway we can do that without using REST API? I think we might be able to use ScmCommandFactory. But I could not…
manu
  • 107
  • 3
  • 10
1
vote
1 answer

Retrospectively rename branch and reword commits

I have this repo, origin/master I had a JIRA ticket, X-123. I created a branch named X-123, did some commits against it, which have been pushed up to origin/X-123. And then a pull request made from origin/X-123 to the master branch, that got merged…
duncan
  • 31,401
  • 13
  • 78
  • 99
1
vote
1 answer

Atlassian BitBucket server addon web-item section name

After trying a number of different sections, I figured I'd ask - would anyone know the name of the WORKFLOW section depicted on the screenshot below? The snippet below should give an idea of what I am trying to do.
Dennis
  • 346
  • 3
  • 14
1
vote
1 answer

Duplicate or Copy repository in Bitbucket using REST API

I have a base repository in Bitbucket project and I need to create new repository based on this base repository using REST API. The new repository has to contain all the files from the base repository. How can I do do it?
snir.tur
  • 461
  • 3
  • 7
  • 14
1
vote
1 answer

git clone does not fetch all commits

I cloned a repo from BitBucket. For a specific file, in the BitBucket interface, it shows the last commit as 4/14/17. When I use git log, it says the most recent commit was from 2/1/27 (the previous commit). If I attempt to checkout the file, it…
Amy Codes
  • 158
  • 2
  • 9
1
vote
2 answers

git commit does not commit new files

I am having an issue using bitbucket and codeanywhere. I was trying to install CakePHP onto the PHP based server running on ubuntu. I have attached my container to the git and pulled all the latest changes from the latest commit. Then I made my own…
Big Green Alligator
  • 1,175
  • 3
  • 17
  • 33
1
vote
1 answer

Can I get the size of a repository on Bit Bucket Server using the REST API?

I am trying to verify the contents of a converted SVN repository in Bit Bucket. One of the things I am using to verify it is the size of the repository in Bit Bucket versus the same folder in SVN. Is there a way I can do this using the REST API? I…
eeijlar
  • 1,232
  • 3
  • 20
  • 53
1
vote
0 answers

Generate a compare link in bitbucket for a sub-directory

When generating the compare link using bitbucket, is there a way we can specify a path to the folder that should be showing up in the diff alone? It is kind of similar to the git diff command where it takes a path to the folder to consider for the…
Kilokahn
  • 2,281
  • 1
  • 25
  • 50
1
vote
0 answers

How do I add an existing git repository to Bit Bucket from the command line?

I am converting an SVN repository to a git repository using svn2git and Bit Bucket. Svn2git creates full git repositories on disk. I have hundreds of converted repos, so I am wondering if I can do this from the command line rather than from the Bit…
eeijlar
  • 1,232
  • 3
  • 20
  • 53
1
vote
0 answers

How to use rest api to Post branch permission to bit bucket server

I am working on automating a perl script by using rest api to create a restriction for supplied branch except for some user. Based on REST API for branch permissions, which is documented here.The document explained about the syntax of how to use GET…
June
  • 11
  • 2
1
vote
1 answer

Add a settings page for bitbucket add-on

I have created an add-on for Atlassian Bitbucket Server. I would like the add-on to be enabled or disabled at the repository level. So I was able to add a web-item at the ADD-ONs section of Settings page of a repository. Now, how do I add my…
kaushikv
  • 135
  • 1
  • 12