Forums

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

Atlassian Bitbucket is it possible to create a pipeline that should trigger after ap

Sneha Ramesh
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!
August 13, 2025

 I want to create a pipeline script that automatically triggers when a pull request is approved, checks for merge conflicts, and if none are found, merges the PR into the main branch.

1 answer

0 votes
Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 13, 2025

Hi @Sneha Ramesh ,

There is no approved trigger so you would need a custom app/webhook to check receive the event and trigger the pipeline using the trigger pipeline API. You could use the API to merge the PR too. Depending on your requirements, you might also rely on the Allow automatic merge when builds pass, option.

Alternatively, we provide an Bitbucket app that can help implement these types of workflow. You can use our smart pipelines which can let you trigger on different conditions or/and the smart auto merge, feature. There are different possibilities to achieve what you want with Flowie, so you might want to reach out to our support so we help you tailor your config to your needs.

 

Sneha Ramesh
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!
August 19, 2025

Hi @Saxea _Flowie_ ,

Thank you. Could you please brief me on the steps for this flow? Also, is there any reference material I can go through?

Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 19, 2025

Hi @Sneha Ramesh

If you want to implement it yourself, here is a good starting point. And if you need help you can post on the developer community.

If you want to use Flowie as a pre built solution, you can follow the steps on Getting started and email support@flowie.app if you need assistance setting up your flow.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events