It seems command is ignored with in parenthesis.
http://confluence.atlassian.com/display/BITBUCKET/Setting+Up+the+Bitbucket+Issues+Service#comment-240190183
For me, a "(refs #75)" in commit 27c1a4b376d5 failed to post a comment
to issue 75.
Lenard Lindstrom
On 23/08/11 05:53 AM, René Dudfield wrote:
I just noticed you can write these commands in the commit messages,
and they link up with the issue tracker.
"... fixes #4711 ..." # marks issue as resolved
"... reopening bug 4711..." # marks issue as open
"... refs ticket 4711..." # links changeset to issue as comment
"... refs bug #4711 and #4712..." # links to multiple issues
Makes things a little quicker when bug fixing.