When you merge pull request, bitbucket by default generate Merge commit message.
User can edit this message in "Merge pull request" dialog.
We are looking for possibility to have another merge commit message by default. Ideally, we want to take Pull request title and put it as merge commit message.
Is it possible to do via bitbucket plugin sdk?
Hi @Evgen Temchenko you can't configure a custom default message of the merge commit. What you can do instead, is to edit the commit message before merging the pull request.
What you can do is to watch and vote on this issue:
When you add yourself to the watchers, you will get a notification when the feature is implemented.
I think you should be able to create a custom merge check. Here is the link to the documentation on how to do it:
The PullRequestMergeHookRequest.getMessage() should return the merge commit message you could validate.
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
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