Hi Everyone!! I am trying to write a merge check, which will allow users to merge only when a specific comment is added to the pull request. I am unable to print any relevant info in the bitbucket lo...
How to exclude an user from Pre-receive Hooks as condition when Jira issue is enabled for every commits . After enabling Jira issue as a mandatory for each commit..
I am trying automate the "create pull request" in Bitbucket based on pushing a new feature branch in the repository. Looking for any available post-hooks in BitBucket.
I am trying to implement a ScriptRunner event handler where I am trying to remove all present approvals if a new commit is added. I simply added the condition and applied it to my repository, but the...
I'd like to block PR merges when a specific tag in one of two specific pom files was changed. How would I block a PR merge if the line containing specific tag/text was modified? Exa...
I need to implement a workflow where I need 1. Validate whether approver and submitter of pull request are not same 2. Check the status and project details of the JIRA issue What I have ti...
Kindly let us know if someone has implemented an event for email notification in case of merge conflict in Bitbucket?
Hi Team, Is it possible to disable the repository admins from deleting the repositories? We are trying to achieve this using the script-runner plugin. Only the bitbucket admins should have the privi...
Hi , I want to print the timstamp at every point of the script , I am trying to use new Date() module at different parts of script , but only last line of newdate is printed,
I am trying to create an Empty repository from an existing repository using "Clone a Repository" Built-in Script. The Webhooks tied to the existing repository is not getting copied to the new ...
How to add a hook that will keep a branch B up to date with branch A whenever new commits are added to A?
simple script with log.info not invoked when Pull request is merged. Configuration setup with trigers to PULL_REQUEST_MERGE Anyone has answer?
I'm trying to write a Scriptrunner for BitBucket script that will prevent a merge if ... the destination branch is master the setup.py file is not part of the pull request the version number...
location='bitbucket.pull-request.nav is not working so how to customized UI on pull request page
Hello, I'm using the below code to push changes to remote repository using script runner, but it gives me timeout gitCommandBuilderFactory.builder(sourceRepo) .push() .refspec("refs/h...
I am looking for API for add/delete/edit Bitbucket Pre-receive Hooks. e.g. Protect git refs
Using the groovy runner Script Event Handler for PullRequestOpenedEvent, we defined 4 "Add tasks to new pull requests" actions to occur on pull request. Most of the time, only three of them show...
I want to have a "Break Glass" scenario where any member of a specific group can override the merge checks in specific cases. I am using script runner and I can't figure out how to get the number of...
I can use Script Runner to set up a pre-hook naming regex rule for branch names so that they have to contain a Jira issue number (or at least a string that's formatted like a Jira issue number): ...
Hi, I Need to make one of Branch as Default in project level. I know there is a way to at repository level to make branch as default, but i have 100+ repos under my project, so i need to chang...
Hello Adaptavist, Atlassian, I have setup Script Event Handlers and Script Pre Hooks 'Naming standard enforcement' for bugfix and hotfix as per below in Bamboo Server Scriptrunner add-on bugfi...
Copied to clipboard