Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

integration to jira and bitbucket data centre

NamrataDoiphode
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 12, 2026

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:

    Code
    plugin.hook-scripts.enabled=true

    (the single‑script property has been commented out)

  • Hook script path:

    Code
    /app/bitbucket/atlassian/application-data/shared/hooks/pre-receive.d/10_jira_check.sh
  • Permissions: 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.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events