You would need to fetch all the issues in the UI fragment and then display what data you would want to be shown to the end user in HTML.
I would focus on the code logic to return the list of similar issues which can be done via JQL in code, then worry about the formatting later.
It looks like you're new here. Sign in or register to get started.