If you want to read Jira issue details, do it properly. Read the UI, use REST or install add-ons that understand the data.
If you insist on doing it in the worst possible way you can, then read jiraissue and start adding the multilayered and repeated joins you will need.
It looks like you're new here. Sign in or register to get started.