When you select a project in JIRA, there are options a a navigation menu at the left. In that menu, there is “Summary”, “Issues” and “Reports”. I added an item there that looks like the following.
<web-item key="options_page" i18n-name-key="options_page" section="jira.project.sidebar.plugins.navigation" weight="300">
<label key="options_page_title"/>
<link>/projects/$pathEncodedProjectKey?selectedItem=com.company.something:options_page</link>
<param name="iconClass" value="aui-icon-large icon-sidebar-options"/>
</web-item>
This renders a simple vm page, but I would like to have a webwork type page, like I am using in some places of my project.
<webwork1 key="ObjectView" name="Object View" class="java.lang.Object">
<description>Objects</description>
<actions>
<action name="${atlassian.plugin.key}.controllers.ObjectsController" alias="Objects">
<view name="manage">vm/objects/ManageObjects.vm</view>
<view name="create">vm/objects/CreateObjects.vm</view>
<command name="createCommande" alias="Create"></command>
<command name="ManageCommand" alias="Manage"></command>
</action>
</actions>
</webwork1>
So I would modify my link in the web-item to something like “/secure/Objects!Manage.jspa?project=$pathEncodedProjectKey”
I tried that today, but I see several problems with that, I am losing the project menu (on the left). Is there a way to include the project key directly in the path instead of passing it as a parameter? is there a way to keep the logic (and page decoration) of the first web-panel (project menu to the left and my item in the menu selected)?
