update_project_branching_model_settings
Configure project branching rules to define development, production, and branch type settings for better version control and workflow management.
Instructions
Update the branching model configuration for a project.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
project_key | Yes | The key of the project. | |
settings | Yes | The branching model settings to update. Only passed properties will be updated. See Bitbucket API for details. |
Input Schema (JSON Schema)
{
"properties": {
"project_key": {
"description": "The key of the project.",
"type": "string"
},
"settings": {
"description": "The branching model settings to update. Only passed properties will be updated. See Bitbucket API for details.",
"properties": {
"branch_types": {
"items": {
"properties": {
"enabled": {
"type": "boolean"
},
"kind": {
"enum": [
"release",
"hotfix",
"feature",
"bugfix"
],
"type": "string"
},
"prefix": {
"type": "string"
}
},
"required": [
"kind"
],
"type": "object"
},
"type": "array"
},
"development": {
"properties": {
"name": {
"type": "string"
},
"use_mainbranch": {
"type": "boolean"
}
},
"type": "object"
},
"production": {
"properties": {
"enabled": {
"type": "boolean"
},
"name": {
"type": "string"
},
"use_mainbranch": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}
},
"required": [
"project_key",
"settings"
],
"type": "object"
}