How can I link branches with issues in BitBucket?

I am using a BitBucket private repo for hosted source-control. I would like to use the issue tracker to manage and assign issues amoungst the team.

With JIRA, the names of branches and issues are linked.

For example, ISSUE-123 would automatically recognise branch bugfix/ISSUE-123 as related, and display it in GUI.

Does the built-in issue tracker for BitBucket support this functionality? If so, how should I name my branches so that they are linked?

  • Auto hyperlink Jira Issues in Git commits in SourceTree
  • Representing “issues” in a distributed VCS
  • How to completely remove an issue from GitHub?
  • Git Integration to The Bug Genie?
  • How do you attach a new pull request to an existing issue on github?
  • Reference to old commit in Github's issue tracker persits after rewriting history
  • TortoiseGit Issue Tracker Integration for GitHub
  • Force every commit on github project to be issue-only
  • 2 Solutions collect form web for “How can I link branches with issues in BitBucket?”

    There is a way to link them, not exactly as it works in Jira but it is useful.

    You can reference issues, pull requests, users, changesets in commits, comments or descriptions using the following syntax:

    issue #number  ->  issue #88
    
    pull request #number  ->  pull request #1541
    
    @accountname or @emailaddress  ->  @tutorials
    
    HEX_CHARS  ->  9cc27f2
    

    See here for more details.

    Response from BitBucket:

    Unfortunately, the feature to link branches with issues to branches is
    not available on the Bitbucket’s built in issue tracker.

    You can go ahead and file a feature request for this on our public
    tracker though: https://bitbucket.org/site/master/issues

    Let us know if you face further issues.

    Git Baby is a git and github fan, let's start git clone.