Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

create button in top application bar?

RameshLakshman August 16, 2019

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,?

1 answer

1 accepted

0 votes
Answer accepted
DPKJ
Community Champion
August 16, 2019

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>
RameshLakshman August 16, 2019

Thanks @DPKJ 

Susheela_Kushwaha
Contributor
August 31, 2023

Does this apply to Jira Cloud?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events