I've got a powershell step to do this in teamcity. It queries jira api to get all the fixes/features to version equivalent number that teamcity build and then queries jira api again to get the issue details in order to build the release notes in markdown, which I then pass to Octopack to embed nuget package. After this, if I check octopus, I can get all the ticket numbers and summaries, grouped by issue type.
The only thing I'd suggest to do is make this a part of your build process rather than Deployment process.