Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to retrieve user commits in BitBucket Server 5.7.

Yuvam Jain March 1, 2018

I'm using Bitbucket Server 5.7 and wanted to list all commits of a user (User ID).

I don't see any API in REST API Explorere. 

Please suggest if any API is avaialble to list down API.

2 answers

1 accepted

1 vote
Answer accepted
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 1, 2018

Hi Yuvam,

There is no such API - you can get a list of all commits in a repository using this API method and extract the author information for each commit. If you want all commits of all users, you'll have to iterate over the projects and then over all repos in each of the projects and then get the commits in each repo using the method I'm referring to above.

Cheers,

Christian

Premier Support Engineer

Atlassian

shoaib_cn
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 26, 2019

how i search commits of a specific user like my own commits list in all users profile list ? 

0 votes
Anastasia Voronova
Contributor
July 8, 2019

Hello everyone,

 

There's a couple of ways to solve the issue, and we've described it here. Please, check!

 

Thanks,
Anastasia

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events