Get issues with event count per release with API

Hi, I’m currently creating a new release per push of our main application for QA purposes. During the automated QA regression testing process, JS errors might be triggered for that particular release.

It would be great if I could query the amount of issues and their events for that particular release.

The API gives me the option on seeing events per issue, but I’d like to be able to see issues per release and preferably their event counts.

I read that there’s confusion about release and version so maybe I’m doing something wrong, or my use-case isn’t properly supported yet. Thanks!