I'd like to have a link/button on a page that creates a new issue in Jira that is linked to the page it was created from. I'd also like to be able to list such linked issued on a page. Showing Jira issues on a page with JQL is simple, but I don't know how to make the issue-page linkage in the first place. I also want it to be dynamic, so that I could put that link in a template so each new page created from the template would be able to create Jira issues linked to back it.
The context of this question is to be able to raise discussions/suggestions about pages in Jira with all the Jira workflow support instead of simple unstructured comments in Confluence.