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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 6 hours ago in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

20 views 0 3
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