How to make 'admin_plugins_menu' Plugin point to 'Plugins' navigation bar item.

Akira Tsuchiya
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 22, 2012

1. Create an 'admin_plugins_menu' Plugin Module as below.


<web-section key="new_plugin_section" location="admin_plugins_menu">
<label key="New Plugin Section"/>
</web-section>

<web-section key="new_plugin_menu_item" location="new_plugin_section">
<label key="New Plugin Menu Item"/>
</web-section>

<web-item key="new_tabbed_item" section="new_plugin_section/new_plugin_menu_item" weight="1">
<label key="New Plugin 1"/>
<link linkId="SVNSuite_link">/secure/admin/newPlugin.jspa</link>
</web-item>

<webwork1 key="newPlugin" name="New Plugin" class="java.lang.Object">
<actions>
<action name="com.luminouslead.plugin.jira.adminpluginsmenu.NewPluginActionSupport" alias="newPlugin" roles-required="admin">
<view name="success">/templates/newPlugin.vm</view>
</action>
</actions>
</webwork1>

2. Click the 'New Plugin Menu Item' as below.

3. The result page points to 'Administration', not to 'Plugins'.

I want it to point to 'Plugins'.

Whata should I do for that?

1 answer

1 accepted

2 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 22, 2012

Add this in the <head> of the configuration page and see if it helps.

&lt;meta content="admin_plugins_menu/new_plugin_section" name="admin.active.section"&gt;

Akira Tsuchiya
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 22, 2012

Thank you very much.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events