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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.