I would like to add a button which looks like the Create button in the top navigation bar.How do you actually add a Create-like button in the top navigation bar,?
Here is simple technique to do it in your plugin.
In `atlassian-plugin.xml` file add this `web-panel`
<web-panel key="test-button-menu" location="com.atlassian.jira.plugin.headernav.left.context"
weight="40">
<label>Test</label>
<resource type="velocity" name="view" location="test-button.vm"/>
</web-panel>
And add a simple file `test-button.vm` in your plugins resources directory and put code like this in that
<li id="test-button">
<a class="aui-button aui-button-primary aui-style" href="/page">Test Button</a>
</li>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.