How can I add a button to the application header bar

I'm  need  add a button (when click on button open some url)  to the application header bar near custom button "Create issue". Please help

3 answers

If you want this menu item looks like button("Create" button as example)

Create plugin as described in https://developer.atlassian.com/jiradev/jira-platform/other/tutorial-adding-menu-items-to-jira and add to

atlassian-plugin.xml

<web-panel key="test-menu" location="com.atlassian.jira.plugin.headernav.left.context" weight="35">
        <label>test</label>
        <resource type="velocity" name="view" location="test-menu.vm"/>
    </web-panel>

create test-menu.vm file in /resource folder with a content

#disable_html_escaping()
<li id="test-menu">
    <a class="aui-button aui-button-primary aui-style" href="http://google.com">Test</a>
</li>

thankyou, Dima

thankyou, Nic

How I can change number of button on the application header bar ?

How many buttons do you have? Do you want to add or remove buttons?

I have 6 buttons, and wont add more

Edit the properties file as detailed at https://confluence.atlassian.com/display/JIRAKB/How+to+edit+the+jira-config.properties+file and https://confluence.atlassian.com/display/JIRA/Advanced+JIRA+Configuration - you need to look for the "opsbar" properties in the jpm file to copy into jira-config.properties

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,026 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot