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