-
Type:
Bug
-
Resolution: Not a bug
-
Priority:
Low
-
None
-
Affects Version/s: 3.10.0
-
Component/s: None
-
None
-
Environment:
Location: https://developer.atlassian.com/static/rest/stash/3.11.1/stash-rest.html
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
Referrer: https://developer.atlassian.com/stash/docs/latest/reference/rest-api.html
Screen Resolution: 1920 x 1080Location : https://developer.atlassian.com/static/rest/stash/3.11.1/stash-rest.html User-Agent : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36 Referrer : https://developer.atlassian.com/stash/docs/latest/reference/rest-api.html Screen Resolution : 1920 x 1080
Rating:
Good
Your response? ![]()
I see a problem (or I think I do).
I want to get all the commits between a tag and the HEAD of a branch.
To do so I'm using the following call:
http://apps-stash.asml.com:7990/rest/api/1.0/projects/YS/repos/YIELDSTAR/commits?limit=100000&since=start_ys300c_sp__05&until=release/ys300c_sp_05
Where 'start_ys300c_sp__05' is a label and 'release/ys300c_sp_05' is
a branch. Currently the label and the HEAD of the branch are pointing
to the same commit (67415ee569d4496dd997fc51ea69ffff924a27f1). When I
do the REST API call as mentioned above I'll get over 5000 entries
back, while I expect none.
When I call:
http://apps-stash.asml.com:7990/rest/api/1.0/projects/YS/repos/YIELDSTAR/commits?limit=100000&since=67415ee569d4496dd997fc51ea69ffff924a27f1&until=release/ys300c_sp_05
I do get none commits back. So my conclusion is that the 'since' clause
does only work with SHA1 hashes and not with tags (nor with branch names).
I'm using Atlassian Stash v3.10.0.
Regards,
Rudy Holtkamp
Reporter: Rudy Holtkamp
E-mail: Rudy.Holtkamp@tmc.nl![]()