The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events