Hello Everyone,
I need to modify plugin in which one menu ,which is present in project settings needs to be show only when key value does not match.I wanted to hide Component Testers menu, if projectKey=demo.Kindly guide me, how to achieve this by modifying atlassian-plugin.xml file .
component.tester.nav.label=Component Testers
Please find content of atlassian plugin.xml file below-
Please find web item and webwork details below-
<web-item key="component_tester_project_config_web_item" name="Project Config Item" section="atl.jira.proj.config/projectgroup3" weight="50">
<label key="component.tester.nav.label"/>
<link linkId="component_tester_project_config_link">/secure/ComponentTesterConfig.jspa?projectKey=$projectKeyEncoded</link>
<condition class="com.atlassian.jira.plugin.webfragment.conditions.CanAdministerProjectCondition"/>
</web-item>
Webwork:-
<webwork1 key="project-config-page" class="java.lang.Object">
<actions>
<action name="org.jboss.labs.jira.plugin.cdw.gui.ComponentTesterAction" alias="ComponentTesterConfig">
<view name="success">/templates/component-tester-admin.vm</view>
<view name="permissionviolation">/templates/component-tester-admin.vm</view>
</action>
</actions>
</webwork1>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.