TLDR;
git log --pretty=oneline master..your-branch | grep -e '[A-Z]\+-[0-9]\+' -o | sort -u
Many of my blog readers have discovered my article on how to add the Jira Issue Number to Git Commit Message and I continue to work with projects where we make use of the Atlassian toolchain, most prominently Jira for issue tracking and Confluence as a Wiki.