I'm trying to implement a rule in BitBucket that will prevent people from Merging their change unless the associated JIRA ticket is in a particular status.
Background: our workflow looks something like Open --> Resolved --> Validated --> Closed
So I want to make sure that the reviewers approve (automatic with BB) but also that the ticket is Validated before they are able to merge in their code.
I found this post that is *kinda* the same: https://community.atlassian.com/t5/Bitbucket-questions/Extended-Merge-Checks-in-Bitbucket/qaq-p/931983
but requires a plugin. Is there any native way to do this, given that it's full Atlassian stack? Do I need a webhook?
I don't think there's any way to do this out-of-the-box with either Bitbucket Server or Bitbucket Cloud. (Are you on Bitbucket Cloud or Bitbucket Server?)
If you're on Bitbucket Server one of the things our free plugin (Control Freak) does is exactly this:
Created This GitHub Action to allow labels to stop github merges. Please give it a run and let me know if anything is not as it seems.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Julius Davies _bit-booster_com_ you mentioned its free, but bitbucket was showing me i had only 1-month trial and then it expires/will-be-charged. Can you confirm please
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.