Forums

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

How to get Get list of files in master based on merged commit id for any specific date/date range?

Prabin Singh
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!
August 17, 2021

I was able to get the files using REST API endpoint:


rest/api/1.0/projects/{projectKey}/repos/{repsositorySlug}/commits?$merges=only

However it returns list of all merged commits with detailed info. So Two questions here please

Is there a way to get these details for only today or for specific date/date range?
Is there a way to get details of any specific branch like Master?

 

I can see, the returned JSON has committerTimestamp as:

"committerTimestamp": 1617141725000

But I cannot figure out what format is this with respect to MM DD YYYY

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events