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

This widget could not be displayed.

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

This widget could not be displayed.

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
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

79 views 0 1
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