How to Add Button to Operations Bar using an Add-On

Does anybody know if it's possible to add a button to the Operations bar by developing an Add-On?

operations-bar.JPG

It looks like the  jira-config.properties file will let you slightly modify which buttons you see, but can you modify that using an add-on?

Furthermore, the button I would be adding would reference a custom field that we created for our project. Is this possible?

Many thanks,

-P

1 answer

This widget could not be displayed.
Alexey Matveev Community Champion Nov 16, 2017

Hello,

You can add a button to the toolbar by developing a plugin. There is a tutorial for Jira Server version

https://developer.atlassian.com/jiradev/jira-platform/guides/other/tutorial-adding-menu-items-to-jira

Though I do not understand what you mean by referencing a custom field.

Hello!

 

Thanks for looking into this. Though I am trying to add a button to the Operations bar when viewing an issue in our project, as opposed to the toolbar. (Next to the Start Progress, Assign, etc. buttons)

The image in the original request is where I'm looking to add it.

In regards to the custom field reference, The intended button is going to trigger a custom field that we have created (A _Snooze Until_ field)

I see. You do not want to develop a plugin. You want to use an existing plugin which would let you add a button. You can use Adaptivist Scriptrunner plugin. You can read more how to add it here

https://scriptrunner.adaptavist.com/4.3.9/jira/fragments/WebItem.html#_simple_link_example

The place where the button should appear called the section. You can define the name of the section by using Fragment locator. Read more here about Fragment locator

https://scriptrunner.adaptavist.com/4.3.3/jira/CustomisingUI.html#_usage

You will also find there information how to make dialogs and so on.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday 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...

266 views 1 3
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