|
A webwork plugin module defines a URL-addressible 'action', allowing JIRA's user-visible functionality to be extended or partially overridden. Here is a sample webwork plugin module: <webwork1 key="HelloWorld_key" name="My Hello World action" class="java.lang.Object"> <actions> <action name="HelloWorldAction" alias="Hello"> <view name="success">/templates/helloworld.vm</view> </action> </actions> </webwork1> Where:
Webwork plugins effectively extend the actions defined in JIRA's main WEB-INF/classes/actions.xml file. You should look there for examples on what is possible. ExamplesBy specifying as 'alias' the name of an existing action (in actions.xml), you can override default JIRA behaviour. For example, to override the Administrators.jspa action (the 'Contact Administrators' link at the bottom of every page): <webwork1 key="ASFAdministrators" name="Lists project leads on administrators page" class="java.lang.Object"> <actions> <action name="ASFAdministrators" alias="Administrators"> <view name="success">/templates/asf_administrators.vm</view> </action> </actions> </webwork1> See also the [Copyright information for attachments] page for another example of overriding a default JIRA action. |
