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

BitbucketAPI repository filter by time

dgruzdev August 27, 2019

Hello! Please tell me how using the Bitbucket API I can get a list of commits for a certain period of time:

For example:

/2.0/repositories/foo/bar/commits?q=created_on+>+2019-05-20

Does not work

1 answer

1 vote
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 27, 2019

Hello @dgruzdev,

I'm afraid, filtering commits by date is not supported. The only way to filter commits is by specifying refs which must or must not contain the commits – by adding include and exclude query parameters.

Hope this helps.

Cheers,
Daniil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events