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