Always call the changes API on pull requests to ensure the source code references are up-to-date (since Bitbucket Server v7).