Hallo,
I want to build a plugin that is similar to the web-item "Link" under the "More Action" Tab in the Issueview.

How the JIRA Link plugin looks like (LinkJiraIssue!default.jspa):

My plugin should automatically choose "relates to". (The user shoudn't be allowed to change it)
The user should be only allowed to choose a issue from a specific issuetype. (e.g.: Action)
The comment field should stay how it is.
I already added the Button. Right now it only opens the default LinkJiraIssue.jspa screen.
Is there a way to get the JIRA LinkJiraIssue!default.jspa, so I can modify it? Or if not are there some .jspa examples for JIRA?
And where do I place the .jspa files? Would it be enough to place them somewhere in the plugin folder?