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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,720 views 17 21
Read article

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