Comments
-
Hi Bijoy, you will need to create 2 separate branch permission rules, there is currently no way to do it in a single rule. If I may ask, why are you trying to put both in the same rule? The pattern matcher in Bitbucket Server does not support the full regex syntax, see the Branch permission patterns page for details. For…
-
Short answer: No, log scanning will not be run on all nodes (consistently). Longer answer: Log scanning will run across multiple nodes when enabled, but only on one at a time and not consistently the same node. There is an issue (STP-332) you can watch and vote for to add better Data Center support to the log scanner and…
-
We've just tried Captchas in 4.9.1 on Windows, and there was no issues as far as we could tell. I'd recommend you open a support case at https://support.atlassian.com to allow our support engineers to troubleshoot your problem. Cheers, Felix
-
To view blame on markdown files, you need to click the "Show Source" button in the top right hand corner of the file view: show_source.png Then, the blame button will be enabled and you can view blame on the markdown source.
-
Hi Anna, the branch permissions API expects the id on the BRANCH matcher to be a "fully qualified ref". From the docs: You must supply the fully qualified name of the ref to restrict, e.g. "refs/heads/master" instead of "master". The example you provided is almost right, but you'll need to change the id…
-
You can find the answer to this question here: How to prevent a bamboo build triggering?
-
Bitbucket's branch permissions will first find all matching branch permission rules, then check if for any of those rules an exemption exists for the user attempting the action. If no exemptions exist, the user is prevented from carrying out the action. If an exemption exists, the action is allowed to carry on. For example…
-
Hi Benjamin, as @Jim Redmond already stated, bitbucket.org is hosted in the United States. If you require strict control over the location of your data, I'd encourage you to take a look at our "behind the firewall" offering Bitbucket Server. If you'd like to avoid the overhead of procuring your own hardware, Atlassian…
-
Hi @Dusty Gilbert, that looks like the systems administrator of your Bitbucket Server (or Stash) instance has disabled making SCM requests over HTTP. This means you'll likely need to use SSH (or have a chat with your sysadmin). Here's a bit of documentation on using SSH for git operations. If you are the admin of your…
-
There is a REST API for branch permissions, which is documented here. If you're using just a "plain" branch permission (ie. not using the branching model or patterns), a GET to the following path will return the "no deletes" branch permission for the master branch:…
-
Hi Vish, could you elaborate on what you are trying to achieve with the tests? What metrics are you looking for? Are you looking for scripts to help you set up Stash Data Center? Load-test Stash Data Center on your new setup? The more details you provide, the more accurate of an answer people will be able to give you :)
-
Hi Antonio, I'll try to answer your questions in sequence: is there any workaround to hardcoding a user's LDAP password in the DIY-backup script? Sort of. The credentials that are hardcoded in the script are used to lock and unlock the instance during backup. This step is not required when using the Zero Downtime…
-
There's currently no way to disable the 'bouncer ASCII art' that is shown when a ref is rejected due to branch permissions. You can raise an suggestion on https://jira.atlassian.com/projects/BSERV to change this behaviour or make it configurable. May I ask why you need to disable it? Felix
-
Hi @Shuaibing Li, sorry for the confusion in my answer above. Yes, as you rightly pointed out, you can use the /rest/api/1.0/repos endpoint with no query parameters. That will save you having to query all the projects. That endpoint is also paged and, depending on the number of repos your Stash instance contains, you will…
-
Stash's REST API uses a paged system and will, in general never just return all of something. This is to ensure performance of the system is maintained and REST requests can be processed very quickly. You can check the REST documentation here for more info on how the paging works. To retrieve all repositories on any given…
-
Thanks for the suggestion! I've linked to the jq homepage from the page you mentioned.
-
You're right, those claims were contradictory. MariaDB 10.1 is supported for Bitbucket Server. I've removed the warning from the "Supported platforms details" page. Cheers, Felix
-
Hi Martin, Bitbucket does not include any monitoring tools out of the box. There are many tools to monitor your server's health and it is very much recommended to set up a monitoring system for any production systems you might have. Some commonly used tools are: * collectd * datadog * newrelic * nagios * (many more) These…
-
If you are using Bitbucket Server 3.10 or higher, Bitbucket Server's built-in branch permissions will let you do the equivalent of the "Force Field" hook. You can set up a permission on the branch and tick the "Prevent rewriting history" checkbox. Note that this will only reject commits that actually rewrite the history.…
-
You can Cmd/Ctrl + Click on the hidden context area to fully expand it.
-
The answers to this similar question might help you: https://answers.atlassian.com/questions/22648917
-
Branch permissions in Stash 3.10 still behave in the same way as in prior versions, in that they will prevent writing to a branch/tag if a "Limit write access" permission is set up. There is currently no option to allow SSH Access Keys to bypass any set branch permissions. You can watch and vote for the issue STASH-5009.…
-
@Senthil Jothi, there sure is: com.atlassian.bitbucket.integration.jira.JiraIssueService exposes the method <a href="https://developer.atlassian.com/static/javadoc/bitbucket-server/4.6.0/jira-api/reference/com/atlassian/bitbucket/integration/jira/JiraIssueService.html#getIssuesForPullRequest(int,%20long)" rel="nofollow…
-
Hi @Danny Powell, I believe what you are looking for is the bitbucket-JIRA REST API. (The docs I've linked are Stash docs, as the Bitbucket Server docs are currently broken. I'm working on fixing that right now!) Basically you can call:…
-
Hi @Ali Hashim, I believe what you are asking for is the feature suggestion in https://jira.atlassian.com/browse/BSERV-7475 I'd encourage you to vote for and read the comments on that issue, they may help you solve your use-case for now. Better support for adding "exceptions" to branch permissions is something we are…