Hi, I am working on building a jira plugin. I have created a web-item on the issue page, and I want to call a java function located in my plugin package when I click on the web-item. How can I accomplish this?
I have seen this post on call java function on add comment button.
https://community.atlassian.com/t5/Answers-Developer-Questions/Can-I-call-java-function-on-add-comment-button/qaq-p/474963
However, I am not sure where to write the event listener.
Hello @Michael_Tan
I can think of two ways to do this.
If your web-item displays content in a glance, you can set the trigger on render (when the glance is open). If it renders a button or something a like, you can trigger directly from you button code
It looks like you're new here. Sign in or register to get started.