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
Community Members
Community Events
Community Groups

How can i fetch the Auditlog from bitbucket via api?

Is that option is possible?
If true, is it the same way in bitutcket cloud and bitutcket  server ?

1 answer

0 votes

Hi, @מעיין כהן! Welcome to the community! 

In order to fetch the Audit log from Bitbucket Cloud, we currently have a script that can be used to scrape the logs from there, converting them to a .txt file. The log file created will mirror the content you see within the UI itself and thus requires permission of viewing the audit log within the UI to run. 

You can open the following link to access the script:

Note: We are actively reviewing what is logged and have plans to release more in-depth logs and a way to export this natively in an upcoming change in 2022. This can be seen on our Roadmap.

I hope this helps, but do let me know if you have any questions. 

Kind regards,

Suggest an answer

Log in or Sign up to answer
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,249 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