I'm trying to find out if a commit is within a branch. I thought I could filter the commits in a branch eg
returns a response with the "hash" that I thought I could filter on.
So based on sort and filter doc I should be able to do this.
However this gives exactly the same response ie seems filter not applied.
Seems the only approach is to page through all commits for a branch and search within each page response for that commit?
@izalcomax The commits API is a little bit special and not filterable using `q=`. That said there are a few handy URL params for include/excluding commits.
If you enter a commit has that's not reachable on that branch then you get a message like:
"message": "Commit not found",
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events