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

Is it supported to get last 24 hours commtis via API ?if not pls give me some solutions to get this.

Karthick June 21, 2023
  1. I checked using since, from, sinceDate,  those were not working....

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 27, 2023

Hello @Karthick  and welcome to the community!

I'm afraid it's currently not possible to filter by the commit.date in the List commits API endpoint. We do have an existing feature request to implement this functionality : 

I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with this policy in mind.

While that feature is not available, you can use git log with the --since flag to filter the commits in a local clone of the repository : 

git log --all --since="24 hours ago"

Hope that helps! 

Thank you, @Karthick !
Patrik S

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events