We work we bitbucket for a git version control system.
When doing a code review, one can create a task. Is it possible to close a task from a commit message? Or is it something that bitbucket doesn't provide?
I used to work with github, and there it was possible to reference and close issues via commit messages.
To decline a pull request, select the More options ( ) button and select Decline in the dropdown menu. After the pull request is declined, the comments and tasks are preserved. To see a list of declined pull requests, click Pull Requests in the sidebar of your repository.
On the pull request, click Files changed. Hover over the line of code where you'd like to add a comment, and click the blue comment icon. To add a comment on multiple lines, click and drag to select the range of lines, then click the blue comment icon.
Always reply to every comment, regardless of whether it's a question or not. Reply with something like: “Will do,” “Done,” or “Good catch”. A simple emoji like thumb-up 👍 or smiley 😀 is a simple acknowledgment gesture. If you disagree, explain why.
According to Atleassian's documentation, you can use a keyword and the task id to close it directly.
Statements that can be used within the commit message are:
close #845
fix bug #89
fixes issue #746
resolving #3117
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With