Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Add button to trigger a webhook

LaryPeters July 24, 2018

I want to add a button on the view issue screen that will trigger a webhook when the user clicks the button. I want to add the button in the operations bar where the buttons Edit, Comment, Assign, More currently are. 

I created a script fragment using Scriptrunner to do this. However, the button does not show up when I place it in the opsbar-operations location.

Is opsbar-operations the correct location for those buttons? 

Does the "ops.bar.group.size.opsbar-operations" property have to be set to add additional buttons to the opsbar-operations section? Currently, that property is not in our config or jpm.xml file.

1 answer

1 accepted

0 votes
Answer accepted
LaryPeters July 25, 2018

I discovered that the ops.bar.group.size.opsbar-operations" property had to be set to make the button show on the operations bar instead of in the "More" drop down.

Suggest an answer

Log in or Sign up to answer