Hi,
I have been trying to create some hooks for Bitbucket for commit validation and can't seem to get the commit message properly. This is now that ChangesetsBetweenRequest has been deprecated, as this is how I used to do it.
This was the prior method I was using to do this:
ChangesetsBetweenRequest cbr =new ChangesetsRequest.Builder(context.getRepository()).exclude(refChange.getFromHash()).include(refChange.getToHash()).build();
Then I would do a .getCommitsBetween(cbr, pageRequest).getValues()
Once I had this I could just do .getMessage()
Now I'm not sure how to get the information out of Bitbucket.
Thank you,
--Matt