at GitHub I'm able to close / resolve an issue using a comment like
#7" on a commit.
Pushing the commit to GitHub, issue #7 is automatically set to resolved. The commit's comment is appended to issue #7; together with a link to the commit.
Can this feature be added to BitBucket? Or am I just not finding the documentation on it?