Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Return all commits between two release numbers

Jim Gust I'm New Here Aug 25, 2022

Is there an equivalent of "git log $($lastProd)..$($curr)"?

In an old post somewhere one solution was to use [since] and [until] filters but that suggestion was for api 1.0. I tried the following but all commits were being returned:{workspace}/{repo_slug}/commits/main?since="Rel_1.0.48.004"&until="Rel_1.0.50.2"&fields=values.hash,values.message,next&pagelen=100

1 answer

1 accepted

0 votes
Answer accepted
Jim Gust I'm New Here Aug 27, 2022

It looks like the solution is to use the include and exclude filters.{workspace}/{repo_slug}/commits/?include=Rel_1.0.50.2&exclude=Rel_1.0.48.0&fields=values.hash,values.message,next&pagelen=100

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events