I can see there is page where we can see the push-logs in bitbucket.
is there any api to pull this log ? . this will be really helpful to find out who and when this branch got created .
Hi,
You can use the Audit REST API (see https://docs.atlassian.com/bitbucket-server/rest/7.13.0/bitbucket-audit-rest.html#idp7) for this.
Cheers,
Christian
Premier Support Engineer
Atlassian
This comment does not appear correct. I've queried that API and it brings back audit results but no push log results. However, the ref-change-activities endpoint in the Core API brings back the push logs I was looking for: https://docs.atlassian.com/bitbucket-server/rest/7.21.0/bitbucket-rest.html#idp370.