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

Both branches are behind each other. How do I merge the two branches?

The branches in consideration are in the published repository server. Consider a branch A containing a set of commits from which branch B is created. Extra commits are added to the branch B (let's say they are in active development) At this point a…
Naveen Dennis
  • 1,223
  • 3
  • 24
  • 39
1
vote
1 answer

How do I push additional branches to Stash?

On my local machine, I have the following branches: master my-branch-one my-branch-two In Atlassian Stash, I have the following branches: master The master branch on my machine is up to date with the master branch in Stash. How do I get the other…
power
  • 1,680
  • 3
  • 18
  • 30
1
vote
1 answer

git - Server host key not cached - Windows twist

I'm having a problem similar to the one in git - Server host key not cached, but there is a twist that is making the best solution there not work. The twist is that I am trying to clone a repository from Stash, an application from Atlassian like…
jchess
  • 81
  • 1
  • 5
1
vote
2 answers

shell_exec('git push origin master') won't work

I want to push a folder with data to an empty repository in atlassian Git stash. The repository is created via the rest api. The remote origin is set. When I enter $ git push origin master in the shell it works all fine. When I use the PHP…
Nafta
  • 71
  • 1
  • 7
1
vote
1 answer

Git/Stash - No author in changeset

We use Atlassian Stash as our code repository. We get the below error very often while archiving the artifacts once the build is complete via Jenkins. The build is a success if I ignore this error. But this error makes the build fail. I could not…
KitKarson
  • 5,211
  • 10
  • 51
  • 73
1
vote
2 answers

How to create pull requests for stash from shell/commandline?

I am running Atlassian stash and I can see the Pull request option on the Web based UI, but I want to know if my users can create Pull requests from their consoles for their working copies without using the stash web UI ?
Harry
  • 9
  • 1
  • 3
1
vote
1 answer

How to run PMD on the modified files using Stash API?

I am looking to run PMD checks on the modified files that are being pushed into Stash. The push should fail if the PMD check fails. From what I have read I have deduced that these checks have to be done in a pre-receive repository hook. I have…
Naveen Dennis
  • 1,223
  • 3
  • 24
  • 39
1
vote
1 answer

Is atlas-run the only way to see how the changes are reflected?

I am new to Atlassian development so bear with me. Should we build the project every time using atlas-run command to see how the code is reflected when it is run? It takes a long time for the project to build itself eachtime. Is there a way to…
Naveen Dennis
  • 1,223
  • 3
  • 24
  • 39
1
vote
2 answers

Access issue between Stash and Jira

I have a small plugin checking several things, if the pull request description contains a valid Jira ticket among other things. The following code was working fine when tested on Stash 3.2.4, but stopped worked the day after, when we upgraded Stash…
Amaranth
  • 2,433
  • 6
  • 36
  • 58
1
vote
1 answer

How to get person who merged pull request via API

We use branch permissions to restrict write access to develop and master. I'm interesting in auditing the work of some developers who have provisional write access and thus can approve pull requests, in the hopes to make their provisional access…
neontapir
  • 4,698
  • 3
  • 37
  • 52
1
vote
1 answer

Report from Git regarding branches in a release

What is the best way to create a list of branches, that were merged into a release branch? Is there any add-on or plugin for Stash, that a project manager could use to see which features/users stories/defects, that are part of branch names, are…
bonafiden
  • 63
  • 6
1
vote
1 answer

Avoid merging issues on developers's feature branches from messing up master branch's history

We recently migrated from SVN -> Git (using Stash) . After the migration , we have started seeing issues during merge where some developers are messing up the merge on their feature branch. **Our workflow model:-** master …
Biswajit_86
  • 3,661
  • 2
  • 22
  • 36
1
vote
1 answer

Java Client to Connect to Stash Repository

I am trying to programatically connect to a STASH repository from a Java class. I have had a look and I cannot find any Java clients to do this. Has anyone come across any? The reason I want to connect to a STASH repository is that I am writing a…
rascal1981
  • 11
  • 2
1
vote
1 answer

Recover from git branch where multiple reset's were performed and pushed to origin (i.e., Atlassian Stash)

Despite best efforts we have gotten ourselves into quite the pickle with a feature branch in our Git repository. The end result is that a git diff develop..feature-branch shows a completely unexpected diff. For instance, one file that was added in…
Ryan Taylor
  • 8,740
  • 15
  • 65
  • 98
1
vote
1 answer

subgit user mapping from git to svn uses wrong usernames

I am using subgit as svn mirror for our team. user mapping works correctly for all commits done to svn repo (Shows up as same "Author" on git repo), but commits done to git repo show up as different "Author" in svn logs. I followed the instructions…
Siva Mandadi
  • 3,673
  • 2
  • 18
  • 12