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
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events