sthibault bookmarked a link:
From JIRA, you can use the JIRA DVCS Connector plugin to connect bitbucket or GitHub repositories to JIRA projects. JIRA OnDemand includes the JIRA DVCS Connector plugin. For behind the firewall users, this is a system plugin that you can install. You can use the connector to connect public or private repositories. Once linked, the plugin identifies DVCS commit messages that reference a specific JIRA issue key and records the commit in JIRA. The information appears in the issue’s Activity and Commits section. The plugin records the commit message, the list of changed files, and provides links to view the change set.