FEA-Bench / testbed /atlassian-api__atlassian-python-api /examples /bitbucket /bitbucket_changes_between_branches.py
| # coding=utf-8 | |
| from atlassian import Bitbucket | |
| bitbucket = Bitbucket(url="http://localhost:7990", username="admin", password="admin") | |
| changelog = bitbucket.get_changelog( | |
| project_key="DEMO", | |
| repository_slug="example-repository", | |
| ref_from="develop", | |
| ref_to="master", | |
| ) | |
| print(changelog) | |