Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Page Properties


Description

Add branch level restriction with optional exemptions for users and groups. Restriction defaults to read-only. Restriction applies to branches matching by branch name, pattern, or model. Default is matching on branch name. User exceptions can be specified by the userId parameter as a common separated list of user ids. Group exceptions can be specified by the group parameter as a common separated list of group names.

Required Parameters

project, repository, branch

Optional Parameters

restriction, matchingType, userId, group, replace

Type

Create

Category

Branches

Output Formats

Replacement Variables

restrictionId

Hostingserver,datacenter
Since Version

Examples

addBranchRestriction


Related How To's

Cql query
showLastModifierColumnfalse
showQueryfalse
showCreatorColumnfalse
showLastModifiedDateColumnfalse
cqlQuerylabel = 'cli-action-addBranchRestriction' and label = 'cli-howto' and label = 'cli-product-bitbucket' and space = SUPPORT
showCreatedDateColumnfalse
showTypeColumnfalse
showSpaceColumnfalse
showLabelsColumnfalse