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: 

Rest API - How to fetch commits between two branch tags

amunro_92
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!
June 12, 2014

Hey there, I'm trying to create a deploy script which includes pulling down
commits in the current version and emailing it around.

When we deploy, we create a version tag on the repository. I see that you
can request commits using the API by specifying the branch tag in the {revision} parameter, however this fetches all commits up until the specified tag, including branch tags that occured before it.

Essentially, how could I fetch all commits between two specifed branch tags such as
"v2.2" and "v2.1".

I could also potentially try and filter through the commits in the script and check their tags, but unfortunately no branch tags are sent down with the commits.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
amunro_92
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!
June 15, 2014

Any ideas anyone? I am still unsure as how to go about this.

TAGS
AUG Leaders

Atlassian Community Events