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
0
votes
0 answers

macOS bitbucket not able pull and push throwing error

I recently change to bitbucket, I have 3 repos, which is written in go lang and dependent each other. I am able to clone the projects, but whenever I am trying to build project, some dependency attached different repo, due this, bitbucket gives me…
nagaraj
  • 797
  • 1
  • 6
  • 29
0
votes
0 answers

Get audit logs from bitbucket server rest api

I want to get audit logs from bitbucket server rest apis. I tried the audit apis https://docs.atlassian.com/bitbucket-server/rest/4.7.1/bitbucket-audit-rest.html to get these logs. But I am getting 404 response for both these apis. Other rest apis…
py_dev
  • 43
  • 5
0
votes
2 answers

Sync Gitlab Repository that import from Bitbucket

I already imported some projects in gitlab-ee with Bitbucket Server import. We are still using Bitbucket as source control and after a month I must updated imported Projects in Gitlab. How do i do that? How sync gitlab Projects that imported from…
mohammadt
  • 9
  • 2
0
votes
1 answer

How to Remove a Large File from the History of a Bitbucket Server Repo In-Place

So, someone pushed a large file to a repo in our Bitbucket (we use Bitbucket Server, so it's hosted by us). We have deleted the file but want to get rid in history too as the repo is now quite large to clone. We can see how to get rid of the large…
Adam
  • 6,539
  • 3
  • 39
  • 65
0
votes
0 answers

Biutbucket server Rest API - look up pull requests with specific commit

Bitbucket has a remote merge facility. In the event that a target branch already contains the commits in a pull request, the PR will be remotely merged.  I would like to determine which pull requests contain a commit so I can determine which…
Spaceghost
  • 6,835
  • 3
  • 28
  • 42
0
votes
0 answers

Bitbucket Server Webhook does not trigger Jenkins Pipeline

I have a Jenkins Pipeline that is connected to a Bitbucket Server Repo. The pipeline is configured with the Bitbucket Jenkins Plugin (version: 223.vd12f2bca5430) and is inside a Docker Container (PORT 8000). To connect to the Bitbucket Server I have…
0
votes
0 answers

Mirror Bitbucket Server repo in Bitbucket Cloud?

As part of some infrastructure code I am writing with Terraform, I am trying to deploy a Google cloud function. However, in the terraform code for the function, it is mandatory to specify a Cloud Source Repositories repo that the function will pull…
0
votes
0 answers

How to add a markdown pull request comment with Bitbucket Server REST API

I'm trying to add a markdown comment to a pull request in Bitbucket Server. Following their documentation I found this: https://confluence.atlassian.com/bitbucketserver084/markdown-syntax-guide-1167707986.html But seems like this kind of comment:…
0
votes
0 answers

Git log searching all commits

I'm enumerating every repository on a bitbucket server and running git log, from within python, in order to search through all commits / branches for a specific string. Upon running git log seen below: git log -p --all -G 'a' This error was…
cokeburger
  • 17
  • 2
0
votes
0 answers

404 when trying to open a PR via pre-populated URL in the browser

Trying to open a BitBucket PR with just the URL, with the dest. and feature branches pre-populated: https://bitbucket.org//pull-requests/new?source=&dest= This gives me 404: What would be the proper…
tdimoff
  • 353
  • 1
  • 9
0
votes
0 answers

bitbucket code search API getting 401 error

I am trying to use the bitbucket code search API and I am getting 401 error "Token is invalid or not supported for this endpoint." I created a repository access token and can access this particular URL…
0
votes
1 answer

Is it possible to execute a step for folder and commit specific steps with Bitbucket-pipeline.yml file in bitbucket?

I have 1 common project including both frontend and backend, sometimes backend sometimes frontend is getting new commits but my pipeline yml is working for both of them and deploying both to server even if they have no change. In other words, If I…
0
votes
0 answers

Bitbucket cloud API - V 2.0, I need to find the the records which are newly created above the datetime given

I'm integrating the bitbucket APIs and I'm calling many APIs from the backend I want data that are created newly and greater than given DateTime so is there any parameter in the APIs to find data according (between two dates)? List of…
0
votes
1 answer

Unable to open your web browser to 'git@...' , do you have a default web browser set?

On the icon bar of Atlassian SourceTree the Remote-globe icon shows a red exclamation point badge indicating an error. When clicked, a pop up message appears saying "Unable to open your web browser to 'git@git-ssh... do you have a default web…
Rod Dewell
  • 840
  • 1
  • 7
  • 18
0
votes
0 answers

Bitbucket (server API) treats new files as renamed/copied old ones. Is there a way to prevent this?

The problem: I'm using bitbucket stash (server) API in a script for my project with the {path} api method: /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/browse/{path:.*} The idea was to save versions of config files in a repository…
bmaegan
  • 1
  • 1