This question is in reference to Atlassian Documentation: Git hook scripts are not executing
In our case, the files had the wrong name, so we had to rename them.
find . -name 20_stash_callback -type f -exec rename 20_stash_callback 20_bitbucket_callback {} \;
It seems like this was the case even for repos created after we upgraded. How is this filename determined and how can we make it so new repos will have the correct filename?