How can I disable the following feature in bitbucket cloud:
https://confluence.atlassian.com/bitbucket/resolve-issues-automatically-when-users-push-code-221451126.html
Hi Fai, if you don't want to trigger that feature, you just don't include the command in your commit message. In the example we provide in the article, you'd need to remove the 'resolve ticket #5' part:
hg commit -m "fixes #6, resolve ticket #5 and see ticket #9 and ticket #5 in the tracker"
You can find the whole list of commands at the bottom of that article.
Hope that helps!
Ana
Thanks for your kind reply.
I, of course, realise I could avoid the feature by avoiding those "keywords" in the comments. But sometimes, I just want to indicate this is a partial fix, the keyword "fix" resolves the issue, which is unwanted.
Another example is that, when I somehow collaborate the work with another teammate, and the merge was triggered when I push the code without pulling the other's change. The merge commit message includes all the messages from the related issues, and the keywords there triggered the state change again.
Those are the use cases that annoying me and give me a thought to disable this feature.
So, what I am looking for is to proactively disable this feature, not just avoiding this feature.
Hope you understand.
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.