The Adaptavist Group LogoDocumentation

Permissions

Permissions Categories

ScriptRunner for Bitbucket classifies users into the following four categories:

Global Administrators

Global Administrators can access ALL ScriptRunner for Bitbucket features and modify them as required. They can allow Project and Repository Administrators to configure some of ScriptRunner's features as mentioned in Admin-Only Project and Repository Script Access.

Refer to Atlassian's documentation to read more on Global Permissions for Global Administrators (Users with System Admin or Admin permission).

Project Administrators

Refer to Atlassian's documentation to read more on Global Permissions for Project Administrators (Users with Project Creator permission) or Using Project Permissions (Users with Admin permission).

Users

Users (normal Bitbucket users without any of the above roles).

Feature Permissions

The table below lists the main ScriptRunner for Bitbucket features and details the permissions required to use each feature:

FeatureSpecificsGlobal Admin PermissionProject Admin PermissionRepository Admin Permission
Browse
Script Editor
Resources
Fragments
REST Endpoints
Jobs
Console
Built-in Scripts
Built-in ScriptsClone repository configuration
Built-in ScriptsRepository size report
Pre Hooks
Pre HooksBranch and tag naming standards enforcement
Pre HooksRestrict file size
Pre HooksProtect git refs
Pre HooksReject force push
Pre HooksReject merge commits
Pre HooksRequire commits to be associated with a valid Jira issue
Pre HooksEnforce trusted commit authors
Post Hooks
Post HooksSend custom email following code push
Post HooksRespond to pushes with a message
Post HooksRespond to pushes if pull request is outdated or conflicted
Merge Checks
Merge ChecksPrevent merge of pull requests behind target branch
Merge ChecksConditional merge check
Merge ChecksRequire that a pull request is associated with a valid Jira issue
Merge ChecksRequire a minimum number of approvers
Listeners
ListenersAuto-add reviewers to pull requests
ListenersCheck delete branch checkbox
ListenersAuto-merge pull requests on approval
ListenersBlock out-of-date pull requests
ListenersAdd tasks to new pull requests
ListenersDynamically add reviewers to pull requests
ListenersWithdraw approvals when a pull request changes
ListenersSend custom email on event

For more information on each type of permission, please visit Atlassian's Controlling Access to Code documentation.

Search documentation

Start typing to search the docs.