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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • 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

Disable Merge option for Pull Requests from UI

Hi,

Is it possible to restrict the users to merge their hotfix /feature / * branches to Master & develop only via command line and not using UI?

Thanks,

Sowmya

2 answers

0 votes

Hi Sowmya,

No, this isn't possible -- usually teams want to require that changes must be merged through the UI, not the other way around! :)

Can I ask: if Bitbucket had this feature, how would it improve your workflow?

Alastair

Hi @Alastair Wilkes I believe I might have use case.

My team tends to follow git-flow when working, however we recently automated freezing dev code and releasing and we automated it using custom pipelines jobs.

Hence we freeze code from dev to release branch, and after we get greenlit, we release the code with another custom pipeline job:

  1. this job merges frozen code to master
  2. bumps any code version reference
  3. generates changelog
  4. tags and commits changes
  5. merges the changes back to dev
  6. and pushes it all back to origin

And since I wasn't able to find a way for bitbucket-pipelines to be the only one that could merge code to specific branch, it would really be neat to either disable the merge button, or even replace it with button that'll trigger specific pipelines job.

Suggest an answer

Log in or Sign up to answer
TAGS
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...

441 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