...!default.jspa which files are used

I'm trying to build a plugin under the "More Action"-tab in an issueview. This plugin has to create a new issue and does some other stuff like relate issues. To be able to add my own code I need to know the following:

What exactly happens after I clicked on a button with e.g. this link:

http://localhost:2990/jira/secure/CreateIssue!default.jspa (optional: http://localhost:2990/jira/secure/CreateIssue!default.jspa?id=${issueId})

Which files are used? Maybe these?:

PLUGIN-FOLDER\target\jira\webapp\WEB-INF\classes\com\atlassian\jira\jelly\tag\issue\CreateIssue.class

PLUGIN-FOLDER\target\jira\webapp\WEB-INF\classes\com\atlassian\jira\jelly\tag\issue\enterprise\CreateIssue.class

PLUGIN-FOLDER\target\jira\webapp\secure\views\createissue-start.jsp

PLUGIN-FOLDER\target\jira\webapp\secure\views\createdetails.jsp

...\default.jsp

...\default_jsp.java

What do I need to do to make this link e.g.: http://localhost:2990/jira/secure/CreateAction!default.jspa do the same like http://localhost:2990/jira/secure/CreateIssue!default.jspa, so I have a starting point ?

The code snippet from atlassian-plugin.xml:

<web-item name="Relate to Action" i18n-name-key="create-action.name" key="create-action" section="operations-operations" weight="19">
    <description key="create-action.description">The Create Action Plugin</description>
    <label key="create-action.label"></label>
    <tooltip >Create an action and relate it to a risk.</tooltip>
    <link linkId="create-action-link">/secure/views/CreateAction!default.jspa?id=${issueId}</link>
  </web-item>

I'm trying to run it on a testserver with test license.

I have also a commercial version and the jira source code, so just post which files I need.

1 answer

A Button with the following link:

<link linkId="create-action-link">/secure/views/CreateAction!default.jspa?id=${issueId}</link>

gives me the following exception:

I hope this could lead to a solution.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,118 views 13 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot