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

SSL Error when Repository import from Bitbucket

I have been installed gitlab and I was trying to import Bitbucket repos to gitlab. But my Bitbucket has a self-signed certificate. I have installed that Bitbucket public certificate to gitlab server using update-ca-trust. Still, I am getting this…
4
votes
1 answer

How can I force commit from prod user to have --author

At my workplace we use git for version control under Linux (centos 7 flavour). We have user ids but also have a few prod ids that we each can impersonate. Because we're weak we've allowed the prod ids to commit and push in repos, typically for…
statquant
  • 13,672
  • 21
  • 91
  • 162
4
votes
2 answers

What does the `Rebase and merge` merge strategy do on Bitbucket Server?

I was exploring the possible merge strategies on Bitbucket Server and one strategy caught my eye: "Rebase and merge" rebase + merge --no-ff I understand that most of the debate about merge strategies revolves around rebase vs merge. This merge…
Kkarsko
  • 103
  • 1
  • 7
4
votes
2 answers

Remote Trigger Bamboo build from BitBucket Server webhook only on PR?

I'm new to bamboo and webhooks. I'm trying to start a bamboo build automatically when a PR to master branch from my repo is opened. I followed this guide but the remote trigger is not starting at all. Bamboo: BitBucket: I've already checked the…
iamkenos
  • 1,446
  • 8
  • 24
  • 49
4
votes
1 answer

Bfg-repo-cleaner tool successful but repo size not decreased

I have a repository in my bitbucket server, for which the .git folder was 660 MB and the total size of the repository was 714 MB. I used the bfg-repo-cleaner tool on the repository, and using git count-objects, saw that the size reduced to 125 MB.…
Vibhuti
  • 41
  • 3
4
votes
1 answer

Bitbucket Pipeline INSTALL_PARSE_FAILED_NO_CERTIFICATES Issue

I generated the build(apk) using bitbucket pipeline with the help of the link While trying to run the apk I am getting this issue INSTALL_PARSE_FAILED_NO_CERTIFICATES. I didn't find the solution how to include default keystore file…
Venkat
  • 3,447
  • 6
  • 42
  • 61
4
votes
2 answers

Slack integration on Bitbucket server

I cannot see Webhook function on Bitbucket server. The view is different from the Bitbucket on Cloud. The main goal of mine is i am trying to integrate Slack to get all updates from Bitbucket. Could anyone help me figure this out?
user2210620
  • 325
  • 4
  • 11
4
votes
0 answers

Build multi-tool pipeline

I need to build a pipeline where we are using Jenkins, JIRA, Bit-bucket, maven, Artifactory. whenever a code is modified in Bit-bucket, a ticket has to be created in JIRA and build has to be triggered in Jenkins automatically. If the build is…
Ramya
  • 177
  • 3
  • 12
4
votes
3 answers

Atlassian-plugin : unknown packaging type

I want to develop Stash Plugins but can't get started. There is an error in our pom.xml. Project build error: Unknown packaging: atlassian-plugin Project build error: Unresolveable build extension: Plugin…
prb_cm
  • 117
  • 1
  • 4
  • 13
4
votes
3 answers

list git/stash pull requests for branch

I am working on a full Atlassian suite, jira stash/git and bamboo. Does anyone know if there a way to list the PR's for my current branch? I need to get find out from shell if my current branch has an open PR and find it's ID if one exists. No need…
Tancho
  • 1,581
  • 3
  • 22
  • 40
4
votes
2 answers

How to Configure/Access Bitbucket Server REST API via OAuth Client Credentials

I don't understand how to generate the secret that is used for the Bitbucket Server REST API using the client credential grant type. For example: $ curl -X POST -u "client_id:secret" https://example.org/site/oauth2/access_token -d…
MCTaylor17
  • 411
  • 5
  • 16
4
votes
1 answer

Pull Request Metrics in Stash

We've been asked to generate metrics around how many code reviews we have been doing. Is there a way in Stash/Git to extract historic pull requests performed on the repo? In particular, the following would be useful: Date/Time of the…
Fuzzy Purple Monkey
  • 1,940
  • 3
  • 15
  • 23
4
votes
3 answers

How to add image to readme file in Stash

I am using Stash (which has Git) for my project I am trying to add some images to my Readme.md file as [picture](http://stash.xxxxxx.com/projects/zzzzz/img/abc.png) but its not working. when i view the readme, all i see is the plain…
AbtPst
  • 7,778
  • 17
  • 91
  • 172
4
votes
1 answer

Migrate single repository from one Atlassian stash server to another server and maintain all data

I'm looking to move a git remote from one stash server to another. I can use git to clone and have seen many other recommendations using --mirror and other git commands to insure all branches and commits are copied and this does work for the most…
Bill Warner
  • 639
  • 6
  • 18
4
votes
0 answers

Atlassian STASH REST API 401

I'm trying to use the Stash REST API in order to get a list of all open pull requests using the URI https://stash.myserver.com/stash/rest/api/1.0/projects/TEST/repos/testrepo But I always get a 401 Unauthorized with the following…
SchwaFa
  • 41
  • 4