Skip to content

[Bitbucket] Document project branch permissions and fix get_branch_permission - #1753

Merged
gonchik merged 1 commit into
atlassian-api:masterfrom
gonchik:fix/1209-project-branch-permissions
Dec 4, 2026
Merged

gonchik merged 1 commit into
atlassian-api:masterfrom
gonchik:fix/1209-project-branch-permissions

Conversation

@gonchik

@gonchik gonchik commented Dec 4, 2026

Copy link
Copy Markdown
Member
  • Branch permission methods manage project branch permissions when repository_slug is None
  • permission_id is optional in get_branches_permissions and all_branches_permissions to list restrictions
  • get_branch_permission returns the restriction instead of an empty generator

Fixes #1209

…rmission

- Branch permission methods manage project branch permissions when repository_slug is None
- permission_id is optional in get_branches_permissions and all_branches_permissions to list restrictions
- get_branch_permission returns the restriction instead of an empty generator

Fixes atlassian-api#1209
@gonchik
gonchik merged commit 85e69e9 into atlassian-api:master Dec 4, 2026
7 of 9 checks passed
@gonchik
gonchik deleted the fix/1209-project-branch-permissions branch December 4, 2026 13:44
@codecov

codecov Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.23%. Comparing base (6882666) to head (558ef6a).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1753      +/-   ##
==========================================
+ Coverage   67.17%   67.23%   +0.05%     
==========================================
  Files         111      111              
  Lines       20238    20238              
  Branches     2312     2312              
==========================================
+ Hits        13595    13607      +12     
+ Misses       5828     5816      -12     
  Partials      815      815              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding branch restrictions at project level?

1 participant