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

I can see my Bitbucket workspace audit log but how can i get ths information via bitbucket api?

Sai Teja Makani February 22, 2024

Hello Team,

https://bitbucket.org/workspace-id/workspace/settings/auditlog


I can see the Bitbucket workspace audit log from the above url but didn't find a reference in the below url from the endpoint for this audit log. Can you help me figure out the best way to extract audit logs?


https://developer.atlassian.com/cloud/bitbucket/?utm_source=%2Fbitbucket%2Fapi%2F2%2Freference%2F&utm_medium=302

1 answer

1 accepted

1 vote
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 28, 2024

Hi @Sai Teja Makani,

I'm afraid that it is not possible to get Audit Logs with Bitbucket API.

However, if you have an Atlassian Access subscription, you can connect your Bitbucket workspace to Atlassian Admin, and then Bitbucket Audit Logs will be available in Atlassian Access audit logs feature. You will then be able to use the organization audit log API:

You can find more info in this blog post:

Just a heads up, I edited the workspace URL to protect your privacy.

Kind regards,
Theodora

Sai Teja Makani March 12, 2024

Thanks it helps. Am able to pull audit logs.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events