Hello Team,
I am facing an issue with Bitbucket pre‑receive hooks in our UAT environment. Despite configuring the hook settings, the scripts are not being executed during git push.
Bitbucket version: 9.4.8 data centre
Configuration in bitbucket.properties:
plugin.hook-scripts.enabled=true(the single‑script property has been commented out)
Hook script path:
/app/bitbucket/atlassian/application-data/shared/hooks/pre-receive.d/10_jira_check.shPermissions: Script is owned by bitbucket user and marked executable (chmod +x).
Restart performed using bundled scripts (stop-bitbucket.sh / start-bitbucket.sh).
Test script with simple echo + exit 1 does not trigger; pushes succeed silently.
No relevant hook execution logs found in atlassian-bitbucket.log.
Impact: We are unable to enforce commit message validation (JIRA ID checks) as intended.