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

API to repos updated in last 7 days

Girish Bramhane
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!
September 9, 2024

I just want to integrate API which will provide me information like Give repo list which updated in last 7 days ( anything activity like commits / merge / pr happened on that repo in last 7 days) 

1 answer

1 vote
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 10, 2024

Hey @Girish Bramhane ,

and welcome to the Community!

Based on your use case, I would suggest using Bitbucket's public API endpoint to List repositories in a workspace while sorting by the updated_on attribute.

Example request:

curl -u USERNAME:APP_PASSWORD --location 'https://api.bitbucket.org/2.0/repositories/WORKSPACE?sort=-updated_on'

This should return a list of repositories order by the most recent updated ones.

I hope that helps! Let us know in case you have any questions.

Thank you, @Girish Bramhane !

Patrik S

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events