Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automatic Build is not triggering on open Pull request


Automatic Build is not triggering on open Pull request - once i create a branch, commit,  push and create Pull request (PR). The automatic build is NOT triggering. due to which i am not sure if build is success or not and i cant merge to master. 

What do we need to do ? (it use to work but suddenly stopped working past 2 days)

1 answer

0 votes
Syahrul Atlassian Team Dec 01, 2021

Hi @Dharmendra

Welcome to the community!

Just to confirm the behavior did you check and confirm if your YAML has the "pull-request" triggers option? You need this pipeline trigger to trigger the build so it started when you create a pull request and that the branches glob patterns is configured correctly as the following example:

    '**': #this runs as default for any branch not elsewhere defined
      - step:
            - ...
    feature/*: #any branch with a feature prefix
      - step:
            - ...
branches:    #these will run on every push of the branch
      - step:
            - ...

If all is configured correctly, then navigate to repositories settings >  Webhook > click view request for pipelines and locate the one that has pull request created/updated triggers and enable the history. Then reproduce the issue and view the history logs to see if the triggers actually trigger or not. If there are no logs when you create a new pull request then most likely there's an issue with the Webhook and may need to investigate the issue further.

I hope this helps.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

228 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you