From the Development section in JIRA, I can create a Stash branch fine, and commit messages with the JIRA issue show up as well, but my question is: how does JIRA link to Stash branches? Is it merely from the name of the branch? If so, why does a branch not show up if it was not created directly from JIRA even if the branch name contains the JIRA issue?