I am using Bitbucket a lot more than usual, and keep finding interesting bits and pieces.
For my own reference, here is a list of the commands to change the issue state while pushing to Bitbucket.
|resolve an issue||- close - closed - closes - closing - fix - fixed - fixes - resolve - resolves - resolved - resolving||`close #845`
|reopen an issue||- reopen - reopens - reopening||`reopen #746`
|mark an issue on hold||- hold - holds - holding||`holds #123`|
|mark an issue wontfix||- wontfix||`wontfix #12`|
|mark an issue invalid||- invalidate - invalidates - invalidated - invalidating||`invalidates #45`|
|link to a changeset for the issue||- addresses - re - references - ref - refs - see||`re bug #55`
You can check the details in Bitbucket.