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: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events