Can I use markup in commit messages?

You can also refer to Bitbucket issues, requests, and users directly from a comment, issue, or commit message.  When you create a reference, saving the comment (or issue) causes Bitbucket to automatically link to that object.  For items that relate to a repo, such as issues, pull requests, and commits, markdown references to Bitbucket objects always refer to the current repository.  You can also mention an individual or team account, or even insert an emoji.
Linking to objects for comments and issues within a repository
Object Syntax Example
pull request
pull request #PR_NUMBER

issue #3


7-40 chars

Linking to non-repository objects
Object Syntax Example
user (account)


David Coffey created a list of available emoji


Finally, if you have created a link to Jira Software or another service such as Jenkins, you can enter references for those "linkers" too.  For information on creating and using linkers, see Link to a web service.

Last modified on May 4, 2017

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.