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

Filterting Commits by Date through the Bitbucket API

Crystel John
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!
December 1, 2023

Hi Everyone,

Is there a way to filter commits by date/time through the API? I have tried a couple different methods. For example I have tried: 

curl -X GET -u <username>:<password> https://bitbucket.okla.<org>.com/rest/api/1.0/projects/{workspace]/repos/{reposlug}/commits?start_date=10-10-23&end_date=11-10-2023

and also 

curl -X GET -u <username>:<password> https://bitbucket.okla.<org>.com/rest/api/1.0/projects/{workspace]/repos/{reposlug}/commits?since=10-10-2023

Neither of these worked. I have seen that commit filtering may not be a feature, is this true? Does anyone know a work around?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events