Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Run pipeline on merge Edited

Deleted user Feb 02, 2018

Hi I'm currently having some trouble setting up a pipeline when I'm merging a feature branche in my develop branch and generating a Changelog.

Current situation

  • Pipeline is being triggerd on every push to develop.

Wished situation

  1. Trigger pipeline only when I merge a feature branch to develop.
  2. Generate changelog
  3. Push generated changelog to develop
  4. Don't run pipeline

Right now my pipeline is being stuck in a loop since I'm pushing my generate changelog to develop after the merge.


Current bitbucket-pipelines.yml

- step:
- node
script: # Modify the commands below to build your repository
- git config ""
- git config "my_name"
- npm install
- npm run release
- git push --follow-tags origin develop

 I hope you guys can help me out!

5 answers

1 vote
SebC Atlassian Team Feb 06, 2018

Hey @[deleted], 

There's a feature request open at that I would love to get your feedback on.

We use bitbucket site/master issues to track customer requests and feedback on improvements we can make to Pipelines.



any update on this ?

This feature is yet to be implemented by atlassian dev team. I have added reasons why this feature would be ideal in two (of many more) scenarios to the aforementioned feature request:

For future reference, you can disable triggering the pipeline by committing with "[skip ci]" in the commit message - see FAQ about this.
What I would do in the requested scenario is to actually implement CHANGELOG in the PR itself to be able to review it *before* merging to develop happens.

Was there an update on this issue?  

I was asked to execute a task upon a merge into master, and not on a master branch build.

Thank you.

Suggest an answer

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

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

442 views 4 4
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