Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,083
Community Members
 
Community Events
165
Community Groups

is there a api to get push-log for a particular branch.

I can see there is page where we can see the push-logs in bitbucket. 

https://confluence.atlassian.com/bitbucketserver0710/push-logs-1044105624.html?utm_campaign=in-app-help&utm_medium=in-app-help&utm_source=stash

 

is there any api to pull this log ? . this will be really helpful to find out who and when this branch got created .

2 comments

bbs_cropped_create_branch.png

is there api which exposes this log ?

Like Nicholas Williams likes this

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.

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,237 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you