I am using a premium Bitbucket Cloud membership. I have set up control freak checks to merge into master. For e.g. one check is to validate the commit message starts with jira reference. In the branch restriction for master I have checked the option "No unresolved pull request tasks" and also "Prevent a merge with unresolved merge checks". Now I made a commit with a test message without any jira reference. I see the tasks opened for each checks. But the bitbucket immediately resolves all the tasks without any checks. None of the conditions are met but the tasks are still resolved. Can someone please help why this might be happening?
You may also want to test the Better Commit Policy Connector app to implement this check.
It can test if the commit message starts with a work item reference and even if the work item is valid and matches a configurable JQL query. See the config guide.
You can make the check mandatory, so it will disallow merging a PR if any commit message in that misses the work item link. It will integrate to the pull request screen like this:
(Discl. this app is developed and supported by our team.)
Hi @Purple Cyber ,
I'd suggest reaching out to the vendor support channel directly. In case of control freak they list the contact information here.
Alternatively, you might also want to check out a Bitbucket cloud app we provide, that can validate commits which you might find useful too.
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.