You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hello, I'm getting the commits for a certain repo slug using the API
Is there some way to get commits until a certain commit uuid or date ?
It seems the filter requested is unavailable as per https://community.developer.atlassian.com/t/how-do-i-filter-list-of-commits-from-rest-api-v2/15805/11
Please, comment on the link above so developers can become aware of your request and potentially implement a new feature.
For what I can see, you cannot filter commits by "date". That is really a terrible lacking considering commits is the one thing you for sure want to filter as there are so many.
Does not work, even though the object does have a "date" at it's root
If someone managed to filter commits by date, could you please help?
Actually your example is not 100% correct, cause according to documentation we must use something like
and url encode it
But this didn't worked as well.
Also tried to
1. q=values.date > YYYY-MM-DD HH:mm
2. q=values.date > "YYYY-MM-DD HH:mm"
3. q=date > "YYYY-MM-DD HH:mm"
And no result
Still trying to solve it.
As documented here, I've tried to replace the operators with their respective codes:
1- = is %3D
2- > is %3E
3- space is +
So the above query would be:
However this did not work unfortunately. Note that this worked for other endpoints which means the feature is not implemented for the commits endpoint.
Please vote for this to be implemented asap!