Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,555,983
Community Members
 
Community Events
184
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
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 26, 2021

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
AUG Leaders

Atlassian Community Events