It's useful to have tickets with the bug's history in the same system and distributed together with the code it's referring to. github, bitbucket, google code are isolated silos taking away the 'distributed' in d-vcs. For sure integrating some issue tracker in a meaningful, easy to use and non-repository-bloating fashion ain't a piece of cake.
Re: vcs with integrated issue tracker