Assume that Bitbucket is connected to JiraA and JiraB instances. Bith JiraA and JiraB have an issue key, TEST-1. On the repository commits page in Bitbucket, when the issue key link is clicked, it pop-up a panel showing issues from both JiraA and JiraB. However, issue details are only visible for the topmost one. Clicking on second link in the popup does not switch context (nor does it write any message to Bitbucket logs).
As described in the Summary above.
Clicking on different links in the left sidebar shows the corresponding issue detail on the right.
Only the first issue details are visible no matter which link is clicked on the left.
No known workaround available at this time.