Hi, I'm using ScriptRunner to write a Pre-receive hook. In this customized script, I used the matchingChangsCollector. But there is an error show - [Static type checking] - Cannot call java.ut...
Hi I'm trying to check the build status of the last commit in a pull request but can't get the BuildStatusService to get resolved using ComponentLocator.getComponent(BuildStatusService). It always r...
In an effort to encourage helpful commit messages, I'm interested in the best approach to require a specific amount of alpha characters for each commit message. I appreciate the responses - ...
With Bitbucket Server 4.9, repository admins can choose which merge strategies to allow, and set a default merge strategy. The current, default, merge strategy ensures that merge commits are created...
If I'm reading the stash documentation right (https://developer.atlassian.com/static/javadoc/stash/3.9.2/api/reference/com/atlassian/stash/repository/Repository.html) it appears that there is no way ...
Hi I have added below code for BB script Event handler to restrict user to not to select READ and Write permission to BB projects - default permission. Below script works good for Write permission(...
Hi Support, I wrote the following hook script in our Bitbucket for one of the repos, making the system check if commit message contains JIRA issue key string. import com.atlassia...
We have implemented the binary reject control and it works fine if we just push the code for the first time. BUt if we amend the commit to remove the file and push to BBS, it fails to stop the push ....
Hello, I am working on making our pull requests merge automatically if a certain set of conditions are true. However, I have not been successful yet and therefore kindly ask for your help! ...
Copied to clipboard