addBranchRestriction

See also: Actions

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

Log a request with our support team.

Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.